Data structure to translate PMT physical to readout address.  
 More...
#include <JModuleAddressMap.hh>
 | 
| template<class JHead_t , class JTail_t >  | 
| static bool  | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type) | 
|   | Less than method for composite data types.  More...
  | 
|   | 
| template<class JHead_t >  | 
| static bool  | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type) | 
|   | Less than method for composite data types.  More...
  | 
|   | 
Data structure to translate PMT physical to readout address. 
Definition at line 31 of file JModuleAddressMap.hh.
 
◆ JPMTAddressTranslator()
Constructor. 
- Parameters
 - 
  
    | readout | readout address  | 
    | address | physical address  | 
  
   
Definition at line 42 of file JModuleAddressMap.hh.
JPMTPhysicalAddress()
Default constructor.
 
JPMTReadoutAddress()
Default constructor.
 
 
 
 
◆ toString() [1/2]
  
  
      
        
          | std::string JDETECTOR::JPMTAddressTranslator::toString  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Convert PMT address translator to string. 
- Returns
 - string 
 
Definition at line 54 of file JModuleAddressMap.hh.
std::string toString() const
Convert PMT address translator to string.
 
 
 
 
◆ toString() [2/2]
  
  
      
        
          | std::string JDETECTOR::JPMTAddressTranslator::toString  | 
          ( | 
          const std::string &  | 
          fmt,  | 
         
        
           | 
           | 
          const std::string  | 
          target = "%"  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Convert PMT address translator to string. 
The targets target in the format string fmt are consecutively replaced by tdc, ring and position.
- Parameters
 - 
  
  
 
- Returns
 - string 
 
Definition at line 70 of file JModuleAddressMap.hh.
   74       buffer.replace(target, 
tdc,      1);
 
   75       buffer.replace(target, 
ring,     1);
 
char ring
ring number ['A','F']
 
int position
position within ring [1,6]
 
Wrapper class around STL string class.
 
 
 
 
◆ less() [1/2]
Less than method. 
- Parameters
 - 
  
    | address | PMT readout address  | 
  
   
- Returns
 - true if this address before given address; else false 
 
Definition at line 58 of file JPMTReadoutAddress.hh.
   60       return this->
tdc < address.
tdc;
 
 
 
 
◆ getTDC()
  
  
      
        
          | int JDETECTOR::JPMTReadoutAddress::getTDC  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ less() [2/2]
Less than method. 
- Parameters
 - 
  
    | address | PMT physical address  | 
  
   
- Returns
 - true if this address before given address; else false 
 
Definition at line 63 of file JPMTPhysicalAddress.hh.
 
 
◆ lt() [1/2]
template<class JClass_t , class JTypelist_t > 
template<class JHead_t , class JTail_t > 
  
  | 
      
   | 
  
inlinestaticprotectedinherited   | 
  
 
Less than method for composite data types. 
- Parameters
 - 
  
    | first | first object  | 
    | second | second object  | 
    | type | type  | 
  
   
- Returns
 - true if first object is less than second object; else false 
 
Definition at line 43 of file JMultiComparable.hh.
   47       if      (
static_cast<const JHead_t&
>(first)  <
 
   48                static_cast<const JHead_t&
>(second))
 
   50       else if (
static_cast<const JHead_t&
>(second)  <
 
   51                static_cast<const JHead_t&
>(first))
 
static bool lt(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type)
Less than method for composite data types.
 
Auxiliary class for a type holder.
 
 
 
 
◆ lt() [2/2]
template<class JClass_t , class JTypelist_t > 
template<class JHead_t > 
  
  | 
      
   | 
  
inlinestaticprotectedinherited   | 
  
 
Less than method for composite data types. 
- Parameters
 - 
  
    | first | first object  | 
    | second | second object  | 
    | type | type  | 
  
   
- Returns
 - true if first object is less than second object; else false 
 
Definition at line 67 of file JMultiComparable.hh.
   71       return (
static_cast<const JHead_t&
>(first) <
 
   72               static_cast<const JHead_t&
>(second));
 
 
 
 
◆ tdc
  
  
      
        
          | int JDETECTOR::JPMTReadoutAddress::tdc | 
         
       
   | 
  
inherited   | 
  
 
 
◆ ring
  
  
      
        
          | char JDETECTOR::JPMTPhysicalAddress::ring | 
         
       
   | 
  
inherited   | 
  
 
 
◆ position
  
  
      
        
          | int JDETECTOR::JPMTPhysicalAddress::position | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this struct was generated from the following file: