ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMCEventInfo.h
Revision: 1.8
Committed: Tue Jul 14 16:03:22 2009 UTC (15 years, 9 months ago) by sixie
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_010
Changes since 1.7: +9 -8 lines
Log Message:
Add flag to activate/deactive filling of flavor history.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 sixie 1.8 // $Id: FillerMCEventInfo.h,v 1.7 2009/06/15 15:00:25 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.6 void BookDataBlock(TreeWriter &tws);
29     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
30 loizides 1.1
31     private:
32 sixie 1.8 bool flavorHistoryActive_; //=true if flavor history is filled
33     std::string evtName_; //event branch name
34     std::string genHepMCEvName_; //hepmc branch name (if present)
35     std::string genEvWeightName_; //edm event weight name
36     std::string genEvScaleName_; //edm event scale name
37     std::string genEvProcIdName_; //edm event process id name
38     std::string genPdfInfoName_; //edm event pdf info name
39     MCEventInfo *eventInfo_; //event info
40 loizides 1.1 };
41     }
42     #endif