1 |
mzanetti |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
mzanetti |
1.2 |
// $Id: FillerPileupEnergyDensity.h,v 1.1 2011/03/01 14:26:29 mzanetti Exp $
|
3 |
mzanetti |
1.1 |
//
|
4 |
|
|
// FillerMet
|
5 |
|
|
//
|
6 |
|
|
// Implementation of a filler to fill Pileup Energy Density
|
7 |
|
|
//
|
8 |
|
|
// Authors: C.Loizides
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
#ifndef MITPROD_TREEFILLER_FILLERPILEUPENERGYDENSITY_H
|
12 |
|
|
#define MITPROD_TREEFILLER_FILLERPILEUPENERGYDENSITY_H
|
13 |
|
|
|
14 |
|
|
#include "MitAna/DataTree/interface/PileupEnergyDensityFwd.h"
|
15 |
|
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
16 |
|
|
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
17 |
|
|
|
18 |
|
|
namespace mithep
|
19 |
|
|
{
|
20 |
|
|
class FillerPileupEnergyDensity : public BaseFiller
|
21 |
|
|
{
|
22 |
|
|
public:
|
23 |
|
|
FillerPileupEnergyDensity(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
24 |
|
|
~FillerPileupEnergyDensity();
|
25 |
|
|
|
26 |
|
|
void BookDataBlock(TreeWriter &tws);
|
27 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
28 |
|
|
|
29 |
|
|
private:
|
30 |
mzanetti |
1.2 |
edm::InputTag edmName_; //edm name of met collection
|
31 |
|
|
//std::string edmName_; //edm name of met collection
|
32 |
mzanetti |
1.1 |
std::string mitName_; //mit name of PileupEnergyDensitys
|
33 |
mzanetti |
1.2 |
|
34 |
mzanetti |
1.1 |
mithep::PileupEnergyDensityArr *rhos_; //array of PileupEnergyDensitys
|
35 |
|
|
};
|
36 |
|
|
}
|
37 |
|
|
#endif
|