#include <CaloCluster.h>
Public Types | |
enum | AlgoId { island = 0, hybrid = 1, fixedMatrix = 2, dynamicHybrid = 3, multi5x5 = 4, particleFlow = 5, hgcal_em = 6, hgcal_had = 7, hgcal_scintillator = 8, hfnose = 9, undefined = 1000 } |
typedef AlgoId | AlgoID |
enum | HCalFlags { badHcalMarker = 1 } |
enum | SCFlags { cleanOnly = 0, common = 100, uncleanOnly = 200 } |
Public Member Functions | |
void | addHitAndFraction (DetId id, float fraction) |
AlgoId | algo () const |
algorithm identifier More... | |
AlgoID | algoID () const |
CaloCluster () | |
default constructor. Sets energy and position to zero More... | |
CaloCluster (AlgoID algoID) | |
constructor with algoId, to be used in all child classes More... | |
CaloCluster (double energy, const math::XYZPoint &position, const CaloID &caloID) | |
CaloCluster (double energy, const math::XYZPoint &position) | |
constructor from values More... | |
CaloCluster (double energy, const math::XYZPoint &position, const CaloID &caloID, const AlgoID &algoID, uint32_t flags=0) | |
CaloCluster (double energy, const math::XYZPoint &position, const CaloID &caloID, const std::vector< std::pair< DetId, float > > &usedHitsAndFractions, const AlgoId algoId, const DetId seedId=DetId(0), uint32_t flags=0) | |
CaloCluster (double energy, const math::XYZPoint &position, float chi2, const std::vector< DetId > &usedHits, const AlgoId algoId, uint32_t flags=0) | |
temporary compatibility constructor More... | |
const CaloID & | caloID () const |
double | correctedEnergy () const |
float | correctedEnergyUncertainty () const |
double | energy () const |
cluster energy More... | |
double | eta () const |
pseudorapidity of cluster centroid More... | |
uint32_t | flags () const |
const std::vector< std::pair< DetId, float > > & | hitsAndFractions () const |
bool | isInClean () const |
bool | isInUnclean () const |
bool | operator< (const CaloCluster &rhs) const |
comparison < operator More... | |
bool | operator<= (const CaloCluster &rhs) const |
comparison <= operator More... | |
bool | operator== (const CaloCluster &rhs) const |
comparison == operator More... | |
bool | operator> (const CaloCluster &rhs) const |
comparison > operator More... | |
bool | operator>= (const CaloCluster &rhs) const |
comparison >= operator More... | |
double | phi () const |
azimuthal angle of cluster centroid More... | |
const math::XYZPoint & | position () const |
cluster centroid position More... | |
std::string | printHitAndFraction (unsigned i) const |
print hitAndFraction More... | |
void | reset () |
resets the CaloCluster (position, energy, hitsAndFractions) More... | |
DetId | seed () const |
return DetId of seed More... | |
void | setAlgoId (const AlgoId &id) |
void | setCaloId (const CaloID &id) |
void | setCorrectedEnergy (double cenergy) |
void | setCorrectedEnergyUncertainty (float energyerr) |
void | setEnergy (double energy) |
void | setFlags (uint32_t flags) |
void | setPosition (const math::XYZPoint &p) |
void | setSeed (const DetId &id) |
size_t | size () const |
size in number of hits (e.g. in crystals for ECAL) More... | |
double | x () const |
x coordinate of cluster centroid More... | |
double | y () const |
y coordinate of cluster centroid More... | |
double | z () const |
z coordinate of cluster centroid More... | |
virtual | ~CaloCluster () |
destructor More... | |
Protected Attributes | |
AlgoID | algoID_ |
CaloID | caloID_ |
bitmask for detector information More... | |
double | correctedEnergy_ |
float | correctedEnergyUncertainty_ |
double | energy_ |
cluster energy More... | |
uint32_t | flags_ |
std::vector< std::pair< DetId, float > > | hitsAndFractions_ |
math::XYZPoint | position_ |
cluster centroid position More... | |
DetId | seedId_ |
DetId of seed. More... | |
Static Protected Attributes | |
static const uint32_t | flagsMask_ = 0x0FFFFFFF |
static const uint32_t | flagsOffset_ = 28 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const CaloCluster &cluster) |
print me More... | |
Base class for all types calorimeter clusters
Comments: modified AlgoId enumeration to include cleaning status flags In summary: algoID_ < 200 object is in clean collection algoID_ >=100 object is in unclean collection
Definition at line 31 of file CaloCluster.h.
typedef AlgoId reco::CaloCluster::AlgoID |
Definition at line 54 of file CaloCluster.h.
Enumerator | |
---|---|
island | |
hybrid | |
fixedMatrix | |
dynamicHybrid | |
multi5x5 | |
particleFlow | |
hgcal_em | |
hgcal_had | |
hgcal_scintillator | |
hfnose | |
undefined |
Definition at line 33 of file CaloCluster.h.
Enumerator | |
---|---|
cleanOnly | |
common | |
uncleanOnly |
Definition at line 48 of file CaloCluster.h.
|
inline |
default constructor. Sets energy and position to zero
Definition at line 57 of file CaloCluster.h.
|
inline |
constructor with algoId, to be used in all child classes
Definition at line 61 of file CaloCluster.h.
|
inline |
Definition at line 64 of file CaloCluster.h.
|
inline |
constructor from values
Definition at line 77 of file CaloCluster.h.
|
inline |
Definition at line 85 of file CaloCluster.h.
References flags(), flags_, and flagsMask_.
|
inline |
Definition at line 96 of file CaloCluster.h.
References flags(), flags_, and flagsMask_.
|
inline |
temporary compatibility constructor
Definition at line 116 of file CaloCluster.h.
References flags(), flags_, flagsMask_, hitsAndFractions_, and mps_fire::i.
|
inlinevirtual |
|
inline |
Definition at line 203 of file CaloCluster.h.
References HLT_2024v13_cff::fraction, and hitsAndFractions_.
Referenced by reco::PFCluster::addRecHitFraction(), PFEGammaAlgo::buildRefinedSuperCluster(), PFElectronTranslator::createSuperClusters(), and PFECALSuperClusterAlgo::finalizeSuperCluster().
|
inline |
algorithm identifier
Definition at line 190 of file CaloCluster.h.
References algoID_.
Referenced by algoID(), FWCaloClusterProxyBuilder::build(), PFElectronTranslator::createBasicCluster(), egammaisolation::EgammaEcalExtractor::deposit(), and EgammaEcalIsolation::getEcalEtSum().
|
inline |
|
inline |
Definition at line 201 of file CaloCluster.h.
References caloID_.
Referenced by reco::EcalClustersGraph::clusterPosition(), reco::EcalClustersGraph::computeCovariances(), reco::EcalClustersGraph::computeShowerShapes(), PFElectronTranslator::createBasicCluster(), reco::PFCluster::layer(), and reco::operator<<().
|
inline |
Definition at line 150 of file CaloCluster.h.
References correctedEnergy_.
Referenced by CalibratedPFCluster::energy(), EcalRegressionData::fill(), and reco::operator<<().
|
inline |
Definition at line 151 of file CaloCluster.h.
References correctedEnergyUncertainty_.
|
inline |
cluster energy
Definition at line 149 of file CaloCluster.h.
References energy_.
Referenced by ESRecoSummary::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), FWCaloClusterProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), ConversionTrackCandidateProducer::buildCollections(), ClusterShapeAlgo::calc_AbsZernikeMoment(), EcalClusterToolsT< noZS >::calc_AbsZernikeMoment(), HLTEcalResonanceFilter::calcPaircluster(), HLTRegionalEcalResonanceFilter::calcPaircluster(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), reco::EcalClustersGraph::computeCovariances(), reco::EcalClustersGraph::computeShowerShapes(), reco::EcalClustersGraph::computeVariables(), converter::SuperClusterToCandidate::convert(), EGEnergyCorrector::CorrectedEnergyWithError(), GsfElectronAlgo::createElectron(), TrackingRegionsFromSuperClustersProducer::createTrackingRegion(), egammaisolation::EgammaEcalExtractor::deposit(), egamma::ecalClusterEnergyUncertaintyElectronSpecific(), EcalClusterToolsT< noZS >::energyBasketFractionEta(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), ticl::PatternRecognitionbyCLUE3D< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyFastJet< TILES >::energyRegressionAndID(), TracksterLinksProducer::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), reco::PreshowerCluster::et(), ClusterShapeAlgo::fast_AbsZernikeMoment(), EcalClusterToolsT< noZS >::fast_AbsZernikeMoment(), ZeeCalibration::fillEleInfo(), PFEGammaAlgo::fillPFCandidates(), PFECALSuperClusterAlgo::finalizeSuperCluster(), EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic(), EcalClusterIsoCalculator::getBkgSubEcalClusterIso(), EcalClusterIsoCalculator::getEcalClusterIso(), EgammaEcalIsolation::getEcalEtSum(), EcalClusterToolsT< noZS >::getEnergyDepTopology(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), SCEnergyCorrectorSemiParm::getRegDataHGCALV1(), EcalClusterEnergyCorrection::getValue(), EcalClusterEnergyUncertainty::getValue(), EcalClusterCrackCorrection::getValue(), hgcal::ClusterTools::getWidths(), EcalClusterSeverityLevelAlgo::goodFraction(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), PreshowerClusterAlgo::makeOneCluster(), OutInConversionSeedFinder::makeSeeds(), HybridClusterAlgo::makeSuperClusters(), EGRegressionModifierV1::modifyObject(), EcalBasicClusterLocalContCorrection::operator()(), reco::PreshowerCluster::operator<(), reco::operator<<(), HFRecoEcalCandidateAlgo::produce(), EcalDigiSelector::produce(), UncleanSCRecoveryProducer::produce(), HiEgammaSCCorrectionMaker::produce(), EgammaSCCorrectionMaker::produce(), UnifiedSCCollectionProducer::produce(), PreshowerPhiClusterProducer::produce(), PreshowerClusterProducer::produce(), Jet.Jet::rawEnergy(), SuperClusterHelper::seedEnergy(), setEnergy(), SuperClusterHelper::sortClusters(), and SuperClusterHelper::SuperClusterHelper().
|
inline |
pseudorapidity of cluster centroid
Definition at line 181 of file CaloCluster.h.
References position_.
Referenced by Particle.Particle::__str__(), EgammaIsoESDetIdCollectionProducer::addDetIds(), ElectronCalibration::analyze(), ConversionTrackCandidateProducer::buildCollections(), HLTEcalResonanceFilter::calcPaircluster(), EgammaSuperClusters::closestMCParticle(), EgammaTowerIsolationNew< NC >::compute(), hgcal::EGammaPCAHelper::computeShowerWidth(), reco::EcalClustersGraph::computeVariables(), EGEnergyCorrector::CorrectedEnergyWithError(), datamodel.Object::DeltaR(), egammaisolation::EgammaEcalExtractor::deposit(), egamma::ecalClusterEnergyUncertaintyElectronSpecific(), PFEnergyCalibration::energyEm(), ticl::PatternRecognitionbyCLUE3D< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyFastJet< TILES >::energyRegressionAndID(), TracksterLinksProducer::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), EcalClusterLazyToolsBase::eseffsirir(), EcalClusterLazyToolsBase::eseffsixix(), EcalClusterLazyToolsBase::eseffsiyiy(), reco::PreshowerCluster::et(), SuperClusterHelper::eta(), EcalRegressionData::fill(), HGVHistoProducerAlgo::fill_cluster_histos(), EgammaEcalIsolation::getEcalEtSum(), EGRegressionModifierV3::getRegData(), SCEnergyCorrectorSemiParm::getRegDataECALHLTV1(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), SCEnergyCorrectorSemiParm::getRegDataHGCALHLTV1(), SCEnergyCorrectorSemiParm::getRegDataHGCALV1(), EcalClusterEnergyCorrection::getValue(), EcalClusterEnergyCorrectionObjectSpecific::getValue(), EcalClusterEnergyUncertainty::getValue(), EcalClusterCrackCorrection::getValue(), Jet.Jet::jetID(), egammaTools::localEcalClusterCoordsEE(), PreshowerClusterAlgo::makeOneCluster(), EGRegressionModifierV1::modifyObject(), datamodel.Object::p4(), HFRecoEcalCandidateAlgo::produce(), EcalDigiSelector::produce(), UncleanSCRecoveryProducer::produce(), UnifiedSCCollectionProducer::produce(), AlCaECALRecHitReducer::produce(), Jet.Jet::puJetId(), SuperClusterHelper::seedEta(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterLegoProxyBuilder::sharedBuild(), FWECALCaloDataDetailViewBuilder::superClusterEtaLess(), FWECALDetailViewBuilder::superClusterEtaLess(), and SuperClusterHelper::SuperClusterHelper().
|
inline |
Definition at line 193 of file CaloCluster.h.
References flags_, and flagsMask_.
Referenced by CaloCluster(), isInClean(), isInUnclean(), setFlags(), and reco::SuperCluster::setPreshowerPlanesStatus().
|
inline |
replace getHitsByDetId() : return hits by DetId and their corresponding fraction of energy considered to compute the total cluster energy
Definition at line 210 of file CaloCluster.h.
References hitsAndFractions_.
Referenced by FWPFCandidateWithHitsProxyBuilder::addHitsForCandidate(), AlCaECALRecHitReducer::AddMiniRecHitCollection(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), FWCaloClusterProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), GenericSimClusterMapper::buildClusters(), PFClusterFromHGCalTrackster::buildClusters(), RealisticSimClusterMapper::buildClusters(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), PhotonIsolationCalculator::calculate(), ClusterShapeAlgo::Calculate_2ndEnergy(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), ClusterShapeAlgo::Calculate_TopEnergy(), GsfElectronAlgo::calculateShowerShape(), PhotonIsolationCalculator::classify(), EcalClusterToolsT< noZS >::cluster2ndMoments(), reco::EcalClustersGraph::computeCovariances(), reco::EcalClustersGraph::computeShowerShapes(), reco::EcalClustersGraph::computeVariables(), EcalClusterToolsT< noZS >::covariances(), PFElectronTranslator::createBasicCluster(), HGCalShowerShapeHelper::createCalc(), GsfElectronAlgo::createElectron(), EcalClusterToolsT< noZS >::e1x3(), EcalClusterToolsT< noZS >::e1x5(), EcalClusterToolsT< noZS >::e2nd(), EcalClusterToolsT< noZS >::e2x2(), EcalClusterToolsT< noZS >::e2x5Bottom(), EcalClusterToolsT< noZS >::e2x5Left(), EcalClusterToolsT< noZS >::e2x5Max(), EcalClusterToolsT< noZS >::e2x5Right(), EcalClusterToolsT< noZS >::e2x5Top(), EcalClusterToolsT< noZS >::e3x1(), EcalClusterToolsT< noZS >::e3x2(), EcalClusterToolsT< noZS >::e3x3(), EcalClusterToolsT< noZS >::e4x4(), EcalClusterToolsT< noZS >::e5x1(), EcalClusterToolsT< noZS >::e5x5(), EcalClusterToolsT< noZS >::eBottom(), EcalClusterToolsT< noZS >::eLeft(), EcalClusterToolsT< noZS >::eMax(), EcalClusterToolsT< noZS >::energyBasketFractionEta(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), ticl::PatternRecognitionbyCLUE3D< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyFastJet< TILES >::energyRegressionAndID(), TracksterLinksProducer::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), EcalClusterToolsT< noZS >::eRight(), EcalClusterToolsT< noZS >::eTop(), egHLT::OffHelper::fillClusShapeData(), reco::EcalClustersGraph::fillHits(), HGVHistoProducerAlgo::findmaxhit(), EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic(), hgcal::ClusterTools::getClusterHadronFraction(), EcalClusterLazyToolsBase::getEcalRecHitCollection(), EcalClusterToolsT< noZS >::getEnergyDepTopology(), EcalClusterToolsT< noZS >::getMaximum(), SCEnergyCorrectorSemiParm::getRegDataECALHLTV1(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), SCEnergyCorrectorSemiParm::getRegDataHGCALV1(), EcalClusterCrackCorrection::getValue(), hgcal::ClusterTools::getWidths(), EcalClusterSeverityLevelAlgo::goodFraction(), EcalClusterToolsT< noZS >::localCovariances(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), EcalClusterToolsT< noZS >::matrixEnergy(), EcalClusterToolsT< noZS >::matrixSize(), EcalClusterToolsT< noZS >::mean5x5PositionInLocalCrysCoord(), EcalClusterToolsT< noZS >::mean5x5PositionInXY(), EcalClusterToolsT< noZS >::meanClusterPosition(), EcalClusterToolsT< noZS >::n5x5(), EcalBasicClusterLocalContCorrection::operator()(), reco::operator<<(), ClusterClusterMapping::overlap(), reco::PreshowerCluster::PreshowerCluster(), HGCalLayerClusterProducer::produce(), EcalClusterToolsT< noZS >::roundnessBarrelSuperClusters(), EcalClusterToolsT< noZS >::roundnessBarrelSuperClustersUserExtended(), EcalClusterToolsT< noZS >::scLocalCovariances(), GsfElectronAlgo::setCutBasedPreselectionFlag(), egamma::sharedEnergy(), FWECALCaloDataDetailViewBuilder::showSuperCluster(), FWECALDetailViewBuilder::showSuperCluster(), hgcal::EGammaPCAHelper::storeRecHits(), and egamma::towerOf().
|
inline |
Definition at line 198 of file CaloCluster.h.
References flags(), and uncleanOnly.
Referenced by UncleanSCRecoveryProducer::produce(), and UnifiedSCCollectionProducer::produce().
|
inline |
Definition at line 199 of file CaloCluster.h.
References common, and flags().
Referenced by UncleanSCRecoveryProducer::produce(), and UnifiedSCCollectionProducer::produce().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
azimuthal angle of cluster centroid
Definition at line 184 of file CaloCluster.h.
References position_.
Referenced by Particle.Particle::__str__(), EgammaIsoESDetIdCollectionProducer::addDetIds(), HLTEcalResonanceFilter::calcPaircluster(), EgammaSuperClusters::closestMCParticle(), EgammaTowerIsolationNew< NC >::compute(), hgcal::EGammaPCAHelper::computeShowerWidth(), reco::EcalClustersGraph::computeVariables(), EGEnergyCorrector::CorrectedEnergyWithError(), datamodel.Object::DeltaR(), egammaisolation::EgammaEcalExtractor::deposit(), PFEnergyCalibration::energyEm(), ticl::PatternRecognitionbyCLUE3D< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >::energyRegressionAndID(), ticl::PatternRecognitionbyFastJet< TILES >::energyRegressionAndID(), TracksterLinksProducer::energyRegressionAndID(), TrackstersMergeProducer::energyRegressionAndID(), EcalRegressionData::fill(), EGRegressionModifierV3::getRegData(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), SCEnergyCorrectorSemiParm::getRegDataHGCALV1(), PreshowerClusterAlgo::makeOneCluster(), EGRegressionModifierV1::modifyObject(), reco::PreshowerCluster::operator==(), datamodel.Object::p4(), SuperClusterHelper::phi(), ntupleDataFormat.Track::phiPull(), HFRecoEcalCandidateAlgo::produce(), SuperClusterHelper::seedPhi(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterLegoProxyBuilder::sharedBuild(), and SuperClusterHelper::SuperClusterHelper().
|
inline |
cluster centroid position
Definition at line 154 of file CaloCluster.h.
References position_.
Referenced by ContainmentCorrectionAnalyzer::analyze(), FWCaloClusterProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), ConversionTrackCandidateProducer::buildCollections(), HLTRegionalEcalResonanceFilter::calcPaircluster(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), reco::EcalClustersGraph::clusterPosition(), reco::EcalClustersGraph::computeCovariances(), converter::SuperClusterToCandidate::convert(), PFElectronTranslator::createBasicCluster(), GsfElectronAlgo::createElectron(), TrackingRegionsFromSuperClustersProducer::createTrackingRegion(), egammaisolation::EgammaEcalExtractor::deposit(), ZeeCalibration::fillEleInfo(), PFEGammaAlgo::fillPFCandidates(), PFECALSuperClusterAlgo::finalizeSuperCluster(), InOutConversionSeedFinder::findSeeds(), EgammaEcalIsolation::getEcalEtSum(), EcalClusterToolsT< noZS >::getEnergyDepTopology(), EgammaHcalIsolation::getHcalESum(), EgammaHcalIsolation::getHcalESumBc(), EgammaHcalIsolation::getHcalEtSum(), EgammaHcalIsolation::getHcalEtSumBc(), EgammaRecHitIsolation::getSum_(), EcalClusterCrackCorrection::getValue(), hgcal::ClusterTools::getWidths(), PFlow2DClusterizerWithTime::growPFClusters(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), PreshowerClusterAlgo::makeOneCluster(), OutInConversionSeedFinder::makeSeeds(), HybridClusterAlgo::makeSuperClusters(), ConversionTools::matchesConversion(), EcalBasicClusterLocalContCorrection::operator()(), reco::PreshowerCluster::operator<(), reco::operator<<(), reco::PreshowerCluster::operator==(), UncleanSCRecoveryProducer::produce(), HiEgammaSCCorrectionMaker::produce(), EgammaSCCorrectionMaker::produce(), SimPFProducer::produce(), PFAlgo::reconstructCluster(), KDTreeLinkerPSEcal::searchLinks(), InOutConversionSeedFinder::startSeed(), LinkByRecHit::testECALAndPSByRecHit(), LinkByRecHit::testHFEMAndHFHADByRecHit(), and LinkByRecHit::testTrackAndClusterByRecHit().
string CaloCluster::printHitAndFraction | ( | unsigned | i | ) | const |
print hitAndFraction
Definition at line 15 of file CaloCluster.cc.
References mps_fire::i, and MillePedeFileConverter_cfg::out.
Referenced by reco::operator<<().
void CaloCluster::reset | ( | void | ) |
resets the CaloCluster (position, energy, hitsAndFractions)
Definition at line 9 of file CaloCluster.cc.
Referenced by reco::PFCluster::reset().
|
inline |
return DetId of seed
Definition at line 219 of file CaloCluster.h.
References seedId_.
Referenced by PFMultiDepthClusterizer::absorbCluster(), EcalClusterLazyToolsBase::BasicClusterSeedTime(), FWCaloClusterProxyBuilder::build(), FWTracksterHitsProxyBuilder::build(), FWTracksterLayersProxyBuilder::build(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), Cluster3DPCACalculator::calculateAndSetPositionActual(), ECAL2DPositionCalcWithDepthCorr::calculateAndSetPositionActual(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), GsfElectronAlgo::calculateSaturationInfo(), PFlow2DClusterizerWithTime::clusterTimeResolutionFromSeed(), PFClusterEMEnergyCorrector::correctEnergies(), PFElectronTranslator::createBasicCluster(), GEDPhotonProducer::fillPhotonCollection(), SCEnergyCorrectorSemiParm::getCorrections(), SCEnergyCorrectorSemiParm::getRegData(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), EGRegressionModifierV3::getSeedCrysCoord(), PFlow2DClusterizerWithTime::growPFClusters(), EGRegressionModifierV1::modifyObject(), EcalBasicClusterLocalContCorrection::operator()(), and egamma::towerOf().
|
inline |
|
inline |
Definition at line 142 of file CaloCluster.h.
References caloID_, and l1ctLayer2EG_cff::id.
|
inline |
Definition at line 137 of file CaloCluster.h.
References correctedEnergy_.
Referenced by GenericSimClusterMapper::buildClusters(), PFClusterFromHGCalTrackster::buildClusters(), RealisticSimClusterMapper::buildClusters(), PFEGammaAlgo::buildRefinedSuperCluster(), PFClusterEMEnergyCorrector::correctEnergies(), PFECALSuperClusterAlgo::finalizeSuperCluster(), SCEnergyCorrectorSemiParm::modifyObject(), and LowPtGsfElectronSCProducer::produce().
|
inline |
Definition at line 138 of file CaloCluster.h.
References correctedEnergyUncertainty_.
Referenced by PFClusterEMEnergyCorrector::correctEnergies(), and SCEnergyCorrectorSemiParm::modifyObject().
|
inline |
Definition at line 136 of file CaloCluster.h.
References energy(), and energy_.
Referenced by EgammaSCEnergyCorrectionAlgo::applyCorrection(), EgammaSCEnergyCorrectionAlgo::applyCrackCorrection(), EgammaSCEnergyCorrectionAlgo::applyLocalContCorrection(), Basic2DClusterForEachSeed::buildClusters(), GenericSimClusterMapper::buildClusters(), PFClusterFromHGCalTrackster::buildClusters(), RealisticSimClusterMapper::buildClusters(), Cluster3DPCACalculator::calculateAndSetPositionActual(), ECAL2DPositionCalcWithDepthCorr::calculateAndSetPositionActual(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), and SCEnergyCorrectorSemiParm::modifyObject().
|
inline |
Definition at line 194 of file CaloCluster.h.
References flags(), flags_, and flagsMask_.
Referenced by HiEgammaSCEnergyCorrectionAlgo::applyCorrection(), UncleanSCRecoveryProducer::produce(), and UnifiedSCCollectionProducer::produce().
|
inline |
Definition at line 140 of file CaloCluster.h.
References AlCaHLTBitMon_ParallelJobs::p, and position_.
Referenced by Basic2DClusterForEachSeed::buildClusters(), Cluster3DPCACalculator::calculateAndSetPositionActual(), ECAL2DPositionCalcWithDepthCorr::calculateAndSetPositionActual(), Basic2DGenericPFlowPositionCalc::calculateAndSetPositionActual(), and HGCalLayerClusterProducer::produce().
|
inline |
Definition at line 146 of file CaloCluster.h.
References l1ctLayer2EG_cff::id, and seedId_.
Referenced by Basic2DClusterForEachSeed::buildClusters(), GenericSimClusterMapper::buildClusters(), PFClusterFromHGCalTrackster::buildClusters(), RealisticSimClusterMapper::buildClusters(), Basic2DGenericPFlowClusterizer::seedPFClustersFromTopo(), and PFlow2DClusterizerWithTime::seedPFClustersFromTopo().
|
inline |
size in number of hits (e.g. in crystals for ECAL)
Definition at line 187 of file CaloCluster.h.
References hitsAndFractions_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), FWTracksterLayersProxyBuilder::build(), EcalClusterLazyToolsBase::getEcalRecHitCollection(), and HGCalLayerClusterProducer::produce().
|
inline |
x coordinate of cluster centroid
Definition at line 172 of file CaloCluster.h.
References position_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), FWPFClusterRPZProxyBuilder::build(), FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), EcalClusterLazyToolsBase::eseffsirir(), EcalClusterLazyToolsBase::eseffsixix(), EcalClusterLazyToolsBase::eseffsiyiy(), EcalClusterIsoCalculator::getBkgSubEcalClusterIso(), EcalClusterIsoCalculator::getEcalClusterIso(), PreshowerClusterAlgo::makeOneCluster(), EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator()(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), and FWPFClusterLegoProxyBuilder::sharedBuild().
|
inline |
y coordinate of cluster centroid
Definition at line 175 of file CaloCluster.h.
References position_.
Referenced by svgfig.Ellipse::__repr__(), FWPFClusterRPZProxyBuilder::build(), FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), EcalClusterLazyToolsBase::eseffsirir(), EcalClusterLazyToolsBase::eseffsixix(), EcalClusterLazyToolsBase::eseffsiyiy(), EcalClusterIsoCalculator::getBkgSubEcalClusterIso(), EcalClusterIsoCalculator::getEcalClusterIso(), PreshowerClusterAlgo::makeOneCluster(), EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator()(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), and FWPFClusterLegoProxyBuilder::sharedBuild().
|
inline |
z coordinate of cluster centroid
Definition at line 178 of file CaloCluster.h.
References position_.
Referenced by FWPFClusterRPZProxyBuilder::build(), FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), EcalClusterLazyToolsBase::eseffsirir(), EcalClusterLazyToolsBase::eseffsixix(), EcalClusterLazyToolsBase::eseffsiyiy(), EcalClusterIsoCalculator::getBkgSubEcalClusterIso(), EcalClusterIsoCalculator::getEcalClusterIso(), PreshowerClusterAlgo::makeOneCluster(), EgammaHLTGsfTrackVarProducer::GsfTrackExtrapolations::operator()(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r3D(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), and FWPFClusterLegoProxyBuilder::sharedBuild().
|
friend |
print me
|
protected |
Definition at line 237 of file CaloCluster.h.
Referenced by algo(), and setAlgoId().
|
protected |
bitmask for detector information
Definition at line 231 of file CaloCluster.h.
Referenced by caloID(), setCaloId(), and reco::PFCluster::setLayer().
|
protected |
Definition at line 224 of file CaloCluster.h.
Referenced by correctedEnergy(), and setCorrectedEnergy().
|
protected |
Definition at line 225 of file CaloCluster.h.
Referenced by correctedEnergyUncertainty(), and setCorrectedEnergyUncertainty().
|
protected |
cluster energy
Definition at line 223 of file CaloCluster.h.
Referenced by reco::PFCluster::energy(), energy(), operator<(), operator<=(), operator==(), operator>(), operator>=(), reco::PFCluster::reset(), and setEnergy().
|
protected |
flags (e.g. for handling of cleaned/uncleaned SC) 4 most significant bits reserved 28 bits for handling of cleaned/uncleaned
Definition at line 245 of file CaloCluster.h.
Referenced by CaloCluster(), flags(), reco::SuperCluster::getPreshowerPlanesStatus(), setFlags(), and reco::SuperCluster::setPreshowerPlanesStatus().
|
staticprotected |
Definition at line 247 of file CaloCluster.h.
Referenced by CaloCluster(), flags(), setFlags(), and reco::SuperCluster::setPreshowerPlanesStatus().
|
staticprotected |
Definition at line 248 of file CaloCluster.h.
Referenced by reco::SuperCluster::getPreshowerPlanesStatus(), and reco::SuperCluster::setPreshowerPlanesStatus().
|
protected |
Definition at line 234 of file CaloCluster.h.
Referenced by addHitAndFraction(), CaloCluster(), reco::SuperCluster::clearHitsAndFractions(), hitsAndFractions(), reco::PreshowerCluster::nhits(), reco::PreshowerCluster::PreshowerCluster(), reco::PFCluster::pruneUsing(), reco::PFCluster::resetHitsAndFractions(), and size().
|
protected |
cluster centroid position
Definition at line 228 of file CaloCluster.h.
Referenced by reco::PFCluster::calculatePositionREP(), eta(), phi(), position(), reco::PFCluster::pt(), reco::PFCluster::reset(), setPosition(), reco::PFCluster::theta(), x(), y(), and z().