PMT identifier.  
 More...
#include <JPMTIdentifier.hh>
PMT identifier. 
Definition at line 31 of file JPMTIdentifier.hh.
 
  
  
      
        
          | JDETECTOR::JPMTIdentifier::JPMTIdentifier  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 39 of file JPMTIdentifier.hh.
JLANG::JObjectID JModuleIdentifier
 
JPMTReadoutAddress()
Default constructor. 
 
 
 
 
  
  
      
        
          | JDETECTOR::JPMTIdentifier::JPMTIdentifier  | 
          ( | 
          const JModuleIdentifier &  | 
          id,  | 
         
        
           | 
           | 
          const int  | 
          tdc  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | module identifier  | 
    | tdc | TDC  | 
  
   
Definition at line 51 of file JPMTIdentifier.hh.
JLANG::JObjectID JModuleIdentifier
 
JPMTReadoutAddress()
Default constructor. 
 
 
 
 
  
  
      
        
          | int JDETECTOR::JPMTIdentifier::getModuleID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get module identifier. 
- Returns
 - module identifier 
 
Definition at line 63 of file JPMTIdentifier.hh.
int getID() const 
Get identifier. 
 
 
 
 
  
  
      
        
          | int JDETECTOR::JPMTIdentifier::getPMTAddress  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get PMT identifier (= TDC). 
- Returns
 - PMT identifier 
 
Definition at line 74 of file JPMTIdentifier.hh.
 
 
  
  
      
        
          | bool JDETECTOR::JPMTIdentifier::is_valid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Check validity. 
- Returns
 - true if PMT identifier is valid; else false 
 
Definition at line 85 of file JPMTIdentifier.hh.
int getID() const 
Get identifier. 
 
 
 
 
  
  
      
        
          | int JLANG::JObjectID::getID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get identifier. 
- Returns
 - identifier 
 
Definition at line 50 of file JObjectID.hh.
 
 
  
  
      
        
          | int& JLANG::JObjectID::getID  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Get identifier. 
- Returns
 - identifier 
 
Definition at line 61 of file JObjectID.hh.
 
 
  
  
      
        
          | void JLANG::JObjectID::setID  | 
          ( | 
          const int  | 
          id | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Set identifier. 
- Parameters
 - 
  
  
 
Definition at line 72 of file JObjectID.hh.
 
 
  
  
      
        
          | 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();
 
int getID() const 
Get identifier. 
 
 
 
 
  
  
      
        
          | 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;
 
int getID() const 
Get identifier. 
 
 
 
 
  
  
      
        
          | 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;
 
int getID() const 
Get identifier. 
 
 
 
 
  
  
      
        
          | int JDETECTOR::JPMTReadoutAddress::getTDC  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | 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 98 of file JPMTIdentifier.hh.
Auxiliary class for object identification. 
 
Data structure for PMT readout address. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
  
  
      
        
          | 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 114 of file JPMTIdentifier.hh.
  118       out << setw(10) << static_cast<const JModuleIdentifier&> (object) << 
' ';
 
  119       out << setw(2)  << static_cast<const JPMTReadoutAddress&>(object);
 
 
 
 
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | reader  | 
    | object | PMT identifier  | 
  
   
- Returns
 - reader 
 
Definition at line 132 of file JPMTIdentifier.hh.
Auxiliary class for object identification. 
 
Data structure for PMT readout address. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | writer  | 
    | object | PMT identifier  | 
  
   
- Returns
 - writer 
 
Definition at line 148 of file JPMTIdentifier.hh.
  150       out << static_cast<const JModuleIdentifier&> (object);
 
  151       out << static_cast<const JPMTReadoutAddress&>(object);
 
 
 
 
  
  
      
        
          | int JLANG::JObjectID::__id | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | int JDETECTOR::JPMTReadoutAddress::tdc | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this class was generated from the following file: