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 public:
20 
21  typedef std::map<DetId, EcalRecHit> RecHitsMap;
22  typedef std::set<DetId> HitsID;
23 
25 
26  PreshowerPhiClusterAlgo(float stripEnergyCut) : esStripEnergyCut_(stripEnergyCut) {}
27 
29 
31  HitsID *used_strips,
33  const CaloSubdetectorGeometry *geometry_p,
34  double deltaEta,
35  double minDeltaPhi,
36  double maxDeltaPhi);
37 
38  bool goodStrip(RecHitsMap::iterator candidate_it);
39 
40 private:
42 
43  std::vector<ESDetId> road_2d;
44 
45  // The map of hits
47 
48  // The set of used DetID's
50 };
51 #endif
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::map< DetId, EcalRecHit > RecHitsMap
std::vector< ESDetId > road_2d
std::map< DetId, EcalRecHit > RecHitsMap