1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerMCEventInfo.h,v 1.1 2008/08/29 02:49:43 loizides Exp $
|
3 |
//
|
4 |
// FillerMCEventInfo
|
5 |
//
|
6 |
// Authors: C.Loizides
|
7 |
//--------------------------------------------------------------------------------------------------
|
8 |
|
9 |
#ifndef MITPROD_TREEFILLER_FILLERMETAINFOS_H
|
10 |
#define MITPROD_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
|