#include <MultiHead.hh>
- Author
 - bjung 
 
Definition at line 17 of file MultiHead.hh.
 
  
  
      
        
          | virtual MultiHead::~MultiHead  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | const_iterator MultiHead::find  | 
          ( | 
          const uuid_t &  | 
          uuid,  | 
         
        
           | 
           | 
          const bool  | 
          useCache = false  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Find header with given UUID. 
Note: The parameter useCache can be toggled on for faster lookup.
 This should not be used if your MultiHead object is modified between look-ups.
- Parameters
 - 
  
    | uuid | header UUID  | 
    | useCache | use caching for faster look-up  | 
  
   
- Returns
 - header with given UUID 
 
Definition at line 47 of file MultiHead.hh.
   60       for (cache.it = 
this->cbegin(); cache.it != this->cend(); ++cache.it) {
 
   62         const Head&   head     = *cache.it;
 
   65         uuid_parse(uuid_str.c_str(), cache.uuid);
 
   67         if (uuid_compare(uuid, cache.uuid)) {
 
   76       if (uuid_compare(uuid, cache.uuid)) {
 
   79         return find(uuid, 
false);
 
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
 
const_iterator find(const uuid_t &uuid, const bool useCache=false) const 
Find header with given UUID. 
 
The Head class reflects the header of Monte-Carlo event files, which consists of keys (also referred ...
 
 
 
 
  
  
      
        
          | const_iterator MultiHead::find  | 
          ( | 
          const Evt &  | 
          event,  | 
         
        
           | 
           | 
          const bool  | 
          useCache = false  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Find the header corresponding to the given event. 
Note: The parameter useCache can be toggled on for faster lookup.
 This should not be used if your MultiHead object is modified between look-ups.
- Parameters
 - 
  
    | event | event  | 
    | useCache | use caching for faster look-up  | 
  
   
- Returns
 - header corresponding to the given event 
 
Definition at line 94 of file MultiHead.hh.
uuid_t header_uuid
UUID of header containing the event-weight information. 
 
const_iterator find(const uuid_t &uuid, const bool useCache=false) const 
Find header with given UUID. 
 
 
 
 
  
  
      
        
          | void MultiHead::join  | 
          ( | 
          const MultiHead &  | 
          multiHead | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Join given MultiHead object with this MultiHead object. 
- Parameters
 - 
  
  
 
Definition at line 106 of file MultiHead.hh.
  116       uuid_parse(uuid_str.c_str(), uuid);      
 
  120       if (j == this->cend()) { this->push_back(*i); }
 
const_iterator find(const uuid_t &uuid, const bool useCache=false) const 
Find header with given UUID. 
 
 
 
 
  
  
      
        
          | static void MultiHead::actionAtFileOpen  | 
          ( | 
          int  | 
          version | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Action method at file open. 
- Parameters
 - 
  
  
 
Definition at line 130 of file MultiHead.hh.
static int ROOT_IO_VERSION
Streamer version as obtained from ROOT file. 
 
 
 
 
  
  
      
        
          | int MultiHead::ROOT_IO_VERSION = -1 | 
         
       
   | 
  
static   | 
  
 
Streamer version as obtained from ROOT file. 
Definition at line 136 of file MultiHead.hh.
 
 
The documentation for this struct was generated from the following files: