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 213 of file DeDxTools.cc.
References edm::hlt::Exception, edm::EventSetup::get(), i, j, roll_playback::k, prof2calltree::l, tmp, SiStripMonitorClusterAlca_cfi::xmax, SiStripMonitorClusterAlca_cfi::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(), SiStripCluster::firstStrip(), i, and GeomDet::index().
Referenced by DeDxDiscriminatorLearner::processHit(), HSCPDeDxInfoProducer::processHit(), DeDxEstimatorProducer::processHit(), and TrackFitter::run().
bool DeDxTools::IsFarFromBorder | ( | const TrajectoryStateOnSurface & | trajState, |
const GeomDetUnit * | it | ||
) |
Definition at line 303 of file DeDxTools.cc.
References Surface::bounds(), Bounds::length(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), Parameters::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 188 of file DeDxTools.cc.
References TrackerGeometry::detUnits(), TrackerGeometry::idToDetUnit(), and GeomDet::index().
Referenced by DeDxDiscriminatorLearner::algoBeginJob(), HSCPDeDxInfoProducer::beginRun(), and DeDxEstimatorProducer::beginRun().
bool DeDxTools::shapeSelection | ( | const SiStripCluster & | ampls | ) |
Definition at line 10 of file DeDxTools.cc.
References SiStripCluster::amplitudes(), and i.
Referenced by DeDxDiscriminatorLearner::processHit(), and DeDxEstimatorProducer::processHit().