1 #ifndef RecoECAL_ECALClusters_Multi5x5ClusterAlgo_h 2 #define RecoECAL_ECALClusters_Multi5x5ClusterAlgo_h 36 std::vector<std::pair<DetId, float> >
hits_;
42 : energy_(iEnergy), seed_(iSeed) {
49 const std::vector<std::pair<DetId, float> > &
hits()
const {
return hits_; }
63 const std::vector<int> &v_chstatus,
83 bool regional =
false,
84 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_
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)
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< std::pair< DetId, float > > hits_
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_
std::vector< std::pair< DetId, int > > whichClusCrysBelongsTo_