ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMCEventInfo.h
Revision: 1.3
Committed: Thu Mar 19 16:13:59 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.2: +11 -7 lines
Log Message:
Added pdfinfo.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.3 // $Id: FillerMCEventInfo.h,v 1.2 2008/09/10 03:30:23 loizides Exp $
3 loizides 1.1 //
4     // FillerMCEventInfo
5     //
6     // Authors: C.Loizides
7     //--------------------------------------------------------------------------------------------------
8    
9 loizides 1.3 #ifndef MITPROD_TREEFILLER_FILLERMCEVENTINFO_H
10     #define MITPROD_TREEFILLER_FILLERMCEVENTINFO_H
11 loizides 1.1
12     #include "FWCore/ParameterSet/interface/ParameterSet.h"
13     #include "MitProd/TreeFiller/interface/BaseFiller.h"
14    
15     namespace mithep
16     {
17     class MCEventInfo;
18    
19     class FillerMCEventInfo : public BaseFiller
20     {
21     public:
22 loizides 1.3 FillerMCEventInfo(const edm::ParameterSet &cfg,
23     const char *name="MCEventInfo", bool active=1);
24 loizides 1.1 ~FillerMCEventInfo();
25    
26     void BookDataBlock(TreeWriter &tws);
27     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
28    
29     private:
30 loizides 1.3 std::string evtName_; //event branch name
31     std::string genEvWeightName_; //edm event weight name
32     std::string genEvScaleName_; //edm event scale name
33     std::string genEvProcIdName_; //edm event process id name
34     std::string genPdfInfoName_; //edm event pdf info name
35     MCEventInfo *eventInfo_; //event info
36 loizides 1.1 };
37     }
38     #endif