21 |
|
class FillerMetaInfos : public BaseFiller |
22 |
|
{ |
23 |
|
public: |
24 |
< |
FillerMetaInfos(const edm::ParameterSet &cfg); |
24 |
> |
FillerMetaInfos(const edm::ParameterSet &cfg, bool active=1); |
25 |
|
~FillerMetaInfos(); |
26 |
|
|
27 |
|
void BookDataBlock(TreeWriter &tws); |
30 |
|
void FillHltInfo(const edm::Event &e, const edm::EventSetup &es); |
31 |
|
|
32 |
|
private: |
33 |
+ |
Bool_t hltActive_; //=true if HLT info are filled |
34 |
|
std::string evtName_; //event branch name |
35 |
|
std::string runName_; //run info branch name |
36 |
|
std::string lahName_; //look-ahead header branch name |
37 |
< |
std::string hltName_; // |
38 |
< |
std::string l1tName_; // |
37 |
> |
std::string hltName_; //todo |
38 |
> |
std::string l1tName_; //todo |
39 |
|
TreeWriter *tws_; //tree writer (not owned) |
40 |
|
EventHeader *eventHeader_; //event header |
41 |
|
LAHeader *evtLAHeader_; //look-ahead event header |
45 |
|
Int_t runEntries_; //number of run info entries |
46 |
|
UShort_t fileNum_; //file number of current file |
47 |
|
std::map<UInt_t,Int_t> runmap_; //map between run number and entry number |
48 |
+ |
|
49 |
+ |
static bool instance_; //=true when one active instance |
50 |
|
}; |
51 |
|
} |
52 |
|
#endif |