CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoEcal/EgammaCoreTools/interface/EcalTools.h

Go to the documentation of this file.
00001 
00010 #ifndef __EcalTools_h_
00011 #define __EcalTools_h_
00012 
00013 #include "DataFormats/DetId/interface/DetId.h"
00014 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00015 
00016 class EcalTools{
00017   
00018 public:
00019   
00020   static float swissCross( const DetId& id, 
00021                            const EcalRecHitCollection & recHits, 
00022                            float recHitThreshold , 
00023                            bool avoidIeta85=true);
00024 
00025 private:
00026 
00027   static float recHitE( const DetId id, const EcalRecHitCollection &recHits );
00028   static float recHitE( const DetId id, const EcalRecHitCollection & recHits, 
00029                         int dEta, int dPhi );
00030   static float recHitApproxEt( const DetId id, 
00031                                const EcalRecHitCollection &recHits );
00032 };
00033 
00034 
00035 #endif // __EcalTools_h_
00036 
00037 // Configure (x)emacs for this file ...
00038 // Local Variables:
00039 // mode:c++
00040 // compile-command: "scram b -k"
00041 // End: