CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
13 
14 
16  public:
17 
19 
22  double getDepth1HcalESum( const reco::SuperCluster & sc ) const ;
23  double getDepth2HcalESum( const reco::SuperCluster & sc ) const ;
24  double getDepth1HcalESum( const std::vector<CaloTowerDetId> & towers ) const ;
25  double getDepth2HcalESum( const std::vector<CaloTowerDetId> & towers ) const ;
26  std::vector<CaloTowerDetId> towersOf(const reco::SuperCluster& sc) const ;
27  CaloTowerDetId towerOf(const reco::CaloCluster& cluster) const ;
28  void setTowerCollection(const CaloTowerCollection* towercollection);
29 
30  private:
34  unsigned int NMaxClusters_;
35 };
36 
38 
39 #endif
const CaloTowerCollection * towerCollection_
CaloTowerDetId towerOf(const reco::CaloCluster &cluster) const
bool ClusterGreaterThan(const reco::CaloClusterPtr &c1, const reco::CaloClusterPtr &c2)
void setTowerCollection(const CaloTowerCollection *towercollection)
double getDepth1HcalESum(const reco::SuperCluster &sc) const
const CaloTowerConstituentsMap * towerMap_
std::vector< CaloTowerDetId > towersOf(const reco::SuperCluster &sc) const
double getDepth2HcalESum(const reco::SuperCluster &sc) const
unsigned int NMaxClusters_
EgammaHadTower(const edm::EventSetup &es, HoeMode mode=SingleTower)