3 |
|
// |
4 |
|
// FillerMetaInfos |
5 |
|
// |
6 |
+ |
// Implementation of a filler that stores all of the meta information, as well as the HLT |
7 |
+ |
// trigger info into the bambu objects. Still missing is the implementation for the L1 info. |
8 |
+ |
// |
9 |
|
// Authors: C.Loizides |
10 |
|
//-------------------------------------------------------------------------------------------------- |
11 |
|
|
13 |
|
#define MITPROD_TREEFILLER_FILLERMETAINFOS_H |
14 |
|
|
15 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
13 |
– |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
16 |
|
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h" |
17 |
< |
#include "MitAna/DataTree/interface/Collections.h" |
17 |
> |
#include "MitAna/DataTree/interface/TriggerObjectFwd.h" |
18 |
> |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
19 |
|
|
20 |
|
class THashTable; |
21 |
|
|
32 |
|
FillerMetaInfos(const edm::ParameterSet &cfg, const char *name="MetaInfos", bool active=1); |
33 |
|
~FillerMetaInfos(); |
34 |
|
|
35 |
< |
void BookDataBlock(TreeWriter &tws); |
36 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
37 |
< |
void FillRunInfo(const edm::Event &e, const edm::EventSetup &es); |
38 |
< |
// void FillL1Info(const edm::Event &e, const edm::EventSetup &es); |
39 |
< |
// void FillL1Trig(const edm::Event &e, const edm::EventSetup &es); |
40 |
< |
void FillHltInfo(const edm::Event &e, const edm::EventSetup &es); |
41 |
< |
void FillHltTrig(const edm::Event &e, const edm::EventSetup &es); |
35 |
> |
void BookDataBlock(TreeWriter &tws); |
36 |
> |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
37 |
> |
void FillRunInfo(const edm::Event &e, const edm::EventSetup &es); |
38 |
> |
void FillL1Info(const edm::Event &e, const edm::EventSetup &es); |
39 |
> |
void FillL1Trig(const edm::Event &e, const edm::EventSetup &es); |
40 |
> |
void FillHltInfo(const edm::Event &e, const edm::EventSetup &es); |
41 |
> |
void FillHltTrig(const edm::Event &e, const edm::EventSetup &es); |
42 |
|
|
43 |
|
private: |
44 |
|
std::string evtName_; //event branch name |
49 |
|
std::string l1BitsName_; //L1 trigger bits branch name |
50 |
|
std::string l1ObjsName_; //L1 trigger branch name |
51 |
|
Bool_t hltActive_; //=true if HLT info are filled |
52 |
< |
std::string hltProcName_; //HLT process name |
52 |
> |
std::vector<std::string> hltProcNames_; //HLT process name(s) |
53 |
> |
std::string hltProcName_; //HLT process name to be used |
54 |
|
std::string hltResName_; //HLT trigger results edm name |
55 |
|
std::string hltEvtName_; //HLT trigger event edm name |
56 |
|
std::string hltTableName_; //HLT trigger table branch name |