1 #ifndef RecoECAL_ECALClusters_Multi5x5ClusterAlgo_h
2 #define RecoECAL_ECALClusters_Multi5x5ClusterAlgo_h
38 std::vector<std::pair<DetId,float> >
hits_;
46 const std::vector<std::pair<DetId,float> >&
hits()
const{
return hits_;}
77 bool regional =
false,
78 const std::vector<EcalEtaPhiRegion>& regions = std::vector<EcalEtaPhiRegion>());
void makeCluster(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorGeometry *geometryES_p, const EcalRecHitCollection::const_iterator &seedIt, bool seedOutside)
std::vector< reco::BasicCluster > makeClusters(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, reco::CaloID::Detectors detector, bool regional=false, const std::vector< EcalEtaPhiRegion > ®ions=std::vector< EcalEtaPhiRegion >())
std::set< DetId > canSeed_s
ProtoBasicCluster(float iEnergy, const EcalRecHit &iSeed, std::vector< std::pair< DetId, float > > &iHits)
double ecalEndcapSeedThreshold
const EcalRecHitCollection * recHits_
std::vector< std::pair< DetId, float > > hits_
bool reassignSeedCrysToClusterItSeeds_
std::vector< EcalRecHit >::const_iterator const_iterator
const std::vector< std::pair< DetId, float > > & hits() const
bool containsSeed() const
double ecalBarrelSeedThreshold
void mainSearch(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p)
std::vector< int > v_chstatus_
void prepareCluster(CaloNavigator< DetId > &navigator, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry)
std::vector< std::pair< DetId, int > > whichClusCrysBelongsTo_
void addCrystal(const DetId &det)
std::vector< std::pair< DetId, float > > current_v
std::vector< ProtoBasicCluster > protoClusters_
bool isSeedCrysInHits_() const
bool removeHit(const EcalRecHit &hitToRM)
std::vector< EcalRecHit > seeds
virtual ~Multi5x5ClusterAlgo()
XYZPointD XYZPoint
point in space with cartesian internal representation
bool checkMaxima(CaloNavigator< DetId > &navigator, const EcalRecHitCollection *hits)
Multi5x5ClusterAlgo(double ebst, double ecst, const std::vector< int > &v_chstatus, const PositionCalc &posCalc, bool reassignSeedCrysToClusterItSeeds=false)
ESHandle< TrackerGeometry > geometry
math::XYZPoint Point
point in the space
reco::CaloID::Detectors detector_
The ecal region used.
std::vector< reco::BasicCluster > clusters_v
const EcalRecHit & seed() const
PositionCalc posCalculator_
std::map< DetId, EcalRecHit > RecHitsMap