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.4 by loizides, Wed Jun 25 07:39:57 2008 UTC vs.
Revision 1.5 by loizides, Tue Jul 1 14:38:33 2008 UTC

# Line 10 | Line 10
10   #define TREEFILLER_FILLERMETAINFOS_H
11  
12   #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"
13   #include "MitProd/TreeFiller/interface/BaseFiller.h"
14  
15   namespace mithep
16   {
17 +  class RunInfo;
18 +  class EventHeader;
19 +  class LAHeader;
20 +
21    class FillerMetaInfos : public BaseFiller
22    {
23      public:
24 <      FillerMetaInfos(const edm::ParameterSet&);
24 >      FillerMetaInfos(const edm::ParameterSet &cfg);
25        ~FillerMetaInfos();
26  
27        void BookDataBlock(TreeWriter &tws);
28 <      void FillDataBlock(const edm::Event&, const edm::EventSetup&);
29 <      void FillRunInfo(const edm::Event&, const edm::EventSetup&);
30 <  
28 >      void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29 >      void FillRunInfo(const edm::Event &e, const edm::EventSetup &es);
30 >      void FillHltInfo(const edm::Event &e, const edm::EventSetup &es);
31 >
32      private:
31      TreeWriter              *tws_;          //tree writer (not owned)
33        std::string              evtName_;      //event branch name
34        std::string              runName_;      //run info branch name
35        std::string              lahName_;      //look-ahead header branch name
36 +      std::string              hltName_;      //
37 +      std::string              l1tName_;      //
38 +      TreeWriter              *tws_;          //tree writer (not owned)
39        EventHeader             *eventHeader_;  //event header
40        LAHeader                *evtLAHeader_;  //look-ahead event header
41        RunInfo                 *runInfo_;      //run info block
42 <      TTree                   *runTree_;      //run info tree
43 <      TTree                   *laTree_;       //look ahead tree
42 >      TTree                   *runTree_;      //run info tree (not owned)
43 >      TTree                   *laTree_;       //look ahead tree (not owned)
44        Int_t                    runEntries_;   //number of run info entries
45        UShort_t                 fileNum_;      //file number of current file
46        std::map<UInt_t,Int_t>   runmap_;       //map between run number and entry number

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines