#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 43 of file PixelCPEBase.h.
|
protected |
Definition at line 280 of file PixelCPEBase.h.
|
protected |
Definition at line 204 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 30 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 291 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 257 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 423 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 322 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 338 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 344 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(), L1EGammaClusterEmuProducer_cfi::scale, PixelCPEBase::DetParam::theDet, theFlag_, PixelCPEBase::DetParam::thePart, useLAOffsetFromConfig_, useLAWidthFromConfig_, useLAWidthFromDB_, PixelCPEBase::DetParam::widthLAFractionX, and PixelCPEBase::DetParam::widthLAFractionY.
|
private |
Definition at line 121 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 467 of file PixelCPEBase.cc.
References submitPVResolutionJobs::desc.
Referenced by PixelCPETemplateRecoESProducer::fillDescriptions(), PixelCPEFastESProducerT< TrackerTraits >::fillDescriptions(), PixelCPEClusterRepairESProducer::fillDescriptions(), and PixelCPEGenericESProducer::fillDescriptions().
|
inlineoverridevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 134 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 158 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, and PixelCPEFast< TrackerTraits >.
Referenced by getParameters().
|
privatepure virtual |
Implemented in PixelCPETemplateReco, PixelCPEClusterRepair, PixelCPEGeneric, 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 441 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 214 of file PixelCPEBase.cc.
References RectangularPixelTopology::containsBigPixelInX(), RectangularPixelTopology::containsBigPixelInY(), PixelCPEBase::ClusterParam::edgeTypeX_, PixelCPEBase::ClusterParam::edgeTypeY_, PixelCPEBase::ClusterParam::isOnEdge_, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), RectangularPixelTopology::ncolumns(), RectangularPixelTopology::nrows(), PixelCPEBase::ClusterParam::spansTwoROCs_, PixelCPEBase::ClusterParam::theCluster, and PixelCPEBase::DetParam::theRecTopol.
Referenced by getParameters().
|
protected |
Definition at line 238 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
staticprotected |
Definition at line 253 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().
|
staticprotected |
Definition at line 256 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
protected |
Definition at line 242 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), and PixelCPEBase().
|
protected |
Definition at line 236 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEBase(), PixelCPEFast< TrackerTraits >::PixelCPEFast(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 230 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::fill2DTemplIDs(), and fillDetParams().
|
protected |
Definition at line 217 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 218 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 219 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 243 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEClusterRepair::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEClusterRepair::PixelCPEClusterRepair(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 233 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 234 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
Definition at line 282 of file PixelCPEBase.h.
Referenced by detParam(), PixelCPEClusterRepair::fill2DTemplIDs(), and fillDetParams().
|
protected |
Definition at line 229 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
protected |
Definition at line 237 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEClusterRepair::PixelCPEClusterRepair(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 227 of file PixelCPEBase.h.
Referenced by driftDirection(), fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 226 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 231 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::checkRecommend2D(), and PixelCPEGenericBase::setXYErrors().
|
protected |
Definition at line 240 of file PixelCPEBase.h.
Referenced by fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 221 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 222 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 223 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
staticprotected |
Definition at line 247 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 250 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().
|
staticprotected |
Definition at line 251 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), and PixelCPETemplateReco::localError().