ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMCEventInfo.h
Revision: 1.7
Committed: Mon Jun 15 15:00:25 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009c, Mit_009b
Changes since 1.6: +1 -2 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.7 // $Id: FillerMCEventInfo.h,v 1.6 2009/03/22 10:00:45 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 loizides 1.3 std::string evtName_; //event branch name
33 loizides 1.4 std::string genHepMCEvName_; //hepmc branch name (if present)
34 loizides 1.3 std::string genEvWeightName_; //edm event weight name
35     std::string genEvScaleName_; //edm event scale name
36     std::string genEvProcIdName_; //edm event process id name
37     std::string genPdfInfoName_; //edm event pdf info name
38     MCEventInfo *eventInfo_; //event info
39 loizides 1.1 };
40     }
41     #endif