![]() |
![]() |
#include <SortedCollection.h>
Public Types | |
typedef std::vector< T > ::const_iterator | const_iterator |
typedef std::vector< T > ::const_reference | const_reference |
typedef std::vector< T >::iterator | iterator |
typedef SORT | key_compare |
typedef key_compare::key_type | key_type |
typedef std::vector< T >::reference | reference |
typedef std::vector< T >::size_type | size_type |
typedef T | value_type |
Public Member Functions | |
const_reference | back () const |
reference | back () |
const_iterator | begin () const |
iterator | begin () |
size_type | capacity () const |
bool | empty () const |
const_iterator | end () const |
iterator | end () |
void | fillPtrVector (std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const * > &ptrs) const |
void | fillView (ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers) const |
const_iterator | find (key_type k) const |
iterator | find (key_type k) |
const_reference | front () const |
reference | front () |
SortedCollection & | operator= (SortedCollection const &rhs) |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
void | post_insert () |
void | push_back (T const &t) |
void | reserve (size_type n) |
void | setPtr (std::type_info const &toType, unsigned long index, void const *&ptr) const |
size_type | size () const |
void | sort () |
SortedCollection (SortedCollection const &h) | |
SortedCollection (std::vector< T > const &vec) | |
SortedCollection (size_type n) | |
SortedCollection () | |
void | swap (SortedCollection &other) |
void | swap_contents (std::vector< T > &other) |
Private Types | |
typedef std::vector< T > | collection_type |
typedef collection_type::const_iterator | const_inner_iterator |
typedef collection_type::iterator | inner_iterator |
Private Attributes | |
collection_type | obj |
Definition at line 76 of file SortedCollection.h.
typedef std::vector<T> edm::SortedCollection< T, SORT >::collection_type [private] |
Definition at line 165 of file SortedCollection.h.
typedef collection_type::const_iterator edm::SortedCollection< T, SORT >::const_inner_iterator [private] |
Definition at line 166 of file SortedCollection.h.
typedef std::vector<T>::const_iterator edm::SortedCollection< T, SORT >::const_iterator |
Definition at line 81 of file SortedCollection.h.
typedef std::vector<T>::const_reference edm::SortedCollection< T, SORT >::const_reference |
Definition at line 83 of file SortedCollection.h.
typedef collection_type::iterator edm::SortedCollection< T, SORT >::inner_iterator [private] |
Definition at line 167 of file SortedCollection.h.
typedef std::vector<T>::iterator edm::SortedCollection< T, SORT >::iterator |
Definition at line 82 of file SortedCollection.h.
typedef SORT edm::SortedCollection< T, SORT >::key_compare |
Definition at line 79 of file SortedCollection.h.
typedef key_compare::key_type edm::SortedCollection< T, SORT >::key_type |
Definition at line 91 of file SortedCollection.h.
typedef std::vector<T>::reference edm::SortedCollection< T, SORT >::reference |
Definition at line 84 of file SortedCollection.h.
typedef std::vector<T>::size_type edm::SortedCollection< T, SORT >::size_type |
Definition at line 86 of file SortedCollection.h.
typedef T edm::SortedCollection< T, SORT >::value_type |
Definition at line 78 of file SortedCollection.h.
edm::SortedCollection< T, SORT >::SortedCollection | ( | ) | [inline] |
Definition at line 174 of file SortedCollection.h.
: obj() {}
edm::SortedCollection< T, SORT >::SortedCollection | ( | size_type | n | ) | [inline, explicit] |
Definition at line 178 of file SortedCollection.h.
edm::SortedCollection< T, SORT >::SortedCollection | ( | std::vector< T > const & | vec | ) | [inline, explicit] |
Definition at line 182 of file SortedCollection.h.
: obj(vec) {}
edm::SortedCollection< T, SORT >::SortedCollection | ( | SortedCollection< T, SORT > const & | h | ) |
SortedCollection< T, SORT >::const_reference edm::SortedCollection< T, SORT >::back | ( | ) | const [inline] |
Definition at line 337 of file SortedCollection.h.
References VarParsing::obj.
Referenced by MatacqTBDataFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), and HcalTriggerPrimitiveAlgo::run().
{ return obj.back(); }
SortedCollection< T, SORT >::reference edm::SortedCollection< T, SORT >::back | ( | ) | [inline] |
Definition at line 344 of file SortedCollection.h.
References VarParsing::obj.
{ return obj.back(); }
SortedCollection< T, SORT >::const_iterator edm::SortedCollection< T, SORT >::begin | ( | void | ) | const [inline] |
Definition at line 295 of file SortedCollection.h.
References VarParsing::obj.
Referenced by edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalWorker::addHcalSignals(), HCALRecHitAnalyzer::analyze(), HtrXmlPattern::analyze(), PhotonValidator::analyze(), EcalTestPulseAnalyzer::analyze(), EcalEndcapRecHitsValidation::analyze(), HcalIsoTrkAnalyzer::analyze(), EBClusterTaskExtras::analyze(), ZdcTBAnalysis::analyze(), DQMHcalPhiSymAlCaReco::analyze(), EcalRecHitsValidation::analyze(), EcalABAnalyzer::analyze(), EcalLaserAnalyzer::analyze(), EcalPerEvtLaserAnalyzer::analyze(), HcalCorrPFCalculation::analyze(), PhotonAnalyzer::analyze(), EcalMatacqAnalyzer::analyze(), EcalCosmicsHists::analyze(), EcalLaserAnalyzer2::analyze(), EcalStatusAnalyzer::analyze(), EEClusterTaskExtras::analyze(), HLTAlCa::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), EEClusterTask::analyze(), EcalPerEvtMatacqAnalyzer::analyze(), EBClusterTask::analyze(), FWCastorRecHitProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWZDCRecHitProxyBuilder::build(), FWHBHERecHitProxyBuilder::build(), FWHFRecHitProxyBuilder::build(), FWEcalRecHitProxyBuilder::build(), FWHORecHitProxyBuilder::build(), pat::Jet::cacheCaloTowers(), HFClusterAlgo::clusterize(), compEcalEnergySum(), compHcalEnergySum(), CaloTowerConstituentsMap::constituentsOf(), FWHFTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), Pi0FixedMassWindowCalibration::duringLoop(), HcalSignalGenerator< HBHEDigitizerTraits >::fill(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), DQMSourceEleCalib::fillAroundEndcap(), AlCaElectronsTest::fillAroundEndcap(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHFTowerProxyBuilderBase::fillCaloData(), FWECALDetailViewBuilder::fillData(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), FastL1GlobalAlgo::FillEgammasTP(), FastL1Region::FillEMCrystals(), BeamSplash::filter(), RecHitEnergyFilter::filter(), ECALActivity::filter(), CastorDataFrameFilter::filter(), HcalDataFrameFilter::filter(), ElectronCalibration::findMaxHit(), AlCaElectronsTest::getMaximum(), EgammaTowerIsolation::getTowerESum(), EgammaTowerIsolation::getTowerEtSum(), EcalSimRawData::getTp(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), EgammaHLTHcalIsolationDoubleCone::isolPtSum(), HybridClusterAlgo::makeClusters(), CosmicClusterAlgo::makeClusters(), Multi5x5ClusterAlgo::makeClusters(), IslandClusterAlgo::makeClusters(), EgammaHLTNxNClusterProducer::makeNxNClusters(), PreshowerClusterAlgo::makeOneCluster(), edm::operator==(), EcalSelectiveReadoutProducer::printSrFlags(), CaloTowersCreationAlgo::process(), HcalQLPlotAnalAlgos::processDigi(), CastorPedestalAnalysis::processEvent(), HcalCaloTowerMonitor::processEvent(), CastorPSMonitor::processEvent(), HcalZDCMonitor::processEvent(), CastorHIMonitor::processEvent(), CastorRecHitMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), HcalDigiMonitor::processEvent(), CastorDigiMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorEventDisplay::processEvent(), HcalPedestalAnalysis::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), HcalHotCellMonitor::processEvent_rechitenergy(), HcalLedAnalysis::processLedEvent(), CastorLedAnalysis::processLedEvent(), HcalQLPlotAnalAlgos::processRH(), AlCaHcalNoiseProducer::produce(), AlCaGammaJetProducer::produce(), EcalCompactTrigPrimProducer::produce(), PreshowerClusterShapeProducer::produce(), cms::HitReCalibrator::produce(), ESRecHitProducer::produce(), PreshowerClusterProducer::produce(), AlCaIsoTracksProducer::produce(), RecHitFilter::produce(), HcalTTPTriggerRecord::produce(), CaloTowersCreationAlgo::rescaleTowers(), EcalClusterTools::roundnessBarrelSuperClustersUserExtended(), HcalTriggerPrimitiveAlgo::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalTriggerPrimitiveAlgo::runZS(), FWEcalRecHitProxyBuilder::scaleProduct(), FWHBHERecHitProxyBuilder::scaleProduct(), EcalCleaningAlgo::setFlags(), HBHEStatusBitSetter::SetFlagsFromRecHits(), EcalSelectiveReadoutSuppressor::setTtFlags(), HcalZeroSuppressionAlgo::suppress(), and ESUnpackerWorker::work().
{ return obj.begin(); }
SortedCollection< T, SORT >::iterator edm::SortedCollection< T, SORT >::begin | ( | void | ) | [inline] |
Definition at line 309 of file SortedCollection.h.
References VarParsing::obj.
{ return obj.begin(); }
SortedCollection< T, SORT >::size_type edm::SortedCollection< T, SORT >::capacity | ( | ) | const [inline] |
Definition at line 235 of file SortedCollection.h.
References VarParsing::obj.
{ return obj.capacity(); }
bool edm::SortedCollection< T, SORT >::empty | ( | ) | const [inline] |
Definition at line 221 of file SortedCollection.h.
References VarParsing::obj.
Referenced by pat::GenericParticle::caloTower(), CaloTowerConstituentsMap::constituentsOf(), pat::GenericParticle::embedCaloTower(), and pat::GenericParticle::setCaloTower().
{ return obj.empty(); }
SortedCollection< T, SORT >::iterator edm::SortedCollection< T, SORT >::end | ( | void | ) | [inline] |
Definition at line 316 of file SortedCollection.h.
References VarParsing::obj.
{ return obj.end(); }
SortedCollection< T, SORT >::const_iterator edm::SortedCollection< T, SORT >::end | ( | void | ) | const [inline] |
Definition at line 302 of file SortedCollection.h.
References VarParsing::obj.
Referenced by CosmicClusterAlgo::addCrystal(), Multi5x5ClusterAlgo::addCrystal(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalWorker::addHcalSignals(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::anaDigi(), HCALRecHitAnalyzer::analyze(), HtrXmlPattern::analyze(), PhotonValidator::analyze(), EcalTestPulseAnalyzer::analyze(), EcalEndcapRecHitsValidation::analyze(), EBClusterTaskExtras::analyze(), HcalIsoTrkAnalyzer::analyze(), ZdcTBAnalysis::analyze(), DQMHcalPhiSymAlCaReco::analyze(), EcalRecHitsValidation::analyze(), HcalCorrPFCalculation::analyze(), EcalPerEvtLaserAnalyzer::analyze(), EcalLaserAnalyzer::analyze(), EcalABAnalyzer::analyze(), PhotonAnalyzer::analyze(), EcalCosmicsHists::analyze(), EcalMatacqAnalyzer::analyze(), EcalStatusAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EEClusterTaskExtras::analyze(), HLTAlCa::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalPreshowerRecHitsValidation::analyze(), EEClusterTask::analyze(), EBClusterTask::analyze(), EcalPerEvtMatacqAnalyzer::analyze(), CaloTowerConstituentsMap::assign(), FWCastorRecHitProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWZDCRecHitProxyBuilder::build(), FWHBHERecHitProxyBuilder::build(), FWHFRecHitProxyBuilder::build(), FWHORecHitProxyBuilder::build(), FWEcalRecHitProxyBuilder::build(), pat::Jet::cacheCaloTowers(), HLTEcalResonanceFilter::calcShowerShape(), ClusterShapeAlgo::Calculate_2ndEnergy(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), PositionCalc::Calculate_Location(), ClusterShapeAlgo::Calculate_TopEnergy(), TBPositionCalc::CalculateTBPos(), Multi5x5ClusterAlgo::checkMaxima(), CosmicClusterAlgo::checkMaxima(), EcalClusterSeverityLevelAlgo::closestProblematic(), HFClusterAlgo::clusterize(), egammaisolation::EgammaRecHitExtractor::collect(), compEcalEnergySum(), compHcalEnergySum(), CaloTowerConstituentsMap::constituentsOf(), ClusterShapeAlgo::Create_Map(), FWHFTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), Pi0FixedMassWindowCalibration::duringLoop(), HybridClusterAlgo::et25(), HcalSignalGenerator< HBHEDigitizerTraits >::fill(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), DQMSourceEleCalib::fillAroundEndcap(), AlCaElectronsTest::fillAroundEndcap(), FWHFTowerProxyBuilderBase::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWECALDetailViewBuilder::fillData(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), FastL1GlobalAlgo::FillEgammasTP(), FastL1Region::FillEMCrystals(), BeamSplash::filter(), RecHitEnergyFilter::filter(), ECALActivity::filter(), HLTEcalResonanceFilter::filter(), CastorDataFrameFilter::filter(), HcalDataFrameFilter::filter(), DQMSourceEleCalib::findMaxHit(), SingleEleCalibSelector::findMaxHit(), ElectronCalibrationUniv::findMaxHit(), ElectronCalibration::findMaxHit(), ElectronCalibration::findMaxHit2(), EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic(), EcalClusterTools::getEnergyDepTopology(), ZeeCalibration::getHottestDetId(), AlCaElectronsTest::getMaximum(), EgammaTowerIsolation::getTowerESum(), EgammaTowerIsolation::getTowerEtSum(), EcalSimRawData::getTp(), EcalClusterSeverityLevelAlgo::goodFraction(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), EcalRecHitWorkerRecover::insertRecHit(), EgammaHLTHcalIsolationDoubleCone::isolPtSum(), CosmicClusterAlgo::makeCluster(), HFClusterAlgo::makeCluster(), HybridClusterAlgo::makeClusters(), CosmicClusterAlgo::makeClusters(), Multi5x5ClusterAlgo::makeClusters(), IslandClusterAlgo::makeClusters(), HybridClusterAlgo::makeDomino(), EgammaHLTNxNClusterProducer::makeNxNClusters(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), PreshowerClusterAlgo::makeOneCluster(), edm::operator==(), PFClusterWidthAlgo::PFClusterWidthAlgo(), EcalSelectiveReadoutProducer::printSrFlags(), CaloTowersCreationAlgo::process(), HcalQLPlotAnalAlgos::processDigi(), CastorPedestalAnalysis::processEvent(), HcalCaloTowerMonitor::processEvent(), HcalZDCMonitor::processEvent(), CastorPSMonitor::processEvent(), HcalDigiMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), CastorRecHitMonitor::processEvent(), CastorHIMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorDigiMonitor::processEvent(), CastorEventDisplay::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalPedestalAnalysis::processEvent(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), HcalHotCellMonitor::processEvent_rechitenergy(), HcalLedAnalysis::processLedEvent(), CastorLedAnalysis::processLedEvent(), HcalQLPlotAnalAlgos::processRH(), processTrig(), AlCaHcalNoiseProducer::produce(), AlCaGammaJetProducer::produce(), EcalCompactTrigPrimProducer::produce(), PreshowerClusterShapeProducer::produce(), cms::HitReCalibrator::produce(), ESRecHitProducer::produce(), PreshowerClusterProducer::produce(), AlCaIsoTracksProducer::produce(), RecHitFilter::produce(), EcalCleaningAlgo::recHitE(), EcalTools::recHitE(), EcalClusterTools::recHitEnergy(), CaloTowersCreationAlgo::rescaleTowers(), EcalClusterTools::roundnessBarrelSuperClusters(), EcalClusterTools::roundnessBarrelSuperClustersUserExtended(), EcalRecHitWorkerRecover::run(), HcalTriggerPrimitiveAlgo::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), HcalTriggerPrimitiveAlgo::runZS(), FWEcalRecHitProxyBuilder::scaleProduct(), FWHBHERecHitProxyBuilder::scaleProduct(), EcalCleaningAlgo::setFlags(), HBHEStatusBitSetter::SetFlagsFromRecHits(), EcalSelectiveReadoutSuppressor::setTtFlags(), EcalSeverityLevelAlgo::severityLevel(), IslandClusterAlgo::shouldBeAdded(), HcalZeroSuppressionAlgo::suppress(), CaloTowerConstituentsMap::towerOf(), and ESUnpackerWorker::work().
{ return obj.end(); }
void edm::SortedCollection< T, SORT >::fillPtrVector | ( | std::type_info const & | toType, |
std::vector< unsigned long > const & | indices, | ||
std::vector< void const * > & | ptrs | ||
) | const [inline] |
Definition at line 385 of file SortedCollection.h.
References edm::detail::reallyfillPtrVector().
Referenced by edm::fillPtrVector().
{ detail::reallyfillPtrVector(*this, toType, indices, ptrs); }
void edm::SortedCollection< T, SORT >::fillView | ( | ProductID const & | id, |
std::vector< void const * > & | pointers, | ||
helper_vector & | helpers | ||
) | const [inline] |
Definition at line 367 of file SortedCollection.h.
References edm::detail::reallyFillView().
Referenced by edm::fillView().
{ detail::reallyFillView(*this, id, pointers, helpers); }
SortedCollection< T, SORT >::iterator edm::SortedCollection< T, SORT >::find | ( | key_type | k | ) | [inline] |
Definition at line 263 of file SortedCollection.h.
References combine::key, prof2calltree::last, and VarParsing::obj.
Referenced by CosmicClusterAlgo::addCrystal(), Multi5x5ClusterAlgo::addCrystal(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::anaDigi(), EBClusterTaskExtras::analyze(), EcalRecHitsValidation::analyze(), EEClusterTaskExtras::analyze(), EcalPreshowerRecHitsValidation::analyze(), QcdPhotonsDQM::analyze(), EEClusterTask::analyze(), EBClusterTask::analyze(), CaloTowerConstituentsMap::assign(), HLTEcalResonanceFilter::calcShowerShape(), ClusterShapeAlgo::Calculate_2ndEnergy(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), PositionCalc::Calculate_Location(), ClusterShapeAlgo::Calculate_TopEnergy(), TBPositionCalc::CalculateCMSPos(), TBPositionCalc::CalculateTBPos(), Multi5x5ClusterAlgo::checkMaxima(), CosmicClusterAlgo::checkMaxima(), EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterTools::cluster2ndMoments(), HFClusterAlgo::clusterize(), egammaisolation::EgammaRecHitExtractor::collect(), ClusterShapeAlgo::Create_Map(), SingleEleCalibSelector::EnergyNxN(), EcalRecHitWorkerRecover::estimateEnergy(), HybridClusterAlgo::et25(), MatrixFillMap::fillEBMap(), GlobalRecHitsAnalyzer::fillECal(), GlobalRecHitsProducer::fillECal(), MatrixFillMap::fillEEMap(), ClusterFillMap::fillMap(), HLTEcalResonanceFilter::filter(), DQMSourceEleCalib::findMaxHit(), SingleEleCalibSelector::findMaxHit(), ElectronCalibrationUniv::findMaxHit(), ElectronCalibration::findMaxHit2(), EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic(), calib::CalibElectron::getCalibModulesWeights(), EcalClusterTools::getEnergyDepTopology(), CalibrationCluster::getEnergyVector(), ZeeCalibration::getHottestDetId(), EcalClusterSeverityLevelAlgo::goodFraction(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), EcalRecHitWorkerRecover::insertRecHit(), Multi5x5ClusterAlgo::mainSearch(), IslandClusterAlgo::makeCluster(), Multi5x5ClusterAlgo::makeCluster(), CosmicClusterAlgo::makeCluster(), HFClusterAlgo::makeCluster(), CosmicClusterAlgo::makeClusters(), HybridClusterAlgo::makeDomino(), EgammaHLTNxNClusterProducer::makeNxNClusters(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), EgammaSCEnergyCorrectionAlgo::nCrystalsGT2Sigma(), HiEgammaSCEnergyCorrectionAlgo::nCrystalsGT2Sigma(), PFClusterWidthAlgo::PFClusterWidthAlgo(), CastorChannelQualityMonitor::processEvent(), HcalQLPlotAnalAlgos::processRH(), processTrig(), HiSpikeCleaner::produce(), EcalCleaningAlgo::recHitE(), EcalTools::recHitE(), EcalClusterTools::recHitEnergy(), EcalClusterTools::roundnessBarrelSuperClusters(), EcalClusterTools::roundnessBarrelSuperClustersUserExtended(), EcalRecHitWorkerRecover::run(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchNorth(), IslandClusterAlgo::searchSouth(), IslandClusterAlgo::searchWest(), EcalSeverityLevelAlgo::severityLevel(), and CaloTowerConstituentsMap::towerOf().
{ // This fails if the SortedCollection has not been sorted. It is // up to the user (with the help of the Event) to make sure this // has been done. key_compare comp; inner_iterator last = obj.end(); inner_iterator loc = std::lower_bound(obj.begin(), last, key, comp); return loc == last || comp(key, *loc) ? last : loc; }
SortedCollection< T, SORT >::const_iterator edm::SortedCollection< T, SORT >::find | ( | key_type | k | ) | const [inline] |
Definition at line 279 of file SortedCollection.h.
References combine::key, prof2calltree::last, and VarParsing::obj.
{ // This fails if the SortedCollection has not been sorted. It is // up to the user (with the help of the Event) to make sure this // has been done. key_compare comp; const_inner_iterator last = obj.end(); const_inner_iterator loc = std::lower_bound(obj.begin(), last, key, comp); return loc == last || comp(key, *loc) ? last : loc; }
SortedCollection< T, SORT >::const_reference edm::SortedCollection< T, SORT >::front | ( | ) | const [inline] |
Definition at line 323 of file SortedCollection.h.
References VarParsing::obj.
{ return obj.front(); }
SortedCollection< T, SORT >::reference edm::SortedCollection< T, SORT >::front | ( | ) | [inline] |
Definition at line 330 of file SortedCollection.h.
References VarParsing::obj.
{ return obj.front(); }
SortedCollection& edm::SortedCollection< T, SORT >::operator= | ( | SortedCollection< T, SORT > const & | rhs | ) |
SortedCollection< T, SORT >::reference edm::SortedCollection< T, SORT >::operator[] | ( | size_type | i | ) | [inline] |
Definition at line 249 of file SortedCollection.h.
References i, and VarParsing::obj.
SortedCollection< T, SORT >::const_reference edm::SortedCollection< T, SORT >::operator[] | ( | size_type | i | ) | const [inline] |
Definition at line 256 of file SortedCollection.h.
References i, and VarParsing::obj.
void edm::SortedCollection< T, SORT >::post_insert | ( | ) | [inline] |
Definition at line 359 of file SortedCollection.h.
References python::multivaluedict::sort().
{ // After insertion, we make sure our contents are sorted. sort(); }
void edm::SortedCollection< T, SORT >::push_back | ( | T const & | t | ) | [inline] |
Definition at line 191 of file SortedCollection.h.
References VarParsing::obj.
Referenced by HcalIsoTrkAnalyzer::analyze(), CaloTowerConstituentsMap::assign(), CaloTowersCreationAlgo::convert(), EcalTBDaqFormatter::DecodeMEM(), EcalTB07DaqFormatter::DecodeMEM(), pat::GenericParticle::embedCaloTower(), CastorDataFrameFilter::filter(), HcalDataFrameFilter::filter(), EcalRecHitWorkerRecover::insertRecHit(), EcalTPSkimmer::insertTP(), MatacqTBDataFormatter::interpretRawData(), EcalTB07DaqFormatter::interpretRawData(), MatacqDataFormatter::interpretRawData(), ESUnpacker::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalBarrelRecHitsMaker::loadEcalBarrelRecHits(), EcalEndcapRecHitsMaker::loadEcalEndcapRecHits(), EcalPreshowerRecHitsMaker::loadEcalPreshowerRecHits(), HcalRecHitsMaker::loadHcalRecHits(), PreshowerClusterAlgo::makeOneCluster(), AlCaHcalNoiseProducer::produce(), AlCaIsoTracksProducer::produce(), AlCaEcalHcalReadoutsProducer::produce(), CaloTowersCreationAlgo::rescaleTowers(), EcalSelectiveReadoutSuppressor::run(), ESFastTDigitizer::run(), EcalRecHitWorkerSimple::run(), HcalTriggerPrimitiveAlgo::run(), EcalUncalibRecHitWorkerAnalFit::run(), EcalUncalibRecHitWorkerFixedAlphaBetaFit::run(), EcalUncalibRecHitWorkerWeights::run(), ESRecHitWorker::run(), EcalUncalibRecHitWorkerMaxSample::run(), EcalUncalibRecHitWorkerGlobal::run(), EcalUncalibRecHitWorkerRatio::run(), EcalTrigPrimFunctionalAlgo::run_part2(), HcalZeroSuppressionAlgo::suppress(), EcalTrigPrimCompactColl::toEcalTrigPrimDigiCollection(), and ESUnpacker::word2digi().
void edm::SortedCollection< T, SORT >::reserve | ( | size_type | n | ) |
Referenced by EcalTB07DaqFormatter::interpretRawData(), EcalTBDaqFormatter::interpretRawData(), EcalBarrelRecHitsMaker::loadEcalBarrelRecHits(), EcalEndcapRecHitsMaker::loadEcalEndcapRecHits(), HcalRecHitsMaker::loadHcalRecHits(), EcalSelectiveReadoutSuppressor::run(), ESFastTDigitizer::run(), and EcalTrigPrimCompactColl::toEcalTrigPrimDigiCollection().
void edm::SortedCollection< T, SORT >::setPtr | ( | std::type_info const & | toType, |
unsigned long | index, | ||
void const *& | ptr | ||
) | const [inline] |
Definition at line 376 of file SortedCollection.h.
References edm::detail::reallySetPtr().
Referenced by edm::setPtr().
{ detail::reallySetPtr(*this, toType, index, ptr); }
SortedCollection< T, SORT >::size_type edm::SortedCollection< T, SORT >::size | ( | void | ) | const [inline] |
Definition at line 228 of file SortedCollection.h.
References VarParsing::obj.
Referenced by CaloRecHitMetaCollection::add(), edm::DataMixingEMDigiWorker::addEMPileups(), edm::DataMixingEMWorker::addEMPileups(), edm::DataMixingEMWorker::addEMSignals(), edm::DataMixingEMDigiWorker::addEMSignals(), edm::DataMixingHcalDigiWorker::addHcalPileups(), edm::DataMixingHcalWorker::addHcalPileups(), edm::DataMixingHcalDigiWorker::addHcalSignals(), edm::DataMixingHcalWorker::addHcalSignals(), DQMHcalPhiSymAlCaReco::analyze(), EcalDigisValidation::analyze(), HLTAlCa::analyze(), EcalMixingModuleValidation::analyze(), pat::Jet::cacheCaloTowers(), PositionCalc::Calculate_Location(), pat::Jet::daughter(), L1RCT::digiInput(), Pi0FixedMassWindowCalibration::duringLoop(), HcalSignalGenerator< HBHEDigitizerTraits >::fill(), FWHFTowerProxyBuilderBase::fillCaloData(), PFRootEventManager::fillOutEventWithCaloTowers(), HLTPi0RecHitsFilter::filter(), HLTEcalResonanceFilter::filter(), pat::Jet::getCaloConstituent(), pat::Jet::getCaloConstituents(), PreshowerClusterAlgo::makeOneCluster(), pat::Jet::numberOfDaughters(), edm::operator==(), CastorPedestalAnalysis::processEvent(), CastorPSMonitor::processEvent(), HcalZDCMonitor::processEvent(), CastorHIMonitor::processEvent(), CastorRecHitMonitor::processEvent(), HcalDigiMonitor::processEvent(), CastorDigiMonitor::processEvent(), CastorLEDMonitor::processEvent(), CastorEventDisplay::processEvent(), HcalPedestalAnalysis::processEvent(), CastorChannelQualityMonitor::processEvent(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), HcalLedAnalysis::processLedEvent(), CastorLedAnalysis::processLedEvent(), EgammaHLTNxNClusterProducer::produce(), ESRecHitProducer::produce(), PreshowerClusterShapeProducer::produce(), PreshowerClusterProducer::produce(), RecHitFilter::produce(), PFRootEventManager::reconstructCaloJets(), CaloDigiCollectionSorter::sortedVector(), PFRootEventManager::tauBenchmark(), and ESUnpackerWorker::work().
{ return obj.size(); }
void edm::SortedCollection< T, SORT >::sort | ( | ) | [inline] |
Definition at line 351 of file SortedCollection.h.
References VarParsing::obj, and python::multivaluedict::sort().
Referenced by CaloTowerConstituentsMap::sort(), and EcalTrigPrimCompactColl::toEcalTrigPrimDigiCollection().
{ key_compare comp; std::sort(obj.begin(), obj.end(), comp); }
void edm::SortedCollection< T, SORT >::swap | ( | SortedCollection< T, SORT > & | other | ) |
void edm::SortedCollection< T, SORT >::swap_contents | ( | std::vector< T > & | other | ) | [inline] |
collection_type edm::SortedCollection< T, SORT >::obj [private] |
Definition at line 169 of file SortedCollection.h.