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 
14 
15 class HcalChannelQuality;
16 
18 public:
20 
22  double getDepth1HcalESum(const std::vector<CaloTowerDetId>& towers, CaloTowerCollection const&) const;
23  double getDepth2HcalESum(const std::vector<CaloTowerDetId>& towers, CaloTowerCollection const&) const;
24  std::vector<CaloTowerDetId> towersOf(const reco::SuperCluster& sc) const;
25  CaloTowerDetId towerOf(const reco::CaloCluster& cluster) const;
26  bool hasActiveHcal(const std::vector<CaloTowerDetId>& towers) const;
27 
28 private:
31  unsigned int nMaxClusters_;
34 };
35 
36 #endif
EgammaHadTower::SingleTower
Definition: EgammaHadTower.h:19
EgammaHadTower::HoeMode
HoeMode
Definition: EgammaHadTower.h:19
EgammaHadTower::nMaxClusters_
unsigned int nMaxClusters_
Definition: EgammaHadTower.h:31
reco::SuperCluster
Definition: SuperCluster.h:18
CaloTowerConstituentsMap.h
HcalTopology
Definition: HcalTopology.h:26
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
EgammaHadTower::EgammaHadTower
EgammaHadTower(const edm::EventSetup &es, HoeMode mode=SingleTower)
Definition: EgammaHadTower.cc:20
edm::SortedCollection< CaloTower >
HcalChannelQuality
Definition: HcalChannelQuality.h:17
EgammaHadTower::mode_
HoeMode mode_
Definition: EgammaHadTower.h:30
EgammaHadTower::hasActiveHcal
bool hasActiveHcal(const std::vector< CaloTowerDetId > &towers) const
Definition: EgammaHadTower.cc:116
EgammaHadTower::getDepth2HcalESum
double getDepth2HcalESum(const std::vector< CaloTowerDetId > &towers, CaloTowerCollection const &) const
Definition: EgammaHadTower.cc:105
EgammaHadTower::hcalQuality_
const HcalChannelQuality * hcalQuality_
Definition: EgammaHadTower.h:32
reco::CaloCluster
Definition: CaloCluster.h:31
CaloTowerConstituentsMap
Definition: CaloTowerConstituentsMap.h:18
edm::EventSetup
Definition: EventSetup.h:57
CaloTowerCollection.h
EgammaHadTower::towersOf
std::vector< CaloTowerDetId > towersOf(const reco::SuperCluster &sc) const
Definition: EgammaHadTower.cc:50
HLT_2018_cff.towers
towers
Definition: HLT_2018_cff.py:35030
HcalTopology.h
SuperClusterFwd.h
EgammaHadTower::towerMap_
const CaloTowerConstituentsMap * towerMap_
Definition: EgammaHadTower.h:29
SuperCluster.h
EgammaHadTower::getDepth1HcalESum
double getDepth1HcalESum(const std::vector< CaloTowerDetId > &towers, CaloTowerCollection const &) const
Definition: EgammaHadTower.cc:94
EventSetup.h
EgammaHadTower::TowersBehindCluster
Definition: EgammaHadTower.h:19
EgammaHadTower
Definition: EgammaHadTower.h:17
EgammaHadTower::hcalTopology_
const HcalTopology * hcalTopology_
Definition: EgammaHadTower.h:33
EgammaHadTower::towerOf
CaloTowerDetId towerOf(const reco::CaloCluster &cluster) const
Definition: EgammaHadTower.cc:35
CaloCluster.h
CaloTowerDetId
Definition: CaloTowerDetId.h:12