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
bool hasActiveHcal(std::vector< CaloTowerDetId > const &towers, CaloTowerConstituentsMap const &towerMap, HcalChannelQuality const &hcalQuality, HcalTopology const &hcalTopology)
CaloTowerDetId towerOf(reco::CaloCluster const &cluster, CaloTowerConstituentsMap const &towerMap)
double depth2HcalESum(std::vector< CaloTowerDetId > const &towers, CaloTowerCollection const &)
double depth1HcalESum(std::vector< CaloTowerDetId > const &towers, CaloTowerCollection const &)
std::vector< CaloTowerDetId > towersOf(reco::SuperCluster const &sc, CaloTowerConstituentsMap const &towerMap, HoeMode mode=HoeMode::SingleTower)