1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerMCEventInfo.h,v 1.11 2010/03/18 20:21:00 bendavid Exp $
|
3 |
//
|
4 |
// FillerMCEventInfo
|
5 |
//
|
6 |
// Implementation of a filler that stores MC related quantities, like the pdf info, in the
|
7 |
// bambu records.
|
8 |
//
|
9 |
// Authors: C.Loizides
|
10 |
//--------------------------------------------------------------------------------------------------
|
11 |
|
12 |
#ifndef MITPROD_TREEFILLER_FILLEREMBEDWEIGHT_H
|
13 |
#define MITPROD_TREEFILLER_FILLEREMBEDWEIGHT_H
|
14 |
|
15 |
#include "MitAna/DataTree/interface/EmbedWeightFwd.h"
|
16 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
17 |
|
18 |
namespace mithep
|
19 |
{
|
20 |
class FillerEmbedWeight : public BaseFiller
|
21 |
{
|
22 |
public:
|
23 |
FillerEmbedWeight(const edm::ParameterSet &cfg,
|
24 |
const char *name="EmbedWeight", bool active=1);
|
25 |
~FillerEmbedWeight();
|
26 |
|
27 |
void BookDataBlock(TreeWriter &tws);
|
28 |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
29 |
|
30 |
private:
|
31 |
std::string edmName_; //edmname
|
32 |
std::string mitName_; //mitname
|
33 |
EmbedWeightArr *embedWeight_; //event info
|
34 |
};
|
35 |
}
|
36 |
#endif
|