1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerCaloTaus.h,v 1.3 2009/06/15 15:00:24 loizides Exp $
|
3 |
//
|
4 |
// FillerCaloTaus
|
5 |
//
|
6 |
// Implementation of a filler to fill EDM calo taus into our mithep::CaloTau data structure.
|
7 |
//
|
8 |
// Authors: C.Loizides, J.Bendavid
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITPROD_TREEFILLER_FILLERCALOTAUS_H
|
12 |
#define MITPROD_TREEFILLER_FILLERCALOTAUS_H
|
13 |
|
14 |
#include "MitAna/DataTree/interface/CaloTauFwd.h"
|
15 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
16 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
17 |
|
18 |
namespace mithep
|
19 |
{
|
20 |
class FillerCaloTaus : public BaseFiller
|
21 |
{
|
22 |
public:
|
23 |
FillerCaloTaus(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
24 |
~FillerCaloTaus();
|
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 CaloJetMap
|
34 |
std::string barrelBCMapName_; //name of imported barrel cl map name
|
35 |
std::string endcapBCMapName_; //name of imported endcap cl map name
|
36 |
const mithep::TrackMap *trackMap_; //map wrt Tracks
|
37 |
const mithep::CaloJetMap *jetMap_; //map wrt calojets
|
38 |
const mithep::BasicClusterMap *barrelBCMap_; //map wrt barrel Basic Clusters
|
39 |
const mithep::BasicClusterMap *endcapBCMap_; //map wrt endcap Basic Clusters
|
40 |
mithep::CaloTauArr *taus_; //array of Jets
|
41 |
};
|
42 |
}
|
43 |
#endif
|