#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
 - 
  
  
 
Definition at line 52 of file JPMTIdentifier_t.hh.
   53    {
   56    }
int getModuleID() const
Get module identifier.
 
int getPMTAddress() const
Get PMT identifier.
 
 
 
 
◆ ~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 98 of file JPMTIdentifier_t.hh.
   99    {
  103 
  104              &&
  105 
  109    }
int getPMTAddress() const
Get PMT address.
 
int getModuleID() const
Get module identifier.
 
 
 
 
◆ operator JDAQPMTIdentifier()
◆ ClassDef()
◆ operator>>
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | id | PMT identifier  | 
  
   
- Returns
 - input stream 
 
Definition at line 119 of file JPMTIdentifier_t.hh.
  120    {
  121      in >> id.moduleID;
  122      in >> id.pmtAddress;
  123 
  124      return in;
  125    }
 
 
 
◆ operator<<
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | id | PMT identifier  | 
  
   
- Returns
 - output stream 
 
Definition at line 135 of file JPMTIdentifier_t.hh.
  136    {
  137      out << id.moduleID << ' ';
  138      out << id.pmtAddress;
  139 
  140      return out;
  141    }
 
 
 
◆ 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: