Typedefs | |
using | ESGetTokenH3DDVariant = std::variant< edm::ESGetToken< H3DD, SiStripDeDxMip_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxPion_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxKaon_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxProton_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxElectron_3D_Rcd > > |
using | H3DD = PhysicsTools::Calibration::HistogramD3D |
Functions | |
void | buildDiscrimMap (PhysicsTools::Calibration::HistogramD3D const &, std::string const &ProbabilityMode, TH3F *&Prob_ChargePath) |
ESGetTokenH3DDVariant | esConsumes (std::string const &Record, edm::ConsumesCollector &) |
int | getCharge (const SiStripCluster *cluster, int &nSatStrip, const GeomDetUnit &detUnit, const std::vector< std::vector< float >> &calibGains, const unsigned int &m_off) |
int | getCharge (const SiStripCluster *cluster, int &nSatStrip, const GeomDetUnit &detUnit, const std::vector< std::vector< float > > &calibGains, const unsigned int &offsetDU_) |
PhysicsTools::Calibration::HistogramD3D const & | getHistogramD3D (edm::EventSetup const &, ESGetTokenH3DDVariant const &) |
bool | isFarFromBorder (const TrajectoryStateOnSurface &trajState, const GeomDetUnit *it) |
bool | isSpanningOver2APV (unsigned int FirstStrip, unsigned int ClusterSize) |
void | makeCalibrationMap (const std::string &m_calibrationPath, const TrackerGeometry &tkGeom, std::vector< std::vector< float >> &calibGains, const unsigned int &m_off) |
void | makeCalibrationMap (const std::string &m_calibrationPath, const TrackerGeometry &tkGeom, std::vector< std::vector< float > > &calibGains, const unsigned int &offsetDU_) |
bool | shapeSelection (const SiStripCluster &ls) |
Definition at line 58 of file DeDxTools.h.
using deDxTools::H3DD = typedef PhysicsTools::Calibration::HistogramD3D |
Definition at line 53 of file DeDxTools.h.
void deDxTools::buildDiscrimMap | ( | PhysicsTools::Calibration::HistogramD3D const & | deDxMap, |
std::string const & | ProbabilityMode, | ||
TH3F *& | Prob_ChargePath | ||
) |
Definition at line 319 of file DeDxTools.cc.
References PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::binContent(), Exception, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, cmsLHEtoEOSManager::l, PhysicsTools::Calibration::Range< Axis_t >::max, PhysicsTools::Calibration::Range< Axis_t >::min, PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::numberOfBinsX(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::numberOfBinsY(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::numberOfBinsZ(), HLT_2022v12_cff::ProbabilityMode, PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::rangeX(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::rangeY(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::rangeZ(), createJobs::tmp, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, L1TOccupancyClient_cfi::ymin, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
Referenced by ASmirnovDeDxDiscriminator::beginRun(), SmirnovDeDxDiscriminator::beginRun(), ProductDeDxDiscriminator::beginRun(), and BTagLikeDeDxDiscriminator::beginRun().
ESGetTokenH3DDVariant deDxTools::esConsumes | ( | std::string const & | Record, |
edm::ConsumesCollector & | iCC | ||
) |
Definition at line 283 of file DeDxTools.cc.
References edm::BeginRun, edm::ConsumesCollector::esConsumes(), and Exception.
Referenced by BDHadronTrackMonitoringAnalyzer::BDHadronTrackMonitoringAnalyzer(), BeamHaloAnalyzer::BeamHaloAnalyzer(), CalibratedElectronProducerRun2T< T >::CalibratedElectronProducerRun2T(), cms::ClusterMTCCFilter::ClusterMTCCFilter(), ConversionTrackProducer::ConversionTrackProducer(), DAFTrackProducer::DAFTrackProducer(), DQMSourcePi0::DQMSourcePi0(), DTClusterer::DTClusterer(), DTRunConditionVar::DTRunConditionVar(), DTTTrigCalibration::DTTTrigCalibration(), EgammaHLTNxNClusterProducer::EgammaHLTNxNClusterProducer(), EgammaSCCorrectionMaker::EgammaSCCorrectionMaker(), ElectronHEEPIDValueMapProducer::ElectronHEEPIDValueMapProducer(), ESTimingTask::ESTimingTask(), HLTRechitInRegionsProducer< T1 >::eventSetupConsumes(), EvtPlaneProducer::EvtPlaneProducer(), ExoticaDQM::ExoticaDQM(), FastSimProducer::FastSimProducer(), FixedGridRhoProducerFastjetFromRecHit::FixedGridRhoProducerFastjetFromRecHit(), pat::GenPlusSimParticleProducer::GenPlusSimParticleProducer(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GsfTrackRefitter::GsfTrackRefitter(), HBHEIsolatedNoiseReflagger::HBHEIsolatedNoiseReflagger(), HcalRawToDigiGPU::HcalRawToDigiGPU(), HFEMClusterProducer::HFEMClusterProducer(), HiEvtPlaneFlatProducer::HiEvtPlaneFlatProducer(), HIMultiTrackSelector::HIMultiTrackSelector(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::HLTCaloObjInRegionsProducer(), HLTRecHitInAllL1RegionsProducer< RecHitType >::HLTRecHitInAllL1RegionsProducer(), cms::JetCorrectionProducer< T >::JetCorrectionProducer(), pat::JetCorrFactorsProducer::JetCorrFactorsProducer(), L1TMuonLegacyConverter::L1TMuonLegacyConverter(), L1TRPCTPG::L1TRPCTPG(), L1TTauOffline::L1TTauOffline(), MeasurementTrackerEventProducer::MeasurementTrackerEventProducer(), cms::METSignificanceProducer::METSignificanceProducer(), MuonIdProducer::MuonIdProducer(), NuclearTrackCorrector::NuclearTrackCorrector(), pat::PATMETProducer::PATMETProducer(), pat::PATMuonProducer::PATMuonProducer(), reco::tau::PATTauDiscriminationByMVAIsolationRun2::PATTauDiscriminationByMVAIsolationRun2(), pat::PATTriggerEventProducer::PATTriggerEventProducer(), pat::PATTriggerProducer::PATTriggerProducer(), cms::PFMETProducer::PFMETProducer(), PFRecoTauDiscriminationByIsolationMVA2::PFRecoTauDiscriminationByIsolationMVA2(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::PFRecoTauDiscriminationByMVAIsolationRun2(), PFSimParticleProducer::PFSimParticleProducer(), PhysicsObjectsMonitor::PhysicsObjectsMonitor(), PileupJetIdProducer::PileupJetIdProducer(), PiZeroAnalyzer::PiZeroAnalyzer(), RegressionEnergyPatElectronProducer::RegressionEnergyPatElectronProducer(), RPCChamberMasker::RPCChamberMasker(), RPCDigiValid::RPCDigiValid(), RPCPointVsRecHit::RPCPointVsRecHit(), RPCRecHitValid::RPCRecHitValid(), ShiftedJetProducerT< T, Textractor >::ShiftedJetProducerT(), ShiftedPFCandidateProducerForNoPileUpPFMEt::ShiftedPFCandidateProducerForNoPileUpPFMEt(), ShiftedPFCandidateProducerForPFNoPUMEt::ShiftedPFCandidateProducerForPFNoPUMEt(), SiStripClusterToDigiProducer::SiStripClusterToDigiProducer(), SmearedJetProducerT< T >::SmearedJetProducerT(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::TauDiscriminantCutMultiplexerT(), pat::TauJetCorrFactorsProducer::TauJetCorrFactorsProducer(), TSGFromL2Muon::TSGFromL2Muon(), TTClusterAssociator< T >::TTClusterAssociator(), TTClusterBuilder< T >::TTClusterBuilder(), TTStubAssociator< T >::TTStubAssociator(), and VirtualJetProducer::VirtualJetProducer().
int deDxTools::getCharge | ( | const SiStripCluster * | cluster, |
int & | nSatStrip, | ||
const GeomDetUnit & | detUnit, | ||
const std::vector< std::vector< float >> & | calibGains, | ||
const unsigned int & | m_off | ||
) |
int deDxTools::getCharge | ( | const SiStripCluster * | cluster, |
int & | nSatStrip, | ||
const GeomDetUnit & | detUnit, | ||
const std::vector< std::vector< float > > & | calibGains, | ||
const unsigned int & | offsetDU_ | ||
) |
Definition at line 217 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), ALCARECOTkAlJpsiMuMu_cff::charge, SiStripCluster::firstStrip(), ecalph2::gains, mps_fire::i, GeomDet::index(), and createfilelist::int.
PhysicsTools::Calibration::HistogramD3D const & deDxTools::getHistogramD3D | ( | edm::EventSetup const & | iES, |
ESGetTokenH3DDVariant const & | iToken | ||
) |
Definition at line 302 of file DeDxTools.cc.
References Exception, and edm::EventSetup::getData().
Referenced by ASmirnovDeDxDiscriminator::beginRun(), SmirnovDeDxDiscriminator::beginRun(), ProductDeDxDiscriminator::beginRun(), and BTagLikeDeDxDiscriminator::beginRun().
bool deDxTools::isFarFromBorder | ( | const TrajectoryStateOnSurface & | trajState, |
const GeomDetUnit * | it | ||
) |
Definition at line 426 of file DeDxTools.cc.
References Surface::bounds(), ProducerES_cfi::HalfLength, Bounds::length(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), LocalTrajectoryError::positionError(), GeomDet::surface(), and LocalError::yy().
Referenced by SiStripGainsPCLWorker::dqmAnalyze(), and DeDxDiscriminatorLearner::processHit().
bool deDxTools::isSpanningOver2APV | ( | unsigned int | FirstStrip, |
unsigned int | ClusterSize | ||
) |
Definition at line 385 of file DeDxTools.cc.
References PixelTestBeamValidation_cfi::ClusterSize.
Referenced by DeDxDiscriminatorLearner::processHit().
void deDxTools::makeCalibrationMap | ( | const std::string & | m_calibrationPath, |
const TrackerGeometry & | tkGeom, | ||
std::vector< std::vector< float >> & | calibGains, | ||
const unsigned int & | m_off | ||
) |
void deDxTools::makeCalibrationMap | ( | const std::string & | m_calibrationPath, |
const TrackerGeometry & | tkGeom, | ||
std::vector< std::vector< float > > & | calibGains, | ||
const unsigned int & | offsetDU_ | ||
) |
Definition at line 255 of file DeDxTools.cc.
References TrackerGeometry::detUnits(), ecalph2::gains, TrackerGeometry::idToDetUnit(), GeomDet::index(), and RandomServiceHelper::t1.
bool deDxTools::shapeSelection | ( | const SiStripCluster & | ampls | ) |
Definition at line 13 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), mps_fire::i, createfilelist::int, hgchebackDigitizer_cfi::noise, and mitigatedMETSequence_cff::U.
Referenced by pat::PATIsolatedTrackProducer::getDeDx(), DeDxDiscriminatorLearner::processHit(), DeDxEstimatorProducer::processHit(), and DeDxHitInfoProducer::produce().