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_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 |
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: FillerSuperClusters.h,v 1.9 2010/03/24 15:41:23 sixie Exp $ |
3 | sixie | 1.1 | // |
4 | // FillerSuperClusters | ||
5 | // | ||
6 | loizides | 1.4 | // Implementation of a filler to fill EDM super clusters into our mithep::SuperCluster |
7 | // data structure. | ||
8 | sixie | 1.1 | // |
9 | loizides | 1.4 | // Authors: S.Xie |
10 | sixie | 1.1 | //-------------------------------------------------------------------------------------------------- |
11 | |||
12 | loizides | 1.2 | #ifndef MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H |
13 | #define MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H | ||
14 | sixie | 1.1 | |
15 | loizides | 1.6 | #include "MitAna/DataTree/interface/SuperClusterCol.h" |
16 | #include "MitProd/TreeFiller/interface/AssociationMaps.h" | ||
17 | sixie | 1.1 | #include "MitProd/TreeFiller/interface/BaseFiller.h" |
18 | |||
19 | namespace mithep | ||
20 | { | ||
21 | class FillerSuperClusters : public BaseFiller | ||
22 | { | ||
23 | public: | ||
24 | FillerSuperClusters(const edm::ParameterSet &cfg, const char *name, bool active=1); | ||
25 | ~FillerSuperClusters(); | ||
26 | |||
27 | bendavid | 1.8 | void BookDataBlock(TreeWriter &tws); |
28 | loizides | 1.5 | void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
29 | const mithep::SuperClusterMap *GetSuperClusterMap() const { return superClusterMap_; } | ||
30 | sixie | 1.1 | |
31 | private: | ||
32 | loizides | 1.5 | std::string edmName_; //edm name of collection |
33 | std::string mitName_; //mit name of collection | ||
34 | std::string basicClusterMapName_; //name of imp. map wrt basic clus | ||
35 | bendavid | 1.10 | std::string caloTowerDetIdMapName_; //name of imp. mape wrt calo tower det id's |
36 | loizides | 1.5 | std::string superClusterMapName_; //name of exported map |
37 | std::string superClusterIdMapName_; //name of exported id map | ||
38 | sixie | 1.9 | std::string caloTowerName_; //name of calotower collection |
39 | loizides | 1.5 | const mithep::BasicClusterMap *basicClusterMap_; //map wrt basic clusters |
40 | bendavid | 1.10 | const mithep::CaloTowerDetIdMap *caloTowerDetIdMap_; //map wrt calo tower det id's |
41 | loizides | 1.5 | mithep::SuperClusterArr *superClusters_; //array of super clusters |
42 | mithep::SuperClusterMap *superClusterMap_; //map wrt super clusters | ||
43 | mithep::SuperClusterIdMap *superClusterIdMap_; //map of DetIds to superclusters | ||
44 | sixie | 1.1 | }; |
45 | } | ||
46 | #endif |