ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMCEventInfo.h
Revision: 1.1
Committed: Fri Aug 29 02:49:43 2008 UTC (16 years, 8 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added basic MCEventInfo filler

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerMCEventInfo.h,v 1.8 2008/08/18 11:16:11 sixie Exp $
3     //
4     // FillerMCEventInfo
5     //
6     // Authors: C.Loizides
7     //--------------------------------------------------------------------------------------------------
8    
9     #ifndef TREEFILLER_FILLERMETAINFOS_H
10     #define TREEFILLER_FILLERMETAINFOS_H
11    
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     FillerMCEventInfo(const edm::ParameterSet &cfg, bool active=1);
23     ~FillerMCEventInfo();
24    
25     void BookDataBlock(TreeWriter &tws);
26     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
27    
28     private:
29     std::string evtName_; //event branch name
30     std::string datasetName_; //dataset name
31     MCEventInfo *eventInfo_; //event info
32     };
33     }
34     #endif