#include <PixelCPEBase.h>
Classes | |
struct | ClusterParam |
struct | DetParam |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Protected Types | |
using | DetParams = std::vector< DetParam > |
typedef GloballyPositioned< double > | Frame |
Protected Member Functions | |
void | computeAnglesFromDetPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const |
void | computeAnglesFromTrajectory (DetParam const &theDetParam, ClusterParam &theClusterParam, const LocalTrajectoryParameters <p) const |
void | computeLorentzShifts (DetParam &) const |
DetParam const & | detParam (const GeomDetUnit &det) const |
LocalVector | driftDirection (DetParam &theDetParam, GlobalVector bfield) const |
LocalVector | driftDirection (DetParam &theDetParam, LocalVector bfield) const |
void | setTheClu (DetParam const &, ClusterParam &theClusterParam) const |
Protected Attributes | |
bool | alpha2Order |
bool | doLorentzFromAlignment_ |
const SiPixelGenErrorDBObject * | genErrorDBObject_ |
const TrackerGeometry & | geom_ |
float | lAOffset_ |
float | lAWidthBPix_ |
float | lAWidthFPix_ |
bool | LoadTemplatesFromDB_ |
const SiPixelLorentzAngle * | lorentzAngle_ |
const SiPixelLorentzAngle * | lorentzAngleWidth_ |
DetParams | m_DetParams = DetParams(1440) |
const MagneticField * | magfield_ |
const SiPixelTemplateDBObject * | templateDBobject_ |
int | theFlag_ |
int | theVerboseLevel |
const TrackerTopology & | ttopo_ |
bool | useLAFromDB_ |
bool | useLAOffsetFromConfig_ |
bool | useLAWidthFromConfig_ |
bool | useLAWidthFromDB_ |
Protected Attributes inherited from PixelClusterParameterEstimator | |
unsigned int | clusterProbComputationFlag_ |
Static Protected Attributes | |
static constexpr float | bothEdgeXError_ = 31.0f |
static constexpr float | bothEdgeYError_ = 90.0f |
static constexpr float | clusterSplitMaxError_ = 7777.7f |
static constexpr float | xEdgeXError_ = 23.0f |
static constexpr float | xEdgeYError_ = 39.0f |
static constexpr float | yEdgeXError_ = 24.0f |
static constexpr float | yEdgeYError_ = 96.0f |
Private Member Functions | |
virtual std::unique_ptr< ClusterParam > | createClusterParam (const SiPixelCluster &cl) const =0 |
void | fillDetParams () |
virtual LocalError | localError (DetParam const &theDetParam, ClusterParam &theClusterParam) const =0 |
virtual LocalPoint | localPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const =0 |
SiPixelRecHitQuality::QualWordType | rawQualityWord (ClusterParam &theClusterParam) const |
Additional Inherited Members | |
Public Types inherited from PixelClusterParameterEstimator | |
typedef std::pair< LocalPoint, LocalError > | LocalValues |
using | ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > |
typedef std::vector< LocalValues > | VLocalValues |
Definition at line 42 of file PixelCPEBase.h.
|
protected |
Definition at line 278 of file PixelCPEBase.h.
|
protected |
Definition at line 202 of file PixelCPEBase.h.
PixelCPEBase::PixelCPEBase | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag, | ||
const TrackerGeometry & | geom, | ||
const TrackerTopology & | ttopo, | ||
const SiPixelLorentzAngle * | lorentzAngle, | ||
const SiPixelGenErrorDBObject * | genErrorDBObject, | ||
const SiPixelTemplateDBObject * | templateDBobject, | ||
const SiPixelLorentzAngle * | lorentzAngleWidth, | ||
int | flag = 0 |
||
) |
Definition at line 27 of file PixelCPEBase.cc.
References alpha2Order, PixelClusterParameterEstimator::clusterProbComputationFlag_, doLorentzFromAlignment_, fillDetParams(), genErrorDBObject_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), createfilelist::int, lAOffset_, lAWidthBPix_, lAWidthFPix_, LoadTemplatesFromDB_, LogDebug, lorentzAngle_, lorentzAngleWidth_, templateDBobject_, theFlag_, theVerboseLevel, useLAFromDB_, useLAOffsetFromConfig_, useLAWidthFromConfig_, and useLAWidthFromDB_.
|
protected |
Definition at line 280 of file PixelCPEBase.cc.
References PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, Topology::localPosition(), PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::theOrigin, PixelCPEBase::DetParam::theTopol, PixelCPEBase::ClusterParam::with_track_angle, PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), PV3DBase< T, PVType, FrameType >::y(), SiPixelCluster::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getParameters().
|
protected |
Definition at line 246 of file PixelCPEBase.cc.
References PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), PixelCPEBase::ClusterParam::loc_trk_pred, LocalTrajectoryParameters::position(), PixelCPEBase::ClusterParam::trk_lp_x, PixelCPEBase::ClusterParam::trk_lp_y, PixelCPEBase::ClusterParam::with_track_angle, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by getParameters().
|
protected |
Definition at line 412 of file PixelCPEBase.cc.
References PixelCPEBase::DetParam::driftDirection, LogDebug, PixelCPEBase::DetParam::lorentzShiftInCmX, PixelCPEBase::DetParam::lorentzShiftInCmY, PixelCPEBase::DetParam::theThickness, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillDetParams().
|
privatepure virtual |
Implemented in PixelCPEClusterRepair, PixelCPETemplateReco, and PixelCPEGenericBase.
Referenced by getParameters().
|
protected |
Definition at line 311 of file PixelCPEBase.cc.
References cms::cuda::assert(), mps_fire::i, GeomDet::index(), m_DetParams, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getParameters().
|
protected |
Definition at line 327 of file PixelCPEBase.cc.
References mkfit::Config::Bfield, GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), and PixelCPEBase::DetParam::theDet.
Referenced by fillDetParams().
|
protected |
Definition at line 333 of file PixelCPEBase.cc.
References funct::abs(), alpha2Order, mkfit::Config::Bfield, createTree::dd, f, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isTrackerPixel(), lAOffset_, lAWidthBPix_, lAWidthFPix_, LogDebug, lorentzAngle_, lorentzAngleWidth_, DetId::rawId(), l1tEGammaCrystalsEmulatorProducer_cfi::scale, PixelCPEBase::DetParam::theDet, theFlag_, PixelCPEBase::DetParam::thePart, useLAOffsetFromConfig_, useLAWidthFromConfig_, useLAWidthFromDB_, PixelCPEBase::DetParam::widthLAFractionX, and PixelCPEBase::DetParam::widthLAFractionY.
|
private |
Definition at line 118 of file PixelCPEBase.cc.
References cms::cuda::assert(), mkfit::Config::Bfield, computeLorentzShifts(), TrackerGeometry::detUnits(), doLorentzFromAlignment_, driftDirection(), genErrorDBObject_, geom_, SiPixelGenErrorDBObject::getGenErrorID(), SiPixelTemplateDBObject::getTemplateID(), mps_fire::i, createfilelist::int, MagneticField::inTesla(), LoadTemplatesFromDB_, LogDebug, m_DetParams, magfield_, TrackerGeometry::offsetDU(), AlCaHLTBitMon_ParallelJobs::p, templateDBobject_, theFlag_, GeomDetEnumerators::tkDetEnum, and useLAFromDB_.
Referenced by PixelCPEBase().
|
static |
Definition at line 456 of file PixelCPEBase.cc.
References submitPVResolutionJobs::desc.
Referenced by PixelCPETemplateRecoESProducer::fillDescriptions(), PixelCPEFastESProducerT< TrackerTraits >::fillDescriptions(), PixelCPEClusterRepairESProducer::fillDescriptions(), PixelCPEGenericESProducer::fillDescriptions(), and ALPAKA_ACCELERATOR_NAMESPACE::PixelCPEFastParamsESProducerAlpaka< TrackerTraits >::fillDescriptions().
|
inlineoverridevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 132 of file PixelCPEBase.h.
References haddnano::cl, computeAnglesFromDetPosition(), createClusterParam(), detParam(), localError(), localPosition(), LogDebug, rawQualityWord(), setTheClu(), mkLumiAveragedPlots::tuple, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by cms::SiPixelRecHitConverter::run().
|
inlineoverridevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 156 of file PixelCPEBase.h.
References haddnano::cl, computeAnglesFromTrajectory(), createClusterParam(), detParam(), localError(), localPosition(), LogDebug, rawQualityWord(), setTheClu(), mkLumiAveragedPlots::tuple, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
privatepure virtual |
Implemented in PixelCPETemplateReco, PixelCPEClusterRepair, PixelCPEGeneric, PixelCPEFastParamsHost< TrackerTraits >, and PixelCPEFast< TrackerTraits >.
Referenced by getParameters().
|
privatepure virtual |
Implemented in PixelCPETemplateReco, PixelCPEClusterRepair, PixelCPEGeneric, PixelCPEFastParamsHost< TrackerTraits >, and PixelCPEFast< TrackerTraits >.
Referenced by getParameters().
|
private |
A convenience method to fill a whole SiPixelRecHitQuality word in one shot. This way, we can keep the details of what is filled within the pixel code and not expose the Transient SiPixelRecHit to it as well. The name of this function is chosen to match the one in SiPixelRecHit.
Definition at line 430 of file PixelCPEBase.cc.
References PixelCPEBase::ClusterParam::filled_from_2d, PixelCPEBase::ClusterParam::hasBadPixels_, PixelCPEBase::ClusterParam::hasFilledProb_, PixelCPEBase::ClusterParam::isOnEdge_, dqm-mbProfile::log, PixelCPEBase::ClusterParam::probabilityQ_, PixelCPEBase::ClusterParam::probabilityX_, PixelCPEBase::ClusterParam::probabilityY_, PixelCPEBase::ClusterParam::qBin_, SiPixelRecHitQuality::Packing::setHasBadPixels(), SiPixelRecHitQuality::Packing::setHasFilledProb(), SiPixelRecHitQuality::Packing::setIsOnEdge(), SiPixelRecHitQuality::Packing::setProbabilityQ(), SiPixelRecHitQuality::Packing::setProbabilityXY(), SiPixelRecHitQuality::Packing::setQBin(), SiPixelRecHitQuality::Packing::setSpansTwoROCs(), PixelCPEBase::ClusterParam::spansTwoROCs_, and SiPixelRecHitQuality::thePacking.
Referenced by getParameters().
|
protected |
Definition at line 203 of file PixelCPEBase.cc.
References PixelTopology::containsBigPixelInX(), PixelTopology::containsBigPixelInY(), PixelCPEBase::ClusterParam::edgeTypeX_, PixelCPEBase::ClusterParam::edgeTypeY_, PixelCPEBase::ClusterParam::isOnEdge_, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelCPEBase::ClusterParam::spansTwoROCs_, PixelCPEBase::ClusterParam::theCluster, and PixelCPEBase::DetParam::theTopol.
Referenced by getParameters().
|
protected |
Definition at line 236 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
staticprotected |
Definition at line 251 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
staticprotected |
Definition at line 252 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
staticprotected |
Definition at line 254 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
protected |
Definition at line 240 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), and PixelCPEBase().
|
protected |
Definition at line 234 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEBase(), PixelCPEFast< TrackerTraits >::PixelCPEFast(), PixelCPEFastParamsHost< TrackerTraits >::PixelCPEFastParamsHost(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 228 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::fill2DTemplIDs(), and fillDetParams().
|
protected |
Definition at line 215 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 216 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 217 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 241 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEClusterRepair::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEClusterRepair::PixelCPEClusterRepair(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 231 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 232 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
Definition at line 280 of file PixelCPEBase.h.
Referenced by detParam(), PixelCPEClusterRepair::fill2DTemplIDs(), and fillDetParams().
|
protected |
Definition at line 227 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
protected |
Definition at line 235 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), and PixelCPEBase().
|
protected |
Definition at line 225 of file PixelCPEBase.h.
Referenced by driftDirection(), fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 224 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 229 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::checkRecommend2D(), and PixelCPEGenericBase::setXYErrors().
|
protected |
Definition at line 238 of file PixelCPEBase.h.
Referenced by fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 219 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 220 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 221 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
staticprotected |
Definition at line 245 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
staticprotected |
Definition at line 246 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
staticprotected |
Definition at line 248 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
staticprotected |
Definition at line 249 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().