Functions | |
void | buildDiscrimMap (edm::Run const &run, const edm::EventSetup &iSetup, std::string Reccord, std::string ProbabilityMode, TH3F *&Prob_ChargePath) |
int | getCharge (const SiStripCluster *cluster, int &nSatStrip, const GeomDetUnit &detUnit, const std::vector< std::vector< float > > &calibGains, const unsigned int &m_off) |
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) |
bool | shapeSelection (const SiStripCluster &ls) |
void DeDxTools::buildDiscrimMap | ( | edm::Run const & | run, |
const edm::EventSetup & | iSetup, | ||
std::string | Reccord, | ||
std::string | ProbabilityMode, | ||
TH3F *& | Prob_ChargePath | ||
) |
Definition at line 280 of file DeDxTools.cc.
References PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::binContent(), Exception, edm::EventSetup::get(), get, 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_2018_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(), HLT_2018_cff::Reccord, 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().
int DeDxTools::getCharge | ( | const SiStripCluster * | cluster, |
int & | nSatStrip, | ||
const GeomDetUnit & | detUnit, | ||
const std::vector< std::vector< float > > & | calibGains, | ||
const unsigned int & | m_off | ||
) |
Definition at line 214 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), ALCARECOTkAlJpsiMuMu_cff::charge, SiStripCluster::firstStrip(), mps_fire::i, GeomDet::index(), and createfilelist::int.
Referenced by DeDxDiscriminatorLearner::processHit(), HSCPDeDxInfoProducer::processHit(), DeDxHitInfoProducer::processHit(), DeDxEstimatorProducer::processHit(), and TrackFitter::run().
bool DeDxTools::IsFarFromBorder | ( | const TrajectoryStateOnSurface & | trajState, |
const GeomDetUnit * | it | ||
) |
Definition at line 404 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 DeDxDiscriminatorLearner::processHit().
bool DeDxTools::IsSpanningOver2APV | ( | unsigned int | FirstStrip, |
unsigned int | ClusterSize | ||
) |
Definition at line 363 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 | ||
) |
Definition at line 252 of file DeDxTools.cc.
References TrackerGeometry::detUnits(), TrackerGeometry::idToDetUnit(), GeomDet::index(), and RandomServiceHelper::t1.
Referenced by DeDxDiscriminatorLearner::algoBeginJob(), HSCPDeDxInfoProducer::beginRun(), DeDxHitInfoProducer::beginRun(), DeDxEstimatorProducer::beginRun(), and FastTrackDeDxProducer::beginRun().
bool DeDxTools::shapeSelection | ( | const SiStripCluster & | ampls | ) |
Definition at line 9 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), mps_fire::i, createfilelist::int, hgcalDigitizer_cfi::noise, and mitigatedMETSequence_cff::U.
Referenced by pat::PATIsolatedTrackProducer::getDeDx(), DeDxDiscriminatorLearner::processHit(), DeDxEstimatorProducer::processHit(), and DeDxHitInfoProducer::produce().