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.1 by loizides, Thu Jun 19 16:53:43 2008 UTC vs.
Revision 1.11 by loizides, Mon Mar 2 13:27:34 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines