#include <PixelCPEClusterRepair.h>
Classes | |
struct | ClusterParamTemplate |
class | Rule |
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 |
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 35 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 40 of file PixelCPEClusterRepair.cc.
References barrelTemplateID_, Exception, fill2DTemplIDs(), forwardTemplateID_, edm::ParameterSet::getParameter(), MagneticField::inTesla(), PixelCPEBase::LoadTemplatesFromDB_, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), maxSizeMismatchInY_, minChargeRatio_, SiPixelTemplate2D::pushfile(), SiPixelTemplate::pushfile(), recommend2D_, runDamagedClusters_, speed_, str, templateDBobject2D_, PixelCPEBase::templateDBobject_, templateDir_, thePixelTemp2D_, thePixelTemp_, and UseClusterSplitter_.
|
override |
Definition at line 163 of file PixelCPEClusterRepair.cc.
References thePixelTemp2D_, thePixelTemp_, and x.
|
private |
Definition at line 336 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 434 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 550 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 169 of file PixelCPEClusterRepair.cc.
|
private |
Definition at line 124 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().
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 643 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 184 of file PixelCPEClusterRepair.cc.
References barrelTemplateID_, callTempReco1D(), callTempReco2D(), checkRecommend2D(), PixelCPEBase::DetParam::detTemplateId, PixelCPEBase::DetParam::detTemplateId2D, PixelCPEBase::ClusterParam::filled_from_2d, objects.autophobj::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, create_public_lumi_plots::tmp_x, create_public_lumi_plots::tmp_y, and PixelCPEBase::ClusterParam::with_track_angle.
|
private |
Definition at line 105 of file PixelCPEClusterRepair.h.
Referenced by localPosition(), and PixelCPEClusterRepair().
|
private |
Definition at line 106 of file PixelCPEClusterRepair.h.
Referenced by localPosition(), and PixelCPEClusterRepair().
|
private |
Definition at line 113 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 112 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 139 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 142 of file PixelCPEClusterRepair.h.
Referenced by checkRecommend2D(), and PixelCPEClusterRepair().
|
private |
Definition at line 100 of file PixelCPEClusterRepair.h.
Referenced by callTempReco1D(), and PixelCPEClusterRepair().
|
private |
Definition at line 109 of file PixelCPEClusterRepair.h.
Referenced by fill2DTemplIDs(), and PixelCPEClusterRepair().
|
private |
Definition at line 107 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().
|
private |
Definition at line 98 of file PixelCPEClusterRepair.h.
Referenced by callTempReco2D(), PixelCPEClusterRepair(), and ~PixelCPEClusterRepair().
|
private |
Definition at line 97 of file PixelCPEClusterRepair.h.
Referenced by callTempReco1D(), checkRecommend2D(), PixelCPEClusterRepair(), and ~PixelCPEClusterRepair().
|
private |
Definition at line 102 of file PixelCPEClusterRepair.h.
Referenced by PixelCPEClusterRepair().