#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 278 of file PixelCPEBase.h.
|
protected |
Definition at line 214 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 32 of file PixelCPEBase.cc.
References alpha2Order, PixelClusterParameterEstimator::clusterProbComputationFlag_, DoLorentz_, edm::ParameterSet::existsAs(), fillDetParams(), genErrorDBObject_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), createfilelist::int, lAOffset_, lAWidthBPix_, lAWidthFPix_, LoadTemplatesFromDB_, LogDebug, lorentzAngle_, lorentzAngleWidth_, templateDBobject_, theFlag_, theVerboseLevel, useLAOffsetFromConfig_, useLAWidthFromConfig_, and useLAWidthFromDB_.
|
private |
Definition at line 320 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 computeAnglesFromTrajectory(), and getParameters().
|
private |
Definition at line 264 of file PixelCPEBase.cc.
References computeAnglesFromDetPosition(), 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(), and setTheClu().
|
private |
Definition at line 539 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 431 of file PixelCPEBase.cc.
References mps_fire::i, GeomDet::index(), m_DetParams, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getParameters().
|
private |
Definition at line 448 of file PixelCPEBase.cc.
References GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), and PixelCPEBase::DetParam::theDet.
Referenced by fillDetParams().
|
private |
Definition at line 457 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(), 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 127 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().
|
inlinevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 137 of file PixelCPEBase.h.
References computeAnglesFromDetPosition(), createClusterParam(), detParam(), localError(), localPosition(), rawQualityWord(), and setTheClu().
Referenced by cms::SiPixelRecHitConverter::run().
|
inlinevirtual |
Implements PixelClusterParameterEstimator.
Definition at line 164 of file PixelCPEBase.h.
References GetRecoTauVFromDQM_MC_cff::cl, computeAnglesFromTrajectory(), createClusterParam(), detParam(), fillDetParams(), localError(), localPosition(), rawQualityWord(), and setTheClu().
|
private |
Definition at line 421 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 563 of file PixelCPEBase.cc.
References PixelCPEBase::ClusterParam::hasBadPixels_, PixelCPEBase::ClusterParam::hasFilledProb_, PixelCPEBase::ClusterParam::isOnEdge_, cmsBatch::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 233 of file PixelCPEBase.cc.
References computeAnglesFromTrajectory(), 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 250 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 252 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), and PixelCPEBase().
|
protected |
Definition at line 246 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 240 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
protected |
Definition at line 227 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
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 253 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 243 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 244 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
Definition at line 280 of file PixelCPEBase.h.
Referenced by detParam(), and fillDetParams().
|
protected |
Definition at line 239 of file PixelCPEBase.h.
Referenced by fillDetParams().
|
protected |
Definition at line 249 of file PixelCPEBase.h.
Referenced by fillDetParams(), PixelCPETemplateReco::localPosition(), PixelCPEBase(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
protected |
Definition at line 237 of file PixelCPEBase.h.
Referenced by driftDirection(), fillDetParams(), and PixelCPEBase().
|
protected |
Definition at line 236 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
protected |
Definition at line 241 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError().
|
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().
|
protected |
Definition at line 233 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().