CMS 3D CMS Logo

EgammaHLTEcalIsolation.h
Go to the documentation of this file.
1 #ifndef EgammaHLTAlgos_EgammaHLTEcalIsolation_h
2 #define EgammaHLTAlgos_EgammaHLTEcalIsolation_h
3 // -*- C++ -*-
4 //
5 // Package: EgammaHLTAlgos
6 // Class : EgammaHLTEcalIsolation
7 //
13 //
14 // Original Author: Monica Vazquez Acosta
15 // Created: Tue Jun 13 12:18:22 CEST 2006
16 //
20 
22 
24 
25 
27 {
28 
29  public:
30 
31  //EgammaHLTEcalIsolation(float egEcalIso_Photon_EtMin = 0., float egEcalIso_Photon_ConeSize = 0.3) :
32  EgammaHLTEcalIsolation(double egEcalIso_EtMin, double egEcalIso_ConeSize, int SC_algo_type) :
33  etMin(egEcalIso_EtMin), conesize(egEcalIso_ConeSize), algoType_(SC_algo_type) {
34  /*
35  std::cout << "EgammaHLTEcalIsolation instance:"
36  << " ptMin=" << etMin
37  << " conesize=" << conesize
38  << std::endl;
39  */
40 
41  }
42 
43  float isolPtSum(const reco::RecoCandidate *recocandidate,
44  const std::vector<const reco::SuperCluster*>& sclusters,
45  const std::vector<const reco::BasicCluster*>& bclusters) const;
46 
48  float getetMin() const { return etMin; }
50  float getConeSize() const { return conesize; }
51 
52  private:
53 
54  // ---------- member data --------------------------------
55 
56  // Parameters of isolation cone geometry.
57  // Photon case
58  double etMin;
59  double conesize;
60  int algoType_;
61 
62 };
63 
64 
65 #endif
float isolPtSum(const reco::RecoCandidate *recocandidate, const std::vector< const reco::SuperCluster * > &sclusters, const std::vector< const reco::BasicCluster * > &bclusters) const
float getConeSize() const
Get isolation cone size.
float getetMin() const
Get Et cut for ecal hits.
EgammaHLTEcalIsolation(double egEcalIso_EtMin, double egEcalIso_ConeSize, int SC_algo_type)