CMS 3D CMS Logo

EgammaHadTower.h
Go to the documentation of this file.
1 #ifndef EgammaHadTower_h
2 #define EgammaHadTower_h
3 
4 // Finds the towers behind a super-cluster using the CaloTowerConstituentMap
5 // Florian Beaudette 22 Jun 2011
6 
12 
13 class HcalChannelQuality;
14 
15 namespace egamma {
16  enum class HoeMode { SingleTower = 0, TowersBehindCluster = 1 };
17 
18  double depth1HcalESum(std::vector<CaloTowerDetId> const& towers, CaloTowerCollection const&);
19  double depth2HcalESum(std::vector<CaloTowerDetId> const& towers, CaloTowerCollection const&);
20 
21  std::vector<CaloTowerDetId> towersOf(reco::SuperCluster const& sc,
22  CaloTowerConstituentsMap const& towerMap,
24 
25  CaloTowerDetId towerOf(reco::CaloCluster const& cluster, CaloTowerConstituentsMap const& towerMap);
26 
27  bool hasActiveHcal(std::vector<CaloTowerDetId> const& towers,
28  CaloTowerConstituentsMap const& towerMap,
29  HcalChannelQuality const& hcalQuality,
30  HcalTopology const& hcalTopology);
31 }; // namespace egamma
32 
33 #endif
HLT_FULL_cff.towers
towers
Definition: HLT_FULL_cff.py:36358
egamma::HoeMode::SingleTower
reco::SuperCluster
Definition: SuperCluster.h:18
CaloTowerConstituentsMap.h
HcalTopology
Definition: HcalTopology.h:26
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
edm::SortedCollection< CaloTower >
HcalChannelQuality
Definition: HcalChannelQuality.h:17
egamma::depth2HcalESum
double depth2HcalESum(std::vector< CaloTowerDetId > const &towers, CaloTowerCollection const &)
Definition: EgammaHadTower.cc:83
reco::CaloCluster
Definition: CaloCluster.h:31
CaloTowerConstituentsMap
Definition: CaloTowerConstituentsMap.h:18
egamma::HoeMode
HoeMode
Definition: EgammaHadTower.h:16
egamma::towerOf
CaloTowerDetId towerOf(reco::CaloCluster const &cluster, CaloTowerConstituentsMap const &towerMap)
Definition: EgammaHadTower.cc:10
egamma::towersOf
std::vector< CaloTowerDetId > towersOf(reco::SuperCluster const &sc, CaloTowerConstituentsMap const &towerMap, HoeMode mode=HoeMode::SingleTower)
Definition: EgammaHadTower.cc:25
egamma::HoeMode::TowersBehindCluster
CaloTowerCollection.h
egamma
Definition: ConversionFinder.h:29
HcalTopology.h
SuperClusterFwd.h
egamma::depth1HcalESum
double depth1HcalESum(std::vector< CaloTowerDetId > const &towers, CaloTowerCollection const &)
Definition: EgammaHadTower.cc:73
egamma::hasActiveHcal
bool hasActiveHcal(std::vector< CaloTowerDetId > const &towers, CaloTowerConstituentsMap const &towerMap, HcalChannelQuality const &hcalQuality, HcalTopology const &hcalTopology)
Definition: EgammaHadTower.cc:93
CaloCluster.h
CaloTowerDetId
Definition: CaloTowerDetId.h:12