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.  
  | 
|   | 
| 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.  
  | 
|   | 
PMT identifier. 
Definition at line 36 of file JPMTIdentifier.hh.
 
◆ JPMTIdentifier() [1/2]
  
  
      
        
          | JDETECTOR::JPMTIdentifier::JPMTIdentifier  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 45 of file JPMTIdentifier.hh.
   45                     :
   48    {}
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 57 of file JPMTIdentifier.hh.
 
 
◆ getPMTIdentifier()
  
  
      
        
          | const JPMTIdentifier & JDETECTOR::JPMTIdentifier::getPMTIdentifier  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get PMT identifier. 
- Returns
 - PMT identifier 
 
Definition at line 69 of file JPMTIdentifier.hh.
   70    {
   72    }
JPMTIdentifier()
Default constructor.
 
 
 
 
◆ 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 91 of file JPMTIdentifier.hh.
   92    { 
   94    }
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 113 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.
   85    { 
   86      return this->
getID() < 
object.getID();
 
   87    }
 
 
 
◆ 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.
   97    { 
   98      return this->
getID() < id;
 
   99    }
 
 
 
◆ 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.
  109    { 
  110      return this->
getID() > id;
 
  111    }
 
 
 
◆ 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.
   59    {
   60      return this->
tdc < address.tdc;
 
   61    }
 
 
 
◆ 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.
   46    {
   47      if      (static_cast<const JHead_t&>(first)  <
   48               static_cast<const JHead_t&>(second))
   49        return true;
   50      else if (static_cast<const JHead_t&>(second)  <
   51               static_cast<const JHead_t&>(first))
   52        return false;
   53      else
   54        return lt(first, second, JType<JTail_t>());
 
   55    }
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.
 
 
 
 
◆ 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.
   70    {
   71      return (static_cast<const JHead_t&>(first) <
   72              static_cast<const JHead_t&>(second));
   73    }
 
 
 
◆ 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 126 of file JPMTIdentifier.hh.
  127    {
  130 
  131      return in;
  132    }
 
 
 
◆ 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 142 of file JPMTIdentifier.hh.
  143    {
  145      
  146      out << setw(10) << static_cast<const JModuleIdentifier&> (object) << ' ';
  147      out << setw(2)  << static_cast<const JPMTReadoutAddress&>(object);
  148 
  149      return out;
  150    }
 
 
 
◆ operator>> [2/2]
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | reader  | 
    | object | PMT identifier  | 
  
   
- Returns
 - reader 
 
Definition at line 160 of file JPMTIdentifier.hh.
  161    {
  164 
  165      return in;
  166    }
 
 
 
◆ operator<< [2/2]
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | writer  | 
    | object | PMT identifier  | 
  
   
- Returns
 - writer 
 
Definition at line 176 of file JPMTIdentifier.hh.
  177    {
  178      out << static_cast<const JModuleIdentifier&> (object);
  179      out << static_cast<const JPMTReadoutAddress&>(object);
  180 
  181      return out;
  182    }
 
 
 
◆ __id
  
  
      
        
          | int JLANG::JObjectID::__id | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ tdc
  
  
      
        
          | int JDETECTOR::JPMTReadoutAddress::tdc | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this class was generated from the following file: