CMS 3D CMS Logo

PreshowerClusterAlgo.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterAlgos_PreshowerClusterAlgo_h
2 #define RecoEcal_EgammaClusterAlgos_PreshowerClusterAlgo_h
3 //
4 //
5 
6 //#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
13 
14 // C/C++ headers
15 #include <string>
16 #include <vector>
17 #include <set>
18 
21 
23 public:
25 
26  typedef std::map<DetId, EcalRecHit> RecHitsMap;
27  typedef std::set<DetId> HitsID;
28 
30 
31  PreshowerClusterAlgo(double stripEnergyCut, double clusterEnergyCut, int nStripCut)
32  : preshStripEnergyCut_(stripEnergyCut), preshClusterEnergyCut_(clusterEnergyCut), preshSeededNstr_(nStripCut) {}
33 
35 
37  HitsID *used_strips,
39  const CaloSubdetectorGeometry *geometry_p,
40  const CaloSubdetectorTopology *topology_p);
41 
42  bool goodStrip(RecHitsMap::iterator candidate_it);
43 
44  void findRoad(ESDetId strip, EcalPreshowerNavigator theESNav, int plane);
45 
46 private:
50 
51  std::vector<ESDetId> road_2d;
52 
53  // The map of hits
55 
56  // The set of used DetID's
58 };
59 #endif
void findRoad(ESDetId strip, EcalPreshowerNavigator theESNav, int plane)
std::map< DetId, EcalRecHit > RecHitsMap
reco::PreshowerCluster makeOneCluster(ESDetId strip, HitsID *used_strips, RecHitsMap *rechits_map, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p)
bool goodStrip(RecHitsMap::iterator candidate_it)
std::vector< ESDetId > road_2d
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
std::map< DetId, EcalRecHit > RecHitsMap
std::set< DetId > HitsID
PreshowerClusterAlgo(double stripEnergyCut, double clusterEnergyCut, int nStripCut)