1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerPileupEnergyDensity.h,v 1.3 2011/03/23 19:03:46 mzanetti Exp $
|
3 |
//
|
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 |
edm::InputTag edmName_; //edm name of rho collection
|
31 |
edm::InputTag edmNameLowEta_; //edm name of high eta rho collection
|
32 |
edm::InputTag edmNameRandom_; //edm name of high eta rho collection
|
33 |
edm::InputTag edmNameRandomLowEta_; //edm name of high eta rho collection
|
34 |
//std::string edmName_; //edm name of met collection
|
35 |
std::string mitName_; //mit name of PileupEnergyDensitys
|
36 |
|
37 |
mithep::PileupEnergyDensityArr *rhos_; //array of PileupEnergyDensitys
|
38 |
};
|
39 |
}
|
40 |
#endif
|