Detector file.  
 More...
#include <JHead.hh>
 | 
| std::istream &  | operator>> (std::istream &in, detector &object) | 
|   | Read detector from input stream.  
  | 
|   | 
| std::ostream &  | operator<< (std::ostream &out, const detector &object) | 
|   | Write detector to output stream.  
  | 
|   | 
Detector file. 
Definition at line 226 of file JHead.hh.
 
◆ detector()
  
  
      
        
          | JAANET::detector::detector  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 231 of file JHead.hh.
 
 
◆ match()
  
  
      
        
          | bool JAANET::detector::match  | 
          ( | 
          const detector & |           object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Test match. 
- Parameters
 - 
  
  
 
- Returns
 - true if matches; else false 
 
Definition at line 240 of file JHead.hh.
  241    {
  242      return this->
program == 
object.program && this->
filename == 
object.filename; 
 
  243    }
 
 
 
◆ ClassDefNV()
      
        
          | JAANET::detector::ClassDefNV  | 
          ( | 
          detector |           ,  | 
        
        
           | 
           | 
          1 |            ) | 
        
      
 
 
◆ operator>>
  
  
      
        
          | std::istream & operator>>  | 
          ( | 
          std::istream & |           in,  | 
         
        
           | 
           | 
          detector & |           object ) | 
         
       
   | 
  
friend   | 
  
 
Read detector from input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | detector  | 
  
   
- Returns
 - input stream 
 
Definition at line 252 of file JHead.hh.
  253    {
  255 
  256      in >> object.program >> object.filename;
  257 
  259        object.filename = object.program;
  260        object.program  = "?";
  261      }
  262 
  263      return in;
  264    }
bool is_integer(const std::string &buffer)
Check if string is an integer.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
 
 
 
◆ operator<<
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           out,  | 
         
        
           | 
           | 
          const detector & |           object ) | 
         
       
   | 
  
friend   | 
  
 
Write detector to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | detector  | 
  
   
- Returns
 - output stream 
 
Definition at line 273 of file JHead.hh.
  274    {
  275      return out << object.program << ' ' << object.filename;
  276    }
 
 
 
◆ program
      
        
          | std::string JAANET::detector::program | 
        
      
 
 
◆ filename
      
        
          | std::string JAANET::detector::filename | 
        
      
 
 
The documentation for this struct was generated from the following file: