#include <PixelCPEClusterRepair.h>
Classes | |
struct | ClusterParamTemplate |
class | Rule |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
void | callTempReco1D (DetParam const &theDetParam, ClusterParamTemplate &theClusterParam, SiPixelTemplateReco::ClusMatrix &clusterPayload, int ID, LocalPoint &lp) const |
void | callTempReco2D (DetParam const &theDetParam, ClusterParamTemplate &theClusterParam, SiPixelTemplateReco2D::ClusMatrix &clusterPayload, int ID, LocalPoint &lp) const |
void | checkRecommend2D (DetParam const &theDetParam, ClusterParamTemplate &theClusterParam, SiPixelTemplateReco::ClusMatrix &clusterPayload, int ID) const |
std::unique_ptr< ClusterParam > | createClusterParam (const SiPixelCluster &cl) const override |
void | fill2DTemplIDs () |
LocalError | localError (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
LocalPoint | localPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
Private Attributes | |
int | barrelTemplateID_ |
int | forwardTemplateID_ |
float | maxSizeMismatchInY_ |
float | minChargeRatio_ |
std::vector< Rule > | recommend2D_ |
bool | runDamagedClusters_ |
int | speed_ |
const SiPixel2DTemplateDBObject * | templateDBobject2D_ |
std::string | templateDir_ |
std::vector< SiPixelTemplateStore2D > | thePixelTemp2D_ |
std::vector< SiPixelTemplateStore > | thePixelTemp_ |
bool | UseClusterSplitter_ |
Definition at line 34 of file PixelCPEClusterRepair.h.
PixelCPEClusterRepair::PixelCPEClusterRepair | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag, | ||
const TrackerGeometry & | geom, | ||
const TrackerTopology & | ttopo, | ||
const SiPixelLorentzAngle * | lorentzAngle, | ||
const SiPixelTemplateDBObject * | templateDBobject, | ||
const SiPixel2DTemplateDBObject * | templateDBobject2D | ||
) |
Definition at line 38 of file PixelCPEClusterRepair.cc.
References barrelTemplateID_, Exception, fill2DTemplIDs(), forwardTemplateID_, edm::ParameterSet::getParameter(), PixelCPEBase::LoadTemplatesFromDB_, LogDebug, mag(), maxSizeMismatchInY_, minChargeRatio_, SiPixelTemplate2D::pushfile(), SiPixelTemplate::pushfile(), recommend2D_, runDamagedClusters_, speed_, str, templateDBobject2D_, PixelCPEBase::templateDBobject_, templateDir_, thePixelTemp2D_, thePixelTemp_, and UseClusterSplitter_.
|
override |
Definition at line 158 of file PixelCPEClusterRepair.cc.
References thePixelTemp2D_, thePixelTemp_, and x.
|
private |
Definition at line 315 of file PixelCPEClusterRepair.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, PixelCPEBase::ClusterParam::hasFilledProb_, PixelCPEClusterRepair::ClusterParamTemplate::ierr, GeomDetEnumerators::isEndcap(), PixelCPEBase::ClusterParam::loc_trk_pred, PixelTopology::localX(), PixelTopology::localY(), LogDebug, SiPixelTemplateReco::PixelTempReco1D(), PixelCPEBase::ClusterParam::probabilityQ_, PixelCPEBase::ClusterParam::probabilityX_, PixelCPEBase::ClusterParam::probabilityY_, PixelCPEBase::ClusterParam::qBin_, speed_, PixelCPEClusterRepair::ClusterParamTemplate::templSigmaX_, PixelCPEClusterRepair::ClusterParamTemplate::templSigmaY_, PixelCPEClusterRepair::ClusterParamTemplate::templXrec_, PixelCPEClusterRepair::ClusterParamTemplate::templYrec_, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePart, thePixelTemp_, PixelCPEBase::DetParam::theTopol, UNLIKELY, PixelCPEBase::ClusterParam::with_track_angle, PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), PV3DBase< T, PVType, FrameType >::y(), and SiPixelCluster::y().
Referenced by localPosition().
|
private |
Definition at line 416 of file PixelCPEClusterRepair.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, PixelCPEBase::ClusterParam::edgeTypeX_, PixelCPEBase::ClusterParam::edgeTypeY_, PixelCPEBase::ClusterParam::hasFilledProb_, PixelCPEClusterRepair::ClusterParamTemplate::ierr2, GeomDetEnumerators::isEndcap(), PixelCPEBase::ClusterParam::loc_trk_pred, PixelTopology::localX(), PixelTopology::localY(), LogDebug, SiPixelTemplateReco2D::ClusMatrix::mrow, SiPixelTemplateReco2D::PixelTempReco2D(), PixelCPEBase::ClusterParam::probabilityQ_, PixelCPEBase::ClusterParam::probabilityX_, PixelCPEBase::ClusterParam::probabilityY_, PixelCPEBase::ClusterParam::qBin_, PixelCPEClusterRepair::ClusterParamTemplate::templProbXY_, PixelCPEClusterRepair::ClusterParamTemplate::templSigmaX_, PixelCPEClusterRepair::ClusterParamTemplate::templSigmaY_, PixelCPEClusterRepair::ClusterParamTemplate::templXrec_, PixelCPEClusterRepair::ClusterParamTemplate::templYrec_, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePart, thePixelTemp2D_, PixelCPEBase::DetParam::theTopol, UNLIKELY, PixelCPEBase::ClusterParam::with_track_angle, PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), PV3DBase< T, PVType, FrameType >::y(), and SiPixelCluster::y().
Referenced by localPosition().
|
private |
Definition at line 535 of file PixelCPEClusterRepair.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, SiPixelCluster::charge(), SiPixelTemplate::clsleny(), PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, PixelCPEBase::ClusterParam::edgeTypeY_, GeomDet::geographicalId(), PixelCPEBase::ClusterParam::hasBadPixels_, mps_fire::i, SiPixelTemplate::interpolate(), maxSizeMismatchInY_, SiPixelTemplateReco::ClusMatrix::mcol, minChargeRatio_, SiPixelCluster::minPixelCol(), SiPixelTemplate::qavg(), recommend2D_, PixelCPEClusterRepair::ClusterParamTemplate::recommended2D_, runDamagedClusters_, SiPixelCluster::sizeY(), PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::theDet, thePixelTemp_, PixelCPEBase::ttopo_, and SiPixelTemplateReco::ClusMatrix::ydouble.
Referenced by localPosition().
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 165 of file PixelCPEClusterRepair.cc.
References GetRecoTauVFromDQM_MC_cff::cl.
|
private |
Definition at line 121 of file PixelCPEClusterRepair.cc.
References TrackerGeometry::detUnits(), PixelCPEBase::geom_, SiPixel2DTemplateDBObject::getTemplateID(), mps_fire::i, LogDebug, PixelCPEBase::m_DetParams, TrackerGeometry::offsetDU(), AlCaHLTBitMon_ParallelJobs::p, templateDBobject2D_, and GeomDetEnumerators::tkDetEnum.
Referenced by PixelCPEClusterRepair().
|
static |
Definition at line 722 of file PixelCPEClusterRepair.cc.
References edm::ParameterSetDescription::add().
Referenced by PixelCPEClusterRepairESProducer::fillDescriptions().
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 627 of file PixelCPEClusterRepair.cc.
References PixelCPEBase::ClusterParam::edgeTypeX_, PixelCPEBase::ClusterParam::edgeTypeY_, Exception, f, PixelCPEClusterRepair::ClusterParamTemplate::ierr, PixelCPEClusterRepair::ClusterParamTemplate::ierr2, GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isTrackerPixel(), LogDebug, SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), PixelCPEClusterRepair::ClusterParamTemplate::templSigmaX_, PixelCPEClusterRepair::ClusterParamTemplate::templSigmaY_, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePart, PixelCPEBase::theVerboseLevel, and UNLIKELY.
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 176 of file PixelCPEClusterRepair.cc.
References cms::cuda::assert(), barrelTemplateID_, callTempReco1D(), callTempReco2D(), checkRecommend2D(), PixelCPEBase::DetParam::detTemplateId, PixelCPEBase::DetParam::detTemplateId2D, Exception, PixelCPEBase::ClusterParam::filled_from_2d, dqmMemoryStats::float, forwardTemplateID_, PixelCPEBase::ClusterParam::hasBadPixels_, PixelCPEBase::ClusterParam::hasFilledProb_, mps_fire::i, PixelCPEClusterRepair::ClusterParamTemplate::ierr, PixelCPEClusterRepair::ClusterParamTemplate::ierr2, createfilelist::int, GeomDetEnumerators::isEndcap(), RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), PixelCPEBase::ClusterParam::isOnEdge_, GeomDetEnumerators::isTrackerPixel(), PixelCPEBase::LoadTemplatesFromDB_, PixelCPEBase::ClusterParam::loc_trk_pred, Topology::localPosition(), SiStripPI::max, min(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), SiPixelCluster::pixel(), PixelCPEBase::ClusterParam::probabilityQ_, PixelCPEBase::ClusterParam::probabilityX_, PixelCPEBase::ClusterParam::probabilityY_, PixelCPEBase::ClusterParam::qBin_, PixelCPEClusterRepair::ClusterParamTemplate::recommended2D_, SiPixelCluster::size(), PixelCPEBase::ClusterParam::spansTwoROCs_, PixelCPEClusterRepair::ClusterParamTemplate::templProbXY_, PixelCPEClusterRepair::ClusterParamTemplate::templXrec_, PixelCPEClusterRepair::ClusterParamTemplate::templYrec_, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePart, PixelCPEBase::DetParam::theRecTopol, PixelCPEBase::DetParam::theTopol, and PixelCPEBase::ClusterParam::with_track_angle.
|
private |
Definition at line 108 of file PixelCPEClusterRepair.h.
Referenced by localPosition(), and PixelCPEClusterRepair().
|
private |
Definition at line 109 of file PixelCPEClusterRepair.h.
Referenced by localPosition(), and PixelCPEClusterRepair().
|
private |
Definition at line 116 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 115 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 143 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 146 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 103 of file PixelCPEClusterRepair.h.
Referenced by callTempReco1D(), and PixelCPEClusterRepair().
|
private |
Definition at line 112 of file PixelCPEClusterRepair.h.
Referenced by fill2DTemplIDs(), and PixelCPEClusterRepair().
|
private |
Definition at line 110 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().
|
private |
Definition at line 101 of file PixelCPEClusterRepair.h.
Referenced by callTempReco2D(), PixelCPEClusterRepair(), and ~PixelCPEClusterRepair().
|
private |
Definition at line 100 of file PixelCPEClusterRepair.h.
Referenced by callTempReco1D(), checkRecommend2D(), PixelCPEClusterRepair(), and ~PixelCPEClusterRepair().
|
private |
Definition at line 105 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().