CMS 3D CMS Logo

HGCalClusterTools.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaTools_HGCalClusterTools_h
2 #define RecoEgamma_EgammaTools_HGCalClusterTools_h
3 
5 #include <vector>
6 
8 public:
9  enum class EType { ET, ENERGY };
10 
11  static float energyInCone(const float eta,
12  const float phi,
13  const std::vector<reco::CaloCluster>& layerClusters,
14  const float minDR,
15  const float maxDR,
16  const float minEt,
17  const float minEnergy,
18  const std::vector<DetId::Detector>& subDets,
20 
21  static float hadEnergyInCone(const float eta,
22  const float phi,
23  const std::vector<reco::CaloCluster>& layerClusters,
24  const float minDR,
25  const float maxDR,
26  const float minEt,
27  const float minEnergy,
28  const HGCalClusterTools::EType& eType = EType::ENERGY) {
29  return energyInCone(
31  }
32  static float emEnergyInCone(const float eta,
33  const float phi,
34  const std::vector<reco::CaloCluster>& layerClusters,
35  const float minDR,
36  const float maxDR,
37  const float minEt,
38  const float minEnergy,
39  const HGCalClusterTools::EType& eType = EType::ENERGY) {
41  }
42 };
43 
44 #endif
particleFlowClusterECALTimeSelected_cfi.minEnergy
minEnergy
Definition: particleFlowClusterECALTimeSelected_cfi.py:9
HGCalClusterTools::EType::ET
HGCalClusterTools::emEnergyInCone
static float emEnergyInCone(const float eta, const float phi, const std::vector< reco::CaloCluster > &layerClusters, const float minDR, const float maxDR, const float minEt, const float minEnergy, const HGCalClusterTools::EType &eType=EType::ENERGY)
Definition: HGCalClusterTools.h:32
HGCalClusterTools::EType
EType
Definition: HGCalClusterTools.h:9
DetId::HGCalHSi
Definition: DetId.h:33
DetId::HGCalEE
Definition: DetId.h:32
PVValHelper::eta
Definition: PVValidationHelpers.h:69
EgHLTOffEleSelection_cfi.minEt
minEt
Definition: EgHLTOffEleSelection_cfi.py:10
CaloClusterFwd.h
HLTEgPhaseIITestSequence_cff.layerClusters
layerClusters
Definition: HLTEgPhaseIITestSequence_cff.py:2506
PDWG_EXOHSCP_cff.minDR
minDR
Definition: PDWG_EXOHSCP_cff.py:109
HGCalClusterTools::energyInCone
static float energyInCone(const float eta, const float phi, const std::vector< reco::CaloCluster > &layerClusters, const float minDR, const float maxDR, const float minEt, const float minEnergy, const std::vector< DetId::Detector > &subDets, const HGCalClusterTools::EType &eType=EType::ENERGY)
Definition: HGCalClusterTools.cc:7
HGCalClusterTools::EType::ENERGY
DDAxes::phi
HGCalClusterTools::hadEnergyInCone
static float hadEnergyInCone(const float eta, const float phi, const std::vector< reco::CaloCluster > &layerClusters, const float minDR, const float maxDR, const float minEt, const float minEnergy, const HGCalClusterTools::EType &eType=EType::ENERGY)
Definition: HGCalClusterTools.h:21
HGCalClusterTools
Definition: HGCalClusterTools.h:7
DetId::HGCalHSc
Definition: DetId.h:34
jets_cff.maxDR
maxDR
Definition: jets_cff.py:126