Revision: | 1.10 |
Committed: | Fri Jun 25 15:18:38 2010 UTC (14 years, 10 months ago) by bendavid |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, HEAD |
Branch point for: | Mit_025c_branch |
Changes since 1.9: | +3 -1 lines |
Log Message: | Add supercluster-calotower associations |
# | User | Rev | Content |
---|---|---|---|
1 | sixie | 1.1 | //-------------------------------------------------------------------------------------------------- |
2 | bendavid | 1.10 | // $Id: FillerCaloTowers.h,v 1.9 2010/03/18 20:21:00 bendavid Exp $ |
3 | sixie | 1.1 | // |
4 | loizides | 1.4 | // FillerCaloTowers |
5 | sixie | 1.1 | // |
6 | loizides | 1.4 | // Implementation of a filler to fill EDM CaloTowers into our mithep::CaloTower data structure. |
7 | sixie | 1.1 | // |
8 | loizides | 1.3 | // Authors: S.Xie |
9 | sixie | 1.1 | //-------------------------------------------------------------------------------------------------- |
10 | |||
11 | loizides | 1.3 | #ifndef MITPROD_TREEFILLER_FILLERCALOTOWERS_H |
12 | #define MITPROD_TREEFILLER_FILLERCALOTOWERS_H | ||
13 | sixie | 1.1 | |
14 | loizides | 1.7 | #include "MitAna/DataTree/interface/CaloTowerFwd.h" |
15 | #include "MitProd/TreeFiller/interface/AssociationMaps.h" | ||
16 | sixie | 1.1 | #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 | bendavid | 1.9 | void BookDataBlock(TreeWriter &tws); |
27 | loizides | 1.6 | void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
28 | sixie | 1.1 | |
29 | private: | ||
30 | loizides | 1.6 | std::string edmName_; //edm name of CaloTowers |
31 | std::string mitName_; //name of CaloTowers | ||
32 | std::string caloTowerMapName_; //name of export map | ||
33 | bendavid | 1.10 | std::string caloTowerDetIdMapName_; //name of export map |
34 | loizides | 1.6 | mithep::CaloTowerArr *caloTowers_; //array of CaloTowers |
35 | mithep::CaloTowerMap *caloTowerMap_; //map wrt CaloTowers | ||
36 | bendavid | 1.10 | mithep::CaloTowerDetIdMap *caloTowerDetIdMap_; //map wrt CaloTower DetId's |
37 | sixie | 1.1 | }; |
38 | } | ||
39 | #endif |