CMS 3D CMS Logo

PreshowerPhiClusterAlgo.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterAlgos_PreshowerPhiClusterAlgo_h
2 #define RecoEcal_EgammaClusterAlgos_PreshowerPhiClusterAlgo_h
3 
10 #include <string>
11 #include <vector>
12 #include <set>
13 
16 
18 
19  public:
20 
22 
23  typedef std::map<DetId, EcalRecHit> RecHitsMap;
24  typedef std::set<DetId> HitsID;
25 
28  {}
29 
30  PreshowerPhiClusterAlgo(float stripEnergyCut) :
31  esStripEnergyCut_(stripEnergyCut)
32  {}
33 
35 
37  HitsID *used_strips,
38  RecHitsMap *rechits_map,
39  const CaloSubdetectorGeometry* geometry_p,
40  double deltaEta, double minDeltaPhi, double maxDeltaPhi);
41 
42  bool goodStrip(RecHitsMap::iterator candidate_it);
43 
44  private:
45 
47 
48  std::vector<ESDetId> road_2d;
49 
50  // The map of hits
51  RecHitsMap *rechits_map;
52 
53  // The set of used DetID's
54  HitsID *used_s;
55 
56 };
57 #endif
58 
reco::PreshowerCluster makeOneCluster(ESDetId strip, HitsID *used_strips, RecHitsMap *rechits_map, const CaloSubdetectorGeometry *geometry_p, double deltaEta, double minDeltaPhi, double maxDeltaPhi)
static const double deltaEta
Definition: CaloConstants.h:8
PreshowerPhiClusterAlgo(float stripEnergyCut)
bool goodStrip(RecHitsMap::iterator candidate_it)
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
std::vector< ESDetId > road_2d
std::map< DetId, EcalRecHit > RecHitsMap