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 221 of file DeDxTools.cc.
References PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::binContent(), Exception, edm::EventSetup::get(), mps_fire::i, gen::k, checklumidiff::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(), 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(), tmp, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
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 161 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(), and DeDxEstimatorProducer::processHit().
bool DeDxTools::IsFarFromBorder | ( | const TrajectoryStateOnSurface & | trajState, |
const GeomDetUnit * | it | ||
) |
Definition at line 311 of file DeDxTools.cc.
References Surface::bounds(), Bounds::length(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), metProducer_cfi::parameters, LocalTrajectoryError::positionError(), GeomDet::surface(), and LocalError::yy().
Referenced by DeDxDiscriminatorLearner::processHit().
bool DeDxTools::IsSpanningOver2APV | ( | unsigned int | FirstStrip, |
unsigned int | ClusterSize | ||
) |
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 196 of file DeDxTools.cc.
References TrackerGeometry::detUnits(), TrackerGeometry::idToDetUnit(), and GeomDet::index().
Referenced by DeDxDiscriminatorLearner::algoBeginJob(), HSCPDeDxInfoProducer::beginRun(), DeDxHitInfoProducer::beginRun(), and DeDxEstimatorProducer::beginRun().
bool DeDxTools::shapeSelection | ( | const SiStripCluster & | ampls | ) |
Definition at line 10 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), mps_fire::i, createfilelist::int, and mitigatedMETSequence_cff::U.
Referenced by DeDxDiscriminatorLearner::processHit(), and DeDxEstimatorProducer::processHit().