Go to the documentation of this file. 1 #ifndef RecoECAL_ECALClusters_Multi5x5ClusterAlgo_h
2 #define RecoECAL_ECALClusters_Multi5x5ClusterAlgo_h
36 std::vector<std::pair<DetId, float> >
hits_;
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>());
std::vector< std::pair< DetId, float > > hits_
std::vector< ProtoBasicCluster > protoClusters_
std::vector< EcalRecHit >::const_iterator const_iterator
bool checkMaxima(CaloNavigator< DetId > &navigator, const EcalRecHitCollection *hits)
std::vector< reco::BasicCluster > clusters_v
void mainSearch(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p)
math::XYZPoint Point
point in the space
virtual ~Multi5x5ClusterAlgo()
bool containsSeed() const
bool removeHit(const EcalRecHit &hitToRM)
std::vector< int > v_chstatus_
std::vector< std::pair< DetId, float > > current_v
void addCrystal(const DetId &det)
bool reassignSeedCrysToClusterItSeeds_
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 >())
reco::CaloID::Detectors detector_
The ecal region used.
reassignSeedCrysToClusterItSeeds
std::map< DetId, EcalRecHit > RecHitsMap
PositionCalc posCalculator_
XYZPointD XYZPoint
point in space with cartesian internal representation
const EcalRecHitCollection * recHits_
std::vector< EcalRecHit > seeds
std::set< DetId > canSeed_s
Multi5x5ClusterAlgo(double ebst, double ecst, const std::vector< int > &v_chstatus, const PositionCalc &posCalc, bool reassignSeedCrysToClusterItSeeds=false)
double ecalBarrelSeedThreshold
void makeCluster(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorGeometry *geometryES_p, const EcalRecHitCollection::const_iterator &seedIt, bool seedOutside)
ProtoBasicCluster(float iEnergy, const EcalRecHit &iSeed, std::vector< std::pair< DetId, float > > &iHits)
void prepareCluster(CaloNavigator< DetId > &navigator, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry)
double ecalEndcapSeedThreshold
const std::vector< std::pair< DetId, float > > & hits() const
bool isSeedCrysInHits_() const
std::vector< std::pair< DetId, int > > whichClusCrysBelongsTo_
const EcalRecHit & seed() const