CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalClusterSeverityLevelAlgo.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
2 #define RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
3 
9 
10 class CaloTopology;
11 class EBDetId;
13  public:
14 
15  // the severity is the fraction of cluster energy
16  // taken by good channels
17  // (e.g. not noisy, dead and recovered etc.)
18  static float goodFraction( const reco::CaloCluster & , const EcalRecHitCollection &, const EcalChannelStatus & );
19  // fraction of SC energy around closest problematic
20  static float fractionAroundClosestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const EcalChannelStatus &, const CaloTopology* topology );
21  // retrieve closest problematic channel wrt seed crystal using as distance sqrt(ieta^2+ieta^2+iphi^2+iphi^2). Return a null detId in case not found within a search region of 11 (ieta) x 51 (iphi)
22  static DetId closestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const EcalChannelStatus &, const CaloTopology* topology );
23  // retrieve the distance in ieta,iphi (number of crystals) of the closest problematic channel wrt seed crystal (defined as above)
24  // return -1,-1 if no crystal is found within a search region of 11 (eta) x 51 (phi)
25  static std::pair<int,int> etaphiDistanceClosestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const EcalChannelStatus &, const CaloTopology* topology );
26 
27 
28 };
29 
30 #endif
static float fractionAroundClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalChannelStatus &, const CaloTopology *topology)
Definition: DetId.h:20
static float goodFraction(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalChannelStatus &)
static std::pair< int, int > etaphiDistanceClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalChannelStatus &, const CaloTopology *topology)
static DetId closestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalChannelStatus &, const CaloTopology *topology)