Go to the source code of this file.
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          Head &  | 
          header  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Read header from input. 
- Author
 - mdejong
 
- Parameters
 - 
  
    | in | input stream  | 
    | header | header  | 
  
   
- Returns
 - input stream 
 
Definition at line 35 of file JMonteCarloFileSupportkit.hh.
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream. 
 
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 source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          Evt &  | 
          evt  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Read event from input. 
- Parameters
 - 
  
  
 
- Returns
 - input stream 
 
Definition at line 70 of file JMonteCarloFileSupportkit.hh.
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream. 
 
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 source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event. 
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const Evt &  | 
          evt  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Write event to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | evt | event  | 
  
   
- Returns
 - output stream 
 
Definition at line 88 of file JMonteCarloFileSupportkit.hh.
   92   const ios_base::fmtflags flags = out.flags();
 
   94   write(evt, out << fixed);
 
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream. 
 
 
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          Hit &  | 
          hit  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Read hit from input. 
- Parameters
 - 
  
  
 
- Returns
 - input stream 
 
Definition at line 109 of file JMonteCarloFileSupportkit.hh.
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream. 
 
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 source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const Hit &  | 
          hit  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Write hit to output. 
- Parameters
 - 
  
  
 
- Returns
 - output stream 
 
Definition at line 127 of file JMonteCarloFileSupportkit.hh.
  131   const ios_base::fmtflags flags = out.flags();
 
  133   write(hit, out << fixed);
 
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream.