#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 | DoLorentz_ |
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 | useLAOffsetFromConfig_ |
bool | useLAWidthFromConfig_ |
bool | useLAWidthFromDB_ |
Protected Attributes inherited from PixelClusterParameterEstimator | |
unsigned int | clusterProbComputationFlag_ |
Private Member Functions | |
virtual 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 54 of file PixelCPEBase.h.
|
protected |
Definition at line 278 of file PixelCPEBase.h.
|
protected |
Definition at line 215 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_, DoLorentz_, fillDetParams(), genErrorDBObject_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), createfilelist::int, lAOffset_, lAWidthBPix_, lAWidthFPix_, LoadTemplatesFromDB_, LogDebug, lorentzAngle_, lorentzAngleWidth_, templateDBobject_, theFlag_, theVerboseLevel, useLAOffsetFromConfig_, useLAWidthFromConfig_, and useLAWidthFromDB_.
|
protected |
Definition at line 289 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 255 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 421 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 PixelCPEGeneric, PixelCPEClusterRepair, and PixelCPETemplateReco.
Referenced by getParameters().
|
protected |
Definition at line 320 of file PixelCPEBase.cc.
References mps_fire::i, GeomDet::index(), m_DetParams, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getParameters().
|
protected |
Definition at line 336 of file PixelCPEBase.cc.
References GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), and PixelCPEBase::DetParam::theDet.
Referenced by fillDetParams().
|
protected |
Definition at line 342 of file PixelCPEBase.cc.
References funct::abs(), alpha2Order, createTree::dd, f, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isTrackerPixel(), lAOffset_, lAWidthBPix_, lAWidthFPix_, LogDebug, lorentzAngle_, lorentzAngleWidth_, DetId::rawId(), Scenarios_cff::scale, PixelCPEBase::DetParam::theDet, theFlag_, PixelCPEBase::DetParam::thePart, useLAOffsetFromConfig_, useLAWidthFromConfig_, useLAWidthFromDB_, PixelCPEBase::DetParam::widthLAFractionX, PixelCPEBase::DetParam::widthLAFractionY, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 120 of file PixelCPEBase.cc.
References computeLorentzShifts(), TrackerGeometry::detUnits(), DoLorentz_, 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, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getParameters(), and PixelCPEBase().
|
static |
Definition at line 465 of file PixelCPEBase.cc.
References edm::ParameterSetDescription::add().
Referenced by PixelCPETemplateRecoESProducer::fillDescriptions(), PixelCPEClusterRepairESProducer::fillDescriptions(), and PixelCPEGenericESProducer::fillDescriptions().
|
inlineoverridevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 143 of file PixelCPEBase.h.
References computeAnglesFromDetPosition(), createClusterParam(), detParam(), localError(), localPosition(), rawQualityWord(), and setTheClu().
Referenced by cms::SiPixelRecHitConverter::produce().
|
inlineoverridevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 168 of file PixelCPEBase.h.
References GetRecoTauVFromDQM_MC_cff::cl, computeAnglesFromTrajectory(), createClusterParam(), detParam(), fillDetParams(), localError(), localPosition(), rawQualityWord(), and setTheClu().
|
privatepure virtual |
Implemented in PixelCPEGeneric, PixelCPETemplateReco, and PixelCPEClusterRepair.
Referenced by getParameters().
|
privatepure virtual |
Implemented in PixelCPEGeneric, PixelCPETemplateReco, and PixelCPEClusterRepair.
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 439 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 212 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 251 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 253 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), and PixelCPEBase().
|
protected |
Definition at line 247 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 241 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::fill2DTemplIDs(), and fillDetParams().
|
protected |
Definition at line 228 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 229 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 230 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 254 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEClusterRepair::localPosition(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEClusterRepair::PixelCPEClusterRepair(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 244 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 245 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 240 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
protected |
Definition at line 250 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEClusterRepair::PixelCPEClusterRepair(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 238 of file PixelCPEBase.h.
Referenced by driftDirection(), fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 237 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::localError(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 242 of file PixelCPEBase.h.
Referenced by PixelCPEClusterRepair::checkRecommend2D(), and PixelCPEGeneric::localError().
|
protected |
Definition at line 232 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
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().