ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMetaInfos.h
(Generate patch)

Comparing UserCode/MitProd/TreeFiller/interface/FillerMetaInfos.h (file contents):
Revision 1.23 by loizides, Tue Aug 11 15:29:27 2009 UTC vs.
Revision 1.27 by loizides, Thu Nov 26 21:41:50 2009 UTC

# Line 13 | Line 13
13   #define MITPROD_TREEFILLER_FILLERMETAINFOS_H
14  
15   #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
16 + #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetupFwd.h"
17 + #include "MitAna/DataTree/interface/L1TriggerMaskFwd.h"
18   #include "MitAna/DataTree/interface/TriggerObjectBaseFwd.h"
19   #include "MitAna/DataTree/interface/TriggerObjectRelFwd.h"
20 + #include "MitAna/DataTree/interface/Types.h"
21   #include "MitProd/TreeFiller/interface/BaseFiller.h"
22  
23   class THashTable;
# Line 32 | Line 35 | namespace mithep
35        FillerMetaInfos(const edm::ParameterSet &cfg, const char *name="MetaInfos", bool active=1);
36        ~FillerMetaInfos();
37  
38 <      void                           BookDataBlock(TreeWriter &tws);
38 >      void                           BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
39        void                           FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
37      void                           FillRunInfo(const edm::Event &e, const edm::EventSetup &es);
38      void                           FillHltInfo(const edm::Event &e, const edm::EventSetup &es);
39      void                           FillHltTrig(const edm::Event &e, const edm::EventSetup &es);
40  
41      private:
42 +      void                           FillBitAMask(BitMask64 &bits, const DecisionWord &dw);
43 +      void                           FillBitTMask(BitMask64 &bits, const TechnicalTriggerWord &tw);
44 +      void                           FillHltInfo(const edm::Event &e, const edm::EventSetup &es);
45 +      void                           FillHltTrig(const edm::Event &e, const edm::EventSetup &es);
46 +      void                           FillL1Trig(const edm::Event &e, const edm::EventSetup &es);
47 +      void                           FillRunInfo(const edm::Event &e, const edm::EventSetup &es);
48        const char                    *Istr() const;
49  
50        std::string                    evtName_;      //event branch name (must be unique)
# Line 54 | Line 60 | namespace mithep
60        std::string                    hltLabelName_; //HLT trigger label branch name
61        std::string                    hltBitsName_;  //HLT trigger bits branch name
62        std::string                    hltObjsName_;  //HLT trigger branch name
63 +      Bool_t                         l1Active_;     //=true if some L1 info are filled
64 +      std::string                    l1GTRecName_;  //L1 global trigger record edm name
65 +      std::string                    l1GTRRName_;   //l1 global readout trigger record edm name
66 +      std::string                    l1TBitsName_;  //L1 technical bit name
67 +      std::string                    l1ABitsName_;  //L1 algo bit name
68        TreeWriter                    *tws_;          //tree writer (not owned)
69        EventHeader                   *eventHeader_;  //event header
70        LAHeader                      *evtLAHeader_;  //look-ahead event header
# Line 73 | Line 84 | namespace mithep
84        HLTConfigProvider              hltConfig_;    //HLT config from provenance
85        Int_t                          hltEntries_;   //number of hlt info entries
86        UShort_t                       fileNum_;      //file number of current file
87 +      L1TriggerMask                 *l1TBits_;      //L1 technical trigger bit mask
88 +      L1TriggerMask                 *l1ABits_;      //L1 algorithm trigger bit mask
89 +      L1TriggerMask                 *l1TBits2_;     //L1 technical trigger bit mask before masking
90 +      L1TriggerMask                 *l1ABits2_;     //L1 algorithm trigger bit mask before masking
91 +      L1TriggerMaskArr              *l1AbArr_;      //L1 algorithm trigger bits
92 +      L1TriggerMaskArr              *l1TbArr_;      //L1 technical trigger bits
93  
94        static Int_t                   instance_;     //counts active instances
95    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines