test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
22 
24 
25 
26  public:
27 
28 
30 
31  typedef std::map<DetId, EcalRecHit> RecHitsMap;
32  typedef std::set<DetId> HitsID;
33 
36  {}
37 
38  PreshowerClusterAlgo(double stripEnergyCut, double clusterEnergyCut, int nStripCut) :
39  preshStripEnergyCut_(stripEnergyCut), preshClusterEnergyCut_(clusterEnergyCut), preshSeededNstr_(nStripCut)
40  {}
41 
43 
45  HitsID *used_strips,
47  const CaloSubdetectorGeometry*& geometry_p,
48  CaloSubdetectorTopology*& topology_p);
49 
50  bool goodStrip(RecHitsMap::iterator candidate_it);
51 
52  void findRoad(ESDetId strip, EcalPreshowerNavigator theESNav, int plane);
53 
54  private:
55 
59 
60 
61  std::vector<ESDetId> road_2d;
62 
63  // The map of hits
65 
66  // The set of used DetID's
68 
69 };
70 #endif
71 
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, 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::set< DetId > HitsID
PreshowerClusterAlgo(double stripEnergyCut, double clusterEnergyCut, int nStripCut)
std::map< DetId, EcalRecHit > RecHitsMap
Definition: DQMSourcePi0.h:27