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 // $Id: PreshowerClusterAlgo.h,v 1.13 2011/07/18 18:48:11 argiro Exp $
5 //
6 
7 //#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
14 
15 // C/C++ headers
16 #include <string>
17 #include <vector>
18 #include <set>
19 
22 
23 
25 
26 
27  public:
28 
29 
31 
32  typedef std::map<DetId, EcalRecHit> RecHitsMap;
33  typedef std::set<DetId> HitsID;
34 
37  {}
38 
39  PreshowerClusterAlgo(double stripEnergyCut, double clusterEnergyCut, int nStripCut) :
40  preshStripEnergyCut_(stripEnergyCut), preshClusterEnergyCut_(clusterEnergyCut), preshSeededNstr_(nStripCut)
41  {}
42 
44 
46  HitsID *used_strips,
48  const CaloSubdetectorGeometry*& geometry_p,
49  CaloSubdetectorTopology*& topology_p);
50 
51  bool goodStrip(RecHitsMap::iterator candidate_it);
52 
53  void findRoad(ESDetId strip, EcalPreshowerNavigator theESNav, int plane);
54 
55  private:
56 
60 
61 
62  std::vector<ESDetId> road_2d;
63 
64  // The map of hits
66 
67  // The set of used DetID's
69 
70 };
71 #endif
72 
CaloNavigator< ESDetId > EcalPreshowerNavigator
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)
std::map< DetId, EcalRecHit > RecHitsMap
Definition: HLTAlCaMonPi0.h:24
bool goodStrip(RecHitsMap::iterator candidate_it)
std::vector< ESDetId > road_2d
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
std::set< DetId > HitsID
PreshowerClusterAlgo(double stripEnergyCut, double clusterEnergyCut, int nStripCut)