PMT identifier.  
 More...
#include <JDAQPMTIdentifier.hh>
PMT identifier. 
Definition at line 20 of file JDAQPMTIdentifier.hh.
 
◆ JDAQPMTIdentifier() [1/2]
  
  
      
        
          | KM3NETDAQ::JDAQPMTIdentifier::JDAQPMTIdentifier  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 32 of file JDAQPMTIdentifier.hh.
   32                        :
   35    {}
JDAQModuleIdentifier()
Default constructor.
 
 
 
 
◆ JDAQPMTIdentifier() [2/2]
  
  
      
        
          | KM3NETDAQ::JDAQPMTIdentifier::JDAQPMTIdentifier  | 
          ( | 
          const JDAQModuleIdentifier & |           id,  | 
         
        
           | 
           | 
          const int |           pmt_address ) | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | id | module identifier  | 
    | pmt_address | PMT address  | 
  
   
Definition at line 44 of file JDAQPMTIdentifier.hh.
 
 
◆ getPMTIdentifier()
Get PMT identifier. 
- Returns
 - PMT identifier 
 
Definition at line 56 of file JDAQPMTIdentifier.hh.
   57    { 
   58      return *this; 
   59    }
 
 
 
◆ setPMTIdentifier()
◆ getPMTAddress()
  
  
      
        
          | int KM3NETDAQ::JDAQPMTIdentifier::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 | PMT identifier  | 
    | second | PMT identifier  | 
  
   
- Returns
 - true if first PMT equal second PMT; else false 
 
Definition at line 126 of file JDAQPMTIdentifier.hh.
  127    {
  134    }
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
 
int getPMTAddress() const
Get PMT identifier.
 
 
 
 
◆ ClassDefNV() [1/2]
◆ getModuleIdentifier()
Get Module identifier. 
- Returns
 - Module identifier 
 
Definition at line 50 of file JDAQModuleIdentifier.hh.
   51    { 
   52      return *this; 
   53    }
 
 
 
◆ setModuleIdentifier()
◆ getModuleID()
  
  
      
        
          | int KM3NETDAQ::JDAQModuleIdentifier::getModuleID  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ ClassDefNV() [2/2]
◆ getSizeof
Definition of method to get size of data type. 
This method should be specialised for each desired data type with fixed length.
- Returns
 - number of bytes 
 
 
 
◆ operator>> [1/2]
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | reader  | 
    | pmt | PMT identifier  | 
  
   
- Returns
 - reader 
 
Definition at line 35 of file JDAQPMTIdentifierIO.hh.
   36  {
   39 
   40    return in;
   41  }
 
 
 
◆ operator<< [1/2]
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | writer  | 
    | pmt | PMT identifier  | 
  
   
- Returns
 - writer 
 
Definition at line 51 of file JDAQPMTIdentifierIO.hh.
   52  {
   53    out << static_cast<const JDAQModuleIdentifier&>(pmt);
   55 
   56    return out;
   57  }
 
 
 
◆ operator>> [2/2]
Read PMT identifier from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | pmt | PMT identifier  | 
  
   
- Returns
 - input stream 
 
Definition at line 91 of file JDAQPMTIdentifier.hh.
   92    {
   95 
   96      return in;
   97    }
 
 
 
◆ operator<< [2/2]
Write PMT identifier to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | pmt | PMT identifier  | 
  
   
- Returns
 - output stream 
 
Definition at line 107 of file JDAQPMTIdentifier.hh.
  108    {
  109      out << static_cast<const JDAQModuleIdentifier&>(pmt) << ' ';
  111 
  112      return out;
  113    }
 
 
 
◆ address
  
  
      
        
          | int KM3NETDAQ::JDAQPMTIdentifier::address | 
         
       
   | 
  
protected   | 
  
 
 
◆ id
  
  
      
        
          | int KM3NETDAQ::JDAQModuleIdentifier::id | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: