ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMCEventInfo.h
Revision: 1.10
Committed: Fri Sep 25 08:42:50 2009 UTC (15 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a
Changes since 1.9: +2 -2 lines
Log Message:
Extended interface of BookDataBlock to contain event setup.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.10 // $Id: FillerMCEventInfo.h,v 1.9 2009/08/11 15:28:55 loizides Exp $
3 loizides 1.1 //
4     // FillerMCEventInfo
5     //
6 loizides 1.5 // Implementation of a filler that stores MC related quantities, like the pdf info, in the
7     // bambu records.
8 loizides 1.4 //
9 loizides 1.1 // Authors: C.Loizides
10     //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.3 #ifndef MITPROD_TREEFILLER_FILLERMCEVENTINFO_H
13     #define MITPROD_TREEFILLER_FILLERMCEVENTINFO_H
14 loizides 1.1
15     #include "MitProd/TreeFiller/interface/BaseFiller.h"
16    
17     namespace mithep
18     {
19     class MCEventInfo;
20    
21     class FillerMCEventInfo : public BaseFiller
22     {
23     public:
24 loizides 1.3 FillerMCEventInfo(const edm::ParameterSet &cfg,
25     const char *name="MCEventInfo", bool active=1);
26 loizides 1.1 ~FillerMCEventInfo();
27    
28 loizides 1.10 void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
29 loizides 1.6 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
30 loizides 1.1
31     private:
32 loizides 1.9 std::string evtName_; //mit event branch name
33     std::string genHepMCEvName_; //hepmc branch name (if present)
34     std::string genEvtInfoName_; //edm event info name
35 sixie 1.8 bool flavorHistoryActive_; //=true if flavor history is filled
36 loizides 1.9 std::string flavorHistName_; //edm flavor history name
37 sixie 1.8 MCEventInfo *eventInfo_; //event info
38 loizides 1.1 };
39     }
40     #endif