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 
10 
11 
12 class CaloTopology;
13 class EBDetId;
15  public:
16 
17  // the severity is the fraction of cluster energy
18  // taken by good channels
19  // (e.g. not noisy, dead and recovered etc.)
20  static float goodFraction( const reco::CaloCluster & , const EcalRecHitCollection &, const EcalSeverityLevelAlgo& );
21  // fraction of SC energy around closest problematic
23  // 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)
24  static DetId closestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const CaloTopology* topology, const EcalSeverityLevelAlgo& );
25  // retrieve the distance in ieta,iphi (number of crystals) of the closest problematic channel wrt seed crystal (defined as above)
26  // return -1,-1 if no crystal is found within a search region of 11 (eta) x 51 (phi)
27  static std::pair<int,int> etaphiDistanceClosestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const CaloTopology* topology, const EcalSeverityLevelAlgo& );
28 
29 
30 };
31 
32 #endif
static std::pair< int, int > etaphiDistanceClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
CaloTopology const * topology(0)
static float goodFraction(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalSeverityLevelAlgo &)
static float fractionAroundClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition: DetId.h:18
static DetId closestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)