1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.9 |
// $Id: FillerMCEventInfo.h,v 1.8 2009/07/14 16:03:22 sixie 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.9 |
std::string evtName_; //mit event branch name
|
33 |
|
|
std::string genHepMCEvName_; //hepmc branch name (if present)
|
34 |
|
|
std::string genEvtInfoName_; //edm event info name
|
35 |
sixie |
1.8 |
bool flavorHistoryActive_; //=true if flavor history is filled
|
36 |
loizides |
1.9 |
std::string flavorHistName_; //edm flavor history name
|
37 |
sixie |
1.8 |
MCEventInfo *eventInfo_; //event info
|
38 |
loizides |
1.1 |
};
|
39 |
|
|
}
|
40 |
|
|
#endif
|