#include <PixelCPEBase.h>
Classes | |
struct | ClusterParam |
struct | DetParam |
Protected Types | |
typedef GloballyPositioned < double > | Frame |
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_ |
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 Types | |
using | DetParams = std::vector< DetParam > |
Private 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 |
virtual ClusterParam * | createClusterParam (const SiPixelCluster &cl) const =0 |
DetParam const & | detParam (const GeomDetUnit &det) const |
LocalVector | driftDirection (DetParam &theDetParam, GlobalVector bfield) const |
LocalVector | driftDirection (DetParam &theDetParam, LocalVector bfield) const |
void | fillDetParams () |
bool | isFlipped (DetParam const &theDetParam) const |
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 |
void | setTheClu (DetParam const &, ClusterParam &theClusterParam) const |
Private Attributes | |
DetParams | m_DetParams =DetParams(1440) |
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.
|
private |
Definition at line 280 of file PixelCPEBase.h.
|
protected |
Definition at line 216 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 41 of file PixelCPEBase.cc.
References alpha2Order, PixelClusterParameterEstimator::clusterProbComputationFlag_, DoLorentz_, edm::ParameterSet::existsAs(), fillDetParams(), genErrorDBObject_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), lAOffset_, lAWidthBPix_, lAWidthFPix_, LoadTemplatesFromDB_, LogDebug, lorentzAngle_, lorentzAngleWidth_, templateDBobject_, theFlag_, theVerboseLevel, useLAOffsetFromConfig_, useLAWidthFromConfig_, and useLAWidthFromDB_.
Referenced by PixelCPEGeneric::PixelCPEGeneric().
|
private |
Definition at line 345 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().
|
private |
Definition at line 283 of file PixelCPEBase.cc.
References PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, PixelCPEBase::ClusterParam::loc_trk_pred, LocalTrajectoryParameters::mixedFormatVector(), LocalTrajectoryParameters::momentum(), LocalTrajectoryParameters::position(), PixelCPEBase::ClusterParam::trk_lp_x, PixelCPEBase::ClusterParam::trk_lp_y, PixelCPEBase::ClusterParam::with_track_angle, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getParameters().
|
private |
Definition at line 564 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, and PixelCPETemplateReco.
Referenced by getParameters().
|
private |
Definition at line 456 of file PixelCPEBase.cc.
References assert(), i, GeomDet::index(), m_DetParams, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getParameters().
|
private |
Definition at line 473 of file PixelCPEBase.cc.
References GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), and PixelCPEBase::DetParam::theDet.
Referenced by fillDetParams().
|
private |
Definition at line 482 of file PixelCPEBase.cc.
References funct::abs(), alpha2Order, gather_cfg::cout, createTree::dd, f, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isTrackerPixel(), lAOffset_, lAWidthBPix_, lAWidthFPix_, LogDebug, lorentzAngle_, lorentzAngleWidth_, NULL, DetId::rawId(), pileupReCalc_HLTpaths::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 140 of file PixelCPEBase.cc.
References assert(), computeLorentzShifts(), TrackerGeometry::detUnits(), DoLorentz_, driftDirection(), genErrorDBObject_, geom_, SiPixelGenErrorDBObject::getGenErrorID(), SiPixelTemplateDBObject::getTemplateID(), i, MagneticField::inTesla(), LoadTemplatesFromDB_, LogDebug, m_DetParams, magfield_, TrackerGeometry::offsetDU(), AlCaHLTBitMon_ParallelJobs::p, templateDBobject_, theFlag_, GeomDetEnumerators::tkDetEnum, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelCPEBase().
|
inlinevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 139 of file PixelCPEBase.h.
References computeAnglesFromDetPosition(), createClusterParam(), detParam(), localError(), localPosition(), rawQualityWord(), and setTheClu().
Referenced by cms::SiPixelRecHitConverter::run().
|
inlinevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 166 of file PixelCPEBase.h.
References computeAnglesFromTrajectory(), createClusterParam(), detParam(), localError(), localPosition(), rawQualityWord(), and setTheClu().
|
private |
Definition at line 446 of file PixelCPEBase.cc.
References PV3DBase< T, PVType, FrameType >::perp2(), GeomDet::surface(), PixelCPEBase::DetParam::theDet, and Surface::toGlobal().
|
privatepure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by getParameters().
|
privatepure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
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 588 of file PixelCPEBase.cc.
References 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().
|
private |
Definition at line 252 of file PixelCPEBase.cc.
References RectangularPixelTopology::containsBigPixelInX(), RectangularPixelTopology::containsBigPixelInY(), RectangularPixelTopology::isItEdgePixelInX(), RectangularPixelTopology::isItEdgePixelInY(), PixelCPEBase::ClusterParam::isOnEdge_, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelCPEBase::ClusterParam::spansTwoROCs_, PixelCPEBase::ClusterParam::theCluster, and PixelCPEBase::DetParam::theRecTopol.
Referenced by getParameters().
|
protected |
Definition at line 252 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 254 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), and PixelCPEBase().
|
protected |
Definition at line 248 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 242 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
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 231 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 255 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 245 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 246 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
Definition at line 282 of file PixelCPEBase.h.
Referenced by detParam(), and fillDetParams().
|
protected |
Definition at line 241 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
protected |
Definition at line 251 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 239 of file PixelCPEBase.h.
Referenced by driftDirection(), fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 238 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 243 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError().
|
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().
|
protected |
Definition at line 235 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().