#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 > const * | thePixelTemp_ |
std::vector< SiPixelTemplateStore > | thePixelTempCache_ |
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 std::vector< SiPixelTemplateStore > * | templateStore, | ||
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_, templateDir_, thePixelTemp2D_, thePixelTemp_, thePixelTempCache_, and UseClusterSplitter_.
|
override |
Definition at line 155 of file PixelCPEClusterRepair.cc.
|
private |
Definition at line 307 of file PixelCPEClusterRepair.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, PixelCPEBase::ClusterParam::hasFilledProb_, PixelCPEClusterRepair::ClusterParamTemplate::ierr, PixelCPEBase::ClusterParam::loc_trk_pred, PixelTopology::localX(), PixelTopology::localY(), LogDebug, PixelCPEBase::DetParam::lorentzShiftInCmX, PixelCPEBase::DetParam::lorentzShiftInCmY, pixelCPEforDevice::micronsToCm, 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, 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 403 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, PixelCPEBase::ClusterParam::loc_trk_pred, PixelTopology::localX(), PixelTopology::localY(), LogDebug, PixelCPEBase::DetParam::lorentzShiftInCmX, PixelCPEBase::DetParam::lorentzShiftInCmY, pixelCPEforDevice::micronsToCm, 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, 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 520 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 157 of file PixelCPEClusterRepair.cc.
References haddnano::cl.
|
private |
Definition at line 118 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 716 of file PixelCPEClusterRepair.cc.
References submitPVResolutionJobs::desc.
Referenced by PixelCPEClusterRepairESProducer::fillDescriptions().
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 612 of file PixelCPEClusterRepair.cc.
References PixelCPEBase::bothEdgeXError_, PixelCPEBase::bothEdgeYError_, PixelCPEBase::clusterSplitMaxError_, PixelCPEBase::ClusterParam::edgeTypeX_, PixelCPEBase::ClusterParam::edgeTypeY_, Exception, f, PixelCPEBase::ClusterParam::filled_from_2d, SiPixelCluster::getSplitClusterErrorX(), SiPixelCluster::getSplitClusterErrorY(), PixelCPEClusterRepair::ClusterParamTemplate::ierr, PixelCPEClusterRepair::ClusterParamTemplate::ierr2, GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isTrackerPixel(), LogDebug, pixelCPEforDevice::micronsToCm, SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), PixelCPEClusterRepair::ClusterParamTemplate::templSigmaX_, PixelCPEClusterRepair::ClusterParamTemplate::templSigmaY_, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePart, PixelCPEBase::theVerboseLevel, UNLIKELY, PixelCPEBase::xEdgeXError_, PixelCPEBase::xEdgeYError_, PixelCPEBase::yEdgeXError_, and PixelCPEBase::yEdgeYError_.
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 168 of file PixelCPEClusterRepair.cc.
References cms::cuda::assert(), barrelTemplateID_, callTempReco1D(), callTempReco2D(), checkRecommend2D(), PixelCPEBase::DetParam::detTemplateId, PixelCPEBase::DetParam::detTemplateId2D, PixelCPEBase::ClusterParam::filled_from_2d, nano_mu_digi_cff::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, SiStripPI::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 110 of file PixelCPEClusterRepair.h.
Referenced by localPosition(), and PixelCPEClusterRepair().
|
private |
Definition at line 111 of file PixelCPEClusterRepair.h.
Referenced by localPosition(), and PixelCPEClusterRepair().
|
private |
Definition at line 118 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 117 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 145 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 148 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 105 of file PixelCPEClusterRepair.h.
Referenced by callTempReco1D(), and PixelCPEClusterRepair().
|
private |
Definition at line 114 of file PixelCPEClusterRepair.h.
Referenced by fill2DTemplIDs(), and PixelCPEClusterRepair().
|
private |
Definition at line 112 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().
|
private |
Definition at line 103 of file PixelCPEClusterRepair.h.
Referenced by callTempReco2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 101 of file PixelCPEClusterRepair.h.
Referenced by callTempReco1D(), checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 102 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().
|
private |
Definition at line 107 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().