#include <JPMTIdentifier_t.hh>
Definition at line 21 of file JPMTIdentifier_t.hh.
 
  
  
      
        
          | JTRIGGER::JPMTIdentifier_t::JPMTIdentifier_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | JTRIGGER::JPMTIdentifier_t::JPMTIdentifier_t  | 
          ( | 
          int  | 
          id,  | 
         
        
           | 
           | 
          int  | 
          tdc  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | module identifier  | 
    | tdc | PMT readout channel  | 
  
   
Definition at line 40 of file JPMTIdentifier_t.hh.
 
 
Copy constructor. 
- Parameters
 - 
  
  
 
Definition at line 52 of file JPMTIdentifier_t.hh.
int getModuleID() const 
Get module identifier. 
 
int getPMTAddress() const 
Get PMT identifier. 
 
 
 
 
  
  
      
        
          | virtual JTRIGGER::JPMTIdentifier_t::~JPMTIdentifier_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::getModuleID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::getPMTAddress  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
Compare PMT identifiers. 
The comparison is applied to the module identifer and to the PMT address. If the module identifier or PMT address is -1, the corresponding comparison evaluates to true.
- Parameters
 - 
  
    | first | first PMT identifier  | 
    | second | second PMT identifier  | 
  
   
- Returns
 - true if first and second PMT identifier are equal; else false 
 
Definition at line 98 of file JPMTIdentifier_t.hh.
int getPMTAddress() const 
Get PMT address. 
 
int getModuleID() const 
Get module identifier. 
 
 
 
 
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | id | PMT identifier  | 
  
   
- Returns
 - input stream 
 
Definition at line 119 of file JPMTIdentifier_t.hh.
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 JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
 
 
 
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | id | PMT identifier  | 
  
   
- Returns
 - output stream 
 
Definition at line 135 of file JPMTIdentifier_t.hh.
  137       out << 
id.moduleID << 
' ';
 
  138       out << 
id.pmtAddress;
 
 
 
 
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::moduleID | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::pmtAddress | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: