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.3 by loizides, Tue Jun 24 14:24:55 2008 UTC vs.
Revision 1.14 by loizides, Sun Mar 15 11:19:54 2009 UTC

# Line 2 | Line 2
2   // $Id$
3   //
4   // FillerMetaInfos
5 + // TODO by CL
6   //
7   // Authors: C.Loizides
8   //--------------------------------------------------------------------------------------------------
9  
10 < #ifndef TREEFILLER_FILLERMETAINFOS_H
11 < #define TREEFILLER_FILLERMETAINFOS_H
10 > #ifndef MITPROD_TREEFILLER_FILLERMETAINFOS_H
11 > #define MITPROD_TREEFILLER_FILLERMETAINFOS_H
12  
13   #include "FWCore/ParameterSet/interface/ParameterSet.h"
13 #include "MitAna/DataTree/interface/EventHeader.h"
14 #include "MitAna/DataTree/interface/LAHeader.h"
15 #include "MitAna/DataTree/interface/RunInfo.h"
14   #include "MitProd/TreeFiller/interface/BaseFiller.h"
15 + #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
16 + #include "MitAna/DataTree/interface/Collections.h"
17 +
18 + class THashTable;
19  
20   namespace mithep
21   {
22 +  class RunInfo;
23 +  class EventHeader;
24 +  class LAHeader;
25 +  class TriggerMask;
26 +
27    class FillerMetaInfos : public BaseFiller
28    {
29      public:
30 <      FillerMetaInfos(const edm::ParameterSet&);
30 >      FillerMetaInfos(const edm::ParameterSet &cfg, const char *name="MetaInfos", bool active=1);
31        ~FillerMetaInfos();
32  
33        void BookDataBlock(TreeWriter &tws);
34 <      void FillDataBlock(const edm::Event&, const edm::EventSetup&);
35 <      void FillRunInfo(const edm::Event&, const edm::EventSetup&);
36 <  
34 >      void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
35 >      void FillRunInfo(const edm::Event &e, const edm::EventSetup &es);
36 > //      void FillL1Info(const edm::Event &e, const edm::EventSetup &es);
37 > //      void FillL1Trig(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 <      TreeWriter              *tws_;          //tree writer (not owned)
43 <      std::string              evtName_;      //event branch name
44 <      std::string              runName_;      //run info branch name
45 <      EventHeader             *eventHeader_;  //event header
46 <      LAHeader                *evtLAHeader_;  //look-ahead event header
47 <      RunInfo                 *runInfo_;      //run info block
48 <      TTree                   *runTree_;      //run info tree
49 <      TTree                   *laTree_;       //look ahead tree
50 <      Int_t                    runEntries_;   //number of run info entries
51 <      UShort_t                 fileNum_;      //file number of current file
52 <      std::map<UInt_t,Int_t>   runmap_;       //map between run number and entry number
42 >      std::string                    evtName_;      //event branch name
43 >      std::string                    runName_;      //run info branch name
44 >      std::string                    lahName_;      //look-ahead header branch name
45 >      Bool_t                         l1Active_;     //=true if L1 info are filled
46 >      std::string                    l1TableName_;  //L1 trigger table branch name
47 >      std::string                    l1BitsName_;   //L1 trigger bits branch name
48 >      std::string                    l1ObjsName_;   //L1 trigger branch name
49 >      Bool_t                         hltActive_;    //=true if HLT info are filled
50 >      std::string                    hltProcName_;  //HLT process name
51 >      std::string                    hltResName_;   //HLT trigger results edm name
52 >      std::string                    hltEvtName_;   //HLT trigger event edm name
53 >      std::string                    hltTableName_; //HLT trigger table branch name
54 >      std::string                    hltLabelName_; //HLT trigger label branch name
55 >      std::string                    hltBitsName_;  //HLT trigger bits branch name
56 >      std::string                    hltObjsName_;  //HLT trigger branch name
57 >      TreeWriter                    *tws_;          //tree writer (not owned)
58 >      EventHeader                   *eventHeader_;  //event header
59 >      LAHeader                      *evtLAHeader_;  //look-ahead event header
60 >      RunInfo                       *runInfo_;      //run info block
61 >      TTree                         *runTree_;      //run info tree (not owned)
62 >      TTree                         *laTree_;       //look ahead tree (not owned)
63 >      Int_t                          runEntries_;   //number of run info entries
64 >      std::map<UInt_t,Int_t>         runmap_;       //map between run number and entry number
65 >      Int_t                          l1Entries_;    //number of l1 info entries
66 >      THashTable                    *l1Table_;      //L1 trigger table
67 >      TTree                         *l1Tree_;       //L1 trigger tree (not owned)
68 >      TriggerMask                   *hltBits_;      //HLT trigger bit mask
69 >      std::vector<std::string>      *hltTable_;     //HLT trigger table
70 >      std::map<std::string,Short_t> *hltTabMap_;    //HLT trigger labels map
71 >      std::vector<std::string>      *hltLabels_;    //HLT module labels
72 >      std::map<std::string,Short_t> *hltLabMap_;    //HLT module labels map
73 >      TriggerObjectBaseArr          *hltObjs_;      //HLT trigger objects
74 >      TriggerObjectRelArr           *hltRels_;      //HLT trigger objects relation
75 >      TTree                         *hltTree_;      //HLT trigger tree (not owned)
76 >      HLTConfigProvider              hltConfig_;    //HLT config from provenance
77 >      Int_t                          hltEntries_;   //number of hlt info entries
78 >      UShort_t                       fileNum_;      //file number of current file
79 >
80 >      static bool                    instance_;     //=true when one active instance
81    };
82   }
83   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines