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<RectangularEtaPhiRegion>&
regions = std::vector<RectangularEtaPhiRegion>());
void makeCluster(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorGeometry *geometryES_p, const EcalRecHitCollection::const_iterator &seedIt, bool seedOutside)
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_
reassignSeedCrysToClusterItSeeds
void addCrystal(const DetId &det)
std::vector< std::pair< DetId, float > > current_v
std::map< DetId, EcalRecHit > RecHitsMap
std::vector< ProtoBasicCluster > protoClusters_
bool isSeedCrysInHits_() const
bool removeHit(const EcalRecHit &hitToRM)
std::vector< EcalRecHit > seeds
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< RectangularEtaPhiRegion > ®ions=std::vector< RectangularEtaPhiRegion >())
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)
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_