PMT identifier.  
 More...
#include <JPMTIdentifier.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...
  | 
|   | 
PMT identifier. 
Definition at line 35 of file JPMTIdentifier.hh.
 
◆ JPMTIdentifier() [1/2]
  
  
      
        
          | JDETECTOR::JPMTIdentifier::JPMTIdentifier  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 44 of file JPMTIdentifier.hh.
JPMTReadoutAddress()
Default constructor.
 
JLANG::JObjectID JModuleIdentifier
 
 
 
 
◆ JPMTIdentifier() [2/2]
  
  
      
        
          | JDETECTOR::JPMTIdentifier::JPMTIdentifier  | 
          ( | 
          const JModuleIdentifier &  | 
          id,  | 
         
        
           | 
           | 
          const int  | 
          tdc  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | module identifier  | 
    | tdc | TDC  | 
  
   
Definition at line 56 of file JPMTIdentifier.hh.
 
 
◆ getPMTIdentifier()
  
  
      
        
          | const JPMTIdentifier& JDETECTOR::JPMTIdentifier::getPMTIdentifier  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ setPMTIdentifier()
  
  
      
        
          | void JDETECTOR::JPMTIdentifier::setPMTIdentifier  | 
          ( | 
          const JPMTIdentifier &  | 
          id | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getModuleID()
  
  
      
        
          | int JDETECTOR::JPMTIdentifier::getModuleID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get module identifier. 
- Returns
 - module identifier 
 
Definition at line 90 of file JPMTIdentifier.hh.
int getID() const
Get identifier.
 
 
 
 
◆ getPMTAddress()
  
  
      
        
          | int JDETECTOR::JPMTIdentifier::getPMTAddress  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ is_valid()
  
  
      
        
          | bool JDETECTOR::JPMTIdentifier::is_valid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Check validity. 
- Returns
 - true if PMT identifier is valid; else false 
 
Definition at line 112 of file JPMTIdentifier.hh.
 
 
◆ getID() [1/2]
  
  
      
        
          | int JLANG::JObjectID::getID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get identifier. 
- Returns
 - identifier 
 
Definition at line 50 of file JObjectID.hh.
 
 
◆ getID() [2/2]
  
  
      
        
          | int& JLANG::JObjectID::getID  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Get identifier. 
- Returns
 - identifier 
 
Definition at line 61 of file JObjectID.hh.
 
 
◆ setID()
  
  
      
        
          | void JLANG::JObjectID::setID  | 
          ( | 
          const int  | 
          id | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Set identifier. 
- Parameters
 - 
  
  
 
Definition at line 72 of file JObjectID.hh.
 
 
◆ less() [1/3]
  
  
      
        
          | bool JLANG::JObjectID::less  | 
          ( | 
          const JObjectID &  | 
          object | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Less than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this identifier less than given identifier; else false 
 
Definition at line 84 of file JObjectID.hh.
   86       return this->
getID() < 
object.getID();
 
 
 
 
◆ less() [2/3]
  
  
      
        
          | bool JLANG::JObjectID::less  | 
          ( | 
          const int  | 
          id | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Less than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this identifier less than given identifier; else false 
 
Definition at line 96 of file JObjectID.hh.
   98       return this->
getID() < id;
 
 
 
 
◆ more()
  
  
      
        
          | bool JLANG::JObjectID::more  | 
          ( | 
          const int  | 
          id | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
More than method. 
- Parameters
 - 
  
  
 
- Returns
 - true if this identifier greater than given identifier; else false 
 
Definition at line 108 of file JObjectID.hh.
  110       return this->
getID() > id;
 
 
 
 
◆ less() [3/3]
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   | 
  
 
 
◆ 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));
 
 
 
 
◆ operator>> [1/2]
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JPMTIdentifier &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | PMT identifier  | 
  
   
- Returns
 - input stream 
 
Definition at line 125 of file JPMTIdentifier.hh.
Data structure for PMT readout address.
 
Auxiliary class for object identification.
 
 
 
 
◆ operator<< [1/2]
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JPMTIdentifier &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | PMT identifier  | 
  
   
- Returns
 - output stream 
 
Definition at line 141 of file JPMTIdentifier.hh.
  145       out << setw(10) << static_cast<const JModuleIdentifier&> (
object) << 
' ';
 
  146       out << setw(2)  << static_cast<const JPMTReadoutAddress&>(
object);
 
 
 
 
◆ operator>> [2/2]
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | reader  | 
    | object | PMT identifier  | 
  
   
- Returns
 - reader 
 
Definition at line 159 of file JPMTIdentifier.hh.
 
 
◆ operator<< [2/2]
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | writer  | 
    | object | PMT identifier  | 
  
   
- Returns
 - writer 
 
Definition at line 175 of file JPMTIdentifier.hh.
  177       out << static_cast<const JModuleIdentifier&> (
object);
 
  178       out << static_cast<const JPMTReadoutAddress&>(
object);
 
 
 
 
◆ __id
  
  
      
        
          | int JLANG::JObjectID::__id | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ tdc
  
  
      
        
          | int JDETECTOR::JPMTReadoutAddress::tdc | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this class was generated from the following file: