#include <JPMTIdentifier_t.hh>
Definition at line 21 of file JPMTIdentifier_t.hh.
 
◆ JPMTIdentifier_t() [1/3]
  
  
      
        
          | JTRIGGER::JPMTIdentifier_t::JPMTIdentifier_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JPMTIdentifier_t() [2/3]
  
  
      
        
          | 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.
 
 
◆ JPMTIdentifier_t() [3/3]
Copy constructor. 
- Parameters
 - 
  
    | id | module identifier  | 
    | tdc | PMT readout channel  | 
  
   
Definition at line 53 of file JPMTIdentifier_t.hh.
 
 
◆ ~JPMTIdentifier_t()
  
  
      
        
          | virtual JTRIGGER::JPMTIdentifier_t::~JPMTIdentifier_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ getModuleID()
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::getModuleID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getPMTAddress()
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::getPMTAddress  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ compare()
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 99 of file JPMTIdentifier_t.hh.
  101       return ((first .
getModuleID()    == second.getModuleID()    ||
 
  102                first .getModuleID()    == -1                      ||
 
  103                second.getModuleID()    == -1)
 
  108                first .getPMTAddress()  == -1                      ||
 
  109                second.getPMTAddress()  == -1));
 
 
 
 
◆ operator JDAQPMTIdentifier()
◆ ClassDef()
◆ operator>>
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | id | PMT identifier  | 
  
   
- Returns
 - input stream 
 
Definition at line 120 of file JPMTIdentifier_t.hh.
 
 
◆ operator<<
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | id | PMT identifier  | 
  
   
- Returns
 - output stream 
 
Definition at line 136 of file JPMTIdentifier_t.hh.
  138       out << 
id.moduleID << 
' ';
 
  139       out << 
id.pmtAddress;
 
 
 
 
◆ moduleID
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::moduleID | 
         
       
   | 
  
protected   | 
  
 
 
◆ pmtAddress
  
  
      
        
          | int JTRIGGER::JPMTIdentifier_t::pmtAddress | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: