| 
    Jpp 19.3.0-rc.2
    
   the software that should make you happy 
   | 
 
Auxiliary data structure to store multiple headers
and bookkeep event-weight normalisations.  
 More...
#include <JMultiHead.hh>
  
Public Types | |
| typedef std::map< JUUID, JAANET::JEvtWeightNormalisation > | map_type | 
Public Member Functions | |
| JMultiHead () | |
| Default constructor.   | |
| void | merge (const JHead &header) | 
| Merge the given header into this object.   | |
| bool | insert (const JHead &header) | 
| Insert the given header.   | |
| bool | isMerged (const JUUID &UUID) const | 
| Check if given header UUID correspond to a file which has been merged.   | |
| JUUID | getHeaderUUID (const Evt &event) const | 
| Get the header UUID corresponding to the given event.   | |
| double | getNormalisation (const JUUID &UUID) const | 
| Get normalisation for given header UUID.   | |
| double | getNormalisation (const Evt &event) const | 
| Get normalisation for given event.   | |
| void | merge () | 
| Merge all matching headers.   | |
| const_iterator | find (const uuid_t &uuid, const bool useCache=false) const | 
| Find header with given UUID.   | |
| const_iterator | find (const Evt &event, const bool useCache=false) const | 
| Find the header corresponding to the given event.   | |
| bool | insert (const Head &header) | 
| Insert the given header.   | |
| size_t | join (const MultiHead &multiHead) | 
Join given MultiHead object with this MultiHead object.   | |
| ClassDef (MultiHead, 1) | |
Static Public Member Functions | |
| static void | actionAtFileOpen (int version) | 
| Action method at file open.   | |
Public Attributes | |
| map_type | normalisationMap | 
| Map between header UUIDs and event-weight normalisations.   | |
Static Public Attributes | |
| static int | ROOT_IO_VERSION = -1 | 
| Streamer version as obtained from ROOT file.   | |
Auxiliary data structure to store multiple headers
and bookkeep event-weight normalisations. 
Definition at line 37 of file JMultiHead.hh.
Definition at line 40 of file JMultiHead.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Merge the given header into this object.
| header | header | 
Definition at line 56 of file JMultiHead.hh.
      
  | 
  inline | 
Insert the given header.
| header | header | 
Definition at line 69 of file JMultiHead.hh.
      
  | 
  inline | 
Check if given header UUID correspond to a file which has been merged.
| UUID | header UUID | 
Definition at line 104 of file JMultiHead.hh.
Get the header UUID corresponding to the given event.
| event | event | 
Definition at line 124 of file JMultiHead.hh.
      
  | 
  inline | 
Get normalisation for given header UUID.
| UUID | header UUID | 
Definition at line 146 of file JMultiHead.hh.
      
  | 
  inline | 
Get normalisation for given event.
| event | event | 
Definition at line 166 of file JMultiHead.hh.
      
  | 
  inline | 
Merge all matching headers.
Definition at line 175 of file JMultiHead.hh.
      
  | 
  inlineinherited | 
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.
| uuid | header UUID | 
| useCache | use caching for faster look-up | 
Definition at line 47 of file MultiHead.hh.
      
  | 
  inlineinherited | 
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.
| event | event | 
| useCache | use caching for faster look-up | 
Definition at line 98 of file MultiHead.hh.
      
  | 
  inlineinherited | 
Insert the given header.
| header | header | 
Definition at line 111 of file MultiHead.hh.
      
  | 
  inlineinherited | 
Join given MultiHead object with this MultiHead object. 
| multiHead | MultiHead object  | 
Definition at line 138 of file MultiHead.hh.
      
  | 
  inlinestaticinherited | 
Action method at file open.
| version | version | 
Definition at line 157 of file MultiHead.hh.
      
  | 
  inherited | 
| map_type JAANET::JMultiHead::normalisationMap | 
Map between header UUIDs and event-weight normalisations.
Definition at line 229 of file JMultiHead.hh.
      
  | 
  staticinherited | 
Streamer version as obtained from ROOT file.
Definition at line 163 of file MultiHead.hh.