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 Exception, edm::EventSetup::get(), i, j, relval_2017::k, cmsLHEtoEOSManager::l, tmp, hlt_dqm_clientPB-live_cfg::xmax, hlt_dqm_clientPB-live_cfg::xmin, SiStripMonitorClusterAlca_cfi::ymax, SiStripMonitorClusterAlca_cfi::ymin, SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_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 161 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), RecoTauCleanerPlugins::charge, SiStripCluster::firstStrip(), i, and GeomDet::index().
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(), HLT_25ns10e33_v2_cff::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(), i, and HLT_25ns10e33_v2_cff::noise.
Referenced by DeDxDiscriminatorLearner::processHit(), and DeDxEstimatorProducer::processHit().