ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMCEventInfo.h
Revision: 1.6
Committed: Sun Mar 22 10:00:45 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009a, Mit_009, Mit_008
Changes since 1.5: +3 -3 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.6 // $Id: FillerMCEventInfo.h,v 1.5 2009/03/20 18:05:40 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 "FWCore/ParameterSet/interface/ParameterSet.h"
16     #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class MCEventInfo;
21    
22     class FillerMCEventInfo : public BaseFiller
23     {
24     public:
25 loizides 1.3 FillerMCEventInfo(const edm::ParameterSet &cfg,
26     const char *name="MCEventInfo", bool active=1);
27 loizides 1.1 ~FillerMCEventInfo();
28    
29 loizides 1.6 void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31 loizides 1.1
32     private:
33 loizides 1.3 std::string evtName_; //event branch name
34 loizides 1.4 std::string genHepMCEvName_; //hepmc branch name (if present)
35 loizides 1.3 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