1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerPFTaus.h,v 1.3 2009/06/15 15:00:25 loizides Exp $
|
3 |
//
|
4 |
// FillerPFTaus
|
5 |
//
|
6 |
// Implementation of a filler to fill EDM pf taus into our mithep::PFTau data structure.
|
7 |
//
|
8 |
// Authors: C.Loizides, J.Bendavid
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITPROD_TREEFILLER_FILLERPFTAUS_H
|
12 |
#define MITPROD_TREEFILLER_FILLERPFTAUS_H
|
13 |
|
14 |
#include "MitAna/DataTree/interface/PFTauFwd.h"
|
15 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
16 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
17 |
|
18 |
namespace mithep
|
19 |
{
|
20 |
class FillerPFTaus : public BaseFiller
|
21 |
{
|
22 |
public:
|
23 |
FillerPFTaus(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
24 |
~FillerPFTaus();
|
25 |
|
26 |
void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
|
27 |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
28 |
|
29 |
private:
|
30 |
std::string edmName_; //edm name of jets collection
|
31 |
std::string mitName_; //mit name of jets collection
|
32 |
std::string trackMapName_; //name of imported TrackMap
|
33 |
std::string jetMapName_; //name of imported PFJetMap
|
34 |
std::string pfCandMapName_; //name of imported PFCandidateMap
|
35 |
const mithep::TrackMap *trackMap_; //map wrt Tracks
|
36 |
const mithep::PFJetMap *jetMap_; //map wrt pfjets
|
37 |
const mithep::PFCandidateMap *pfCandMap_; //map wrt pf candidates
|
38 |
mithep::PFTauArr *taus_; //array of taus
|
39 |
};
|
40 |
}
|
41 |
#endif
|