CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTools.h
Go to the documentation of this file.
1 
10 #ifndef __EcalTools_h_
11 #define __EcalTools_h_
12 
15 
16 class EcalTools{
17 
18 public:
19 
20  static float swissCross( const DetId& id,
21  const EcalRecHitCollection & recHits,
22  float recHitThreshold ,
23  bool avoidIeta85=true);
24 
25 private:
26 
27  static float recHitE( const DetId id, const EcalRecHitCollection &recHits );
28  static float recHitE( const DetId id, const EcalRecHitCollection & recHits,
29  int dEta, int dPhi );
30  static float recHitApproxEt( const DetId id,
31  const EcalRecHitCollection &recHits );
32 };
33 
34 
35 #endif // __EcalTools_h_
36 
37 // Configure (x)emacs for this file ...
38 // Local Variables:
39 // mode:c++
40 // compile-command: "scram b -k"
41 // End:
double dPhi(double phi1, double phi2)
Definition: JetUtil.h:30
Definition: DetId.h:20
static float recHitE(const DetId id, const EcalRecHitCollection &recHits)
Definition: EcalTools.cc:62
static float swissCross(const DetId &id, const EcalRecHitCollection &recHits, float recHitThreshold, bool avoidIeta85=true)
Definition: EcalTools.cc:7
static float recHitApproxEt(const DetId id, const EcalRecHitCollection &recHits)
Definition: EcalTools.cc:72