1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerCaloTowers.h,v 1.7 2009/06/15 15:00:24 loizides Exp $
|
3 |
//
|
4 |
// FillerCaloTowers
|
5 |
//
|
6 |
// Implementation of a filler to fill EDM CaloTowers into our mithep::CaloTower data structure.
|
7 |
//
|
8 |
// Authors: S.Xie
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef MITPROD_TREEFILLER_FILLERCALOTOWERS_H
|
12 |
#define MITPROD_TREEFILLER_FILLERCALOTOWERS_H
|
13 |
|
14 |
#include "MitAna/DataTree/interface/CaloTowerFwd.h"
|
15 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
16 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
17 |
|
18 |
namespace mithep
|
19 |
{
|
20 |
class FillerCaloTowers : public BaseFiller
|
21 |
{
|
22 |
public:
|
23 |
FillerCaloTowers(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
24 |
~FillerCaloTowers();
|
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 CaloTowers
|
31 |
std::string mitName_; //name of CaloTowers
|
32 |
std::string caloTowerMapName_; //name of export map
|
33 |
mithep::CaloTowerArr *caloTowers_; //array of CaloTowers
|
34 |
mithep::CaloTowerMap *caloTowerMap_; //map wrt CaloTowers
|
35 |
};
|
36 |
}
|
37 |
#endif
|