test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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,
39  const CaloSubdetectorGeometry*& geometry_p,
40  CaloSubdetectorTopology*& topology_p,
41  double deltaEta, double minDeltaPhi, double maxDeltaPhi);
42 
43  bool goodStrip(RecHitsMap::iterator candidate_it);
44 
45  private:
46 
48 
49  std::vector<ESDetId> road_2d;
50 
51  // The map of hits
53 
54  // The set of used DetID's
56 
57 };
58 #endif
59 
reco::PreshowerCluster makeOneCluster(ESDetId strip, HitsID *used_strips, RecHitsMap *rechits_map, const CaloSubdetectorGeometry *&geometry_p, CaloSubdetectorTopology *&topology_p, double deltaEta, double minDeltaPhi, double maxDeltaPhi)
std::map< DetId, EcalRecHit > RecHitsMap
Definition: HLTAlCaMonPi0.h:24
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