1 |
pharris |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
pharris |
1.3 |
// $Id: FillerEmbedWeight.h,v 1.2 2012/12/28 17:27:20 pharris Exp $
|
3 |
pharris |
1.1 |
//
|
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 |
pharris |
1.3 |
std::string edmSpinnerName_;
|
33 |
|
|
std::string edmMuEffName_;
|
34 |
|
|
std::string edmMuRadName_;
|
35 |
|
|
std::string edmKineReweightGenName_;
|
36 |
|
|
std::string edmKineReweightRecName_;
|
37 |
pharris |
1.2 |
bool genInfo_;
|
38 |
pharris |
1.3 |
bool recHit_;
|
39 |
pharris |
1.1 |
std::string mitName_; //mitname
|
40 |
|
|
EmbedWeightArr *embedWeight_; //event info
|
41 |
|
|
};
|
42 |
|
|
}
|
43 |
|
|
#endif
|