#include <PixelCPEBase.h>
Classes | |
struct | Param |
Protected Types | |
typedef GloballyPositioned < double > | Frame |
Protected Member Functions | |
void | computeLorentzShifts () const |
LocalVector | driftDirection (GlobalVector bfield) const |
LocalVector | driftDirection (LocalVector bfield) const |
LocalVector | driftDirectionCorrect (GlobalVector bfield) const |
LocalVector const & | getDrift () const |
bool | isFlipped () const |
float | lorentzShiftX () const |
float | lorentzShiftY () const |
Param const & | param () const |
void | setTheDet (const GeomDetUnit &det, const SiPixelCluster &cluster) const |
Private Types | |
using | Params = std::vector< Param > |
Private Member Functions | |
void | computeAnglesFromDetPosition (const SiPixelCluster &cl) const |
void | computeAnglesFromTrajectory (const SiPixelCluster &cl, const LocalTrajectoryParameters <p) const |
virtual LocalError | localError (const SiPixelCluster &cl) const =0 |
virtual LocalPoint | localPosition (const SiPixelCluster &cl) const =0 |
Private Attributes | |
Params | m_Params =Params(1440) |
Additional Inherited Members | |
Public Types inherited from ClusterParameterEstimator< SiPixelCluster > | |
typedef std::pair< LocalPoint, LocalError > | LocalValues |
typedef std::vector< LocalValues > | VLocalValues |
Definition at line 47 of file PixelCPEBase.h.
|
protected |
Definition at line 158 of file PixelCPEBase.h.
|
private |
Definition at line 295 of file PixelCPEBase.h.
PixelCPEBase::PixelCPEBase | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag = 0 , |
||
const SiPixelLorentzAngle * | lorentzAngle = 0 , |
||
const SiPixelCPEGenericErrorParm * | genErrorParm = 0 , |
||
const SiPixelTemplateDBObject * | templateDBobject = 0 |
||
) |
Definition at line 49 of file PixelCPEBase.cc.
References alpha2Order, clusterProbComputationFlag_, genErrorParm_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), lorentzAngle_, mag(), magfield_, templateDBobject_, and theVerboseLevel.
|
inline |
Definition at line 139 of file PixelCPEBase.h.
References clusterProbComputationFlag_.
|
private |
Definition at line 275 of file PixelCPEBase.cc.
References cotalpha_, cotbeta_, Topology::localPosition(), theOrigin, theTopol, with_track_angle, PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), PV3DBase< T, PVType, FrameType >::y(), SiPixelCluster::y(), PV3DBase< T, PVType, FrameType >::z(), and zneg.
Referenced by localParameters().
|
private |
Definition at line 215 of file PixelCPEBase.cc.
References cotalpha_, cotbeta_, loc_traj_param_, loc_trk_pred_, LocalTrajectoryParameters::mixedFormatVector(), LocalTrajectoryParameters::momentum(), LocalTrajectoryParameters::position(), trk_lp_x, trk_lp_y, with_track_angle, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and zneg.
Referenced by localParameters().
|
protected |
Definition at line 483 of file PixelCPEBase.cc.
References driftDirection_, getDrift(), LogDebug, lorentzShiftInCmX_, lorentzShiftInCmY_, lorentzShiftX_, lorentzShiftY_, thePitchX, thePitchY, theThickness, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelCPEGeneric::localPosition().
|
protected |
Definition at line 444 of file PixelCPEBase.cc.
References GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), and theDet.
Referenced by param().
|
protected |
Definition at line 453 of file PixelCPEBase.cc.
References funct::abs(), alpha2Order, createTree::dd, f, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), LogDebug, lorentzAngle_, DetId::rawId(), pileupReCalc_HLTpaths::scale, theDet, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
protected |
|
inlineprotected |
Definition at line 288 of file PixelCPEBase.h.
References driftDirection_.
Referenced by computeLorentzShifts(), lorentzShiftX(), and lorentzShiftY().
|
inline |
|
inline |
|
protected |
Definition at line 377 of file PixelCPEBase.cc.
References PV3DBase< T, PVType, FrameType >::perp2(), GeomDet::surface(), theDet, and Surface::toGlobal().
Referenced by setTheDet().
|
inline |
|
privatepure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localParameters().
|
inlinevirtual |
Reimplemented from ClusterParameterEstimator< SiPixelCluster >.
Definition at line 73 of file PixelCPEBase.h.
References computeAnglesFromDetPosition(), asciidump::le, localError(), localPosition(), nRecHitsTotal_, and setTheDet().
Referenced by cms::SiPixelRecHitConverter::run().
|
inlinevirtual |
Reimplemented from ClusterParameterEstimator< SiPixelCluster >.
Definition at line 90 of file PixelCPEBase.h.
References computeAnglesFromTrajectory(), asciidump::le, localError(), localPosition(), nRecHitsTotal_, and setTheDet().
|
privatepure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localParameters().
|
protected |
Definition at line 405 of file PixelCPEBase.cc.
References dir, getDrift(), thePitchX, theThickness, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by setTheDet().
|
protected |
Definition at line 420 of file PixelCPEBase.cc.
References dir, getDrift(), thePitchY, theThickness, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by setTheDet().
|
protected |
Definition at line 387 of file PixelCPEBase.cc.
References PixelCPEBase::Param::bz, PixelCPEBase::Param::drift, driftDirection(), i, GeomDet::index(), MagneticField::inTesla(), m_Params, magfield_, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), GeomDet::surface(), theDet, GloballyPositioned< T >::toLocal(), unlikely, and PV3DBase< T, PVType, FrameType >::z().
Referenced by setTheDet().
|
inline |
|
inline |
|
inline |
Definition at line 120 of file PixelCPEBase.h.
References create_public_lumi_plots::log, probabilityX_, and probabilityY_.
Referenced by rawQualityWord().
|
inline |
|
inline |
|
virtual |
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.
Reimplemented from PixelClusterParameterEstimator.
Definition at line 509 of file PixelCPEBase.cc.
References hasBadPixels_, hasFilledProb_, isOnEdge_, probabilityQ_, probabilityXY(), qBin_, SiPixelRecHitQuality::Packing::setHasBadPixels(), SiPixelRecHitQuality::Packing::setHasFilledProb(), SiPixelRecHitQuality::Packing::setIsOnEdge(), SiPixelRecHitQuality::Packing::setProbabilityQ(), SiPixelRecHitQuality::Packing::setProbabilityXY(), SiPixelRecHitQuality::Packing::setQBin(), SiPixelRecHitQuality::Packing::setSpansTwoROCs(), spansTwoROCs_, and SiPixelRecHitQuality::thePacking.
Referenced by cms::SiPixelRecHitConverter::run().
|
inline |
Definition at line 66 of file PixelCPEBase.h.
References mag(), and magfield_.
|
protected |
Definition at line 93 of file PixelCPEBase.cc.
References Surface::bounds(), driftDirection_, edm::hlt::Exception, hasBadPixels_, i, isFlipped(), isOnEdge_, LogDebug, lorentzShiftX(), lorentzShiftY(), SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), param(), PV3DBase< T, PVType, FrameType >::perp(), SiPixelCluster::pixelADC(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GloballyPositioned< T >::position(), spansTwoROCs_, PixelGeomDetUnit::specificTopology(), GeomDetType::subDetector(), GeomDet::surface(), theDet, theDetR, theDetZ, theLShiftX, theLShiftY, theNumOfCol, theNumOfRow, theOrigin, theParam, thePart, thePitchX, thePitchY, theRecTopol, theSign, theThickness, theTopol, Bounds::thickness(), GloballyPositioned< T >::toLocal(), PixelGeomDetUnit::type(), unlikely, and PV3DBase< T, PVType, FrameType >::z().
Referenced by localParameters().
|
inline |
|
protected |
Definition at line 248 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
protected |
Definition at line 221 of file PixelCPEBase.h.
Referenced by clusterProbComputationFlag(), and PixelCPEBase().
|
mutableprotected |
Definition at line 190 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 191 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 229 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), getDrift(), and setTheDet().
|
mutableprotected |
Definition at line 244 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError(), and PixelCPEBase().
|
mutableprotected |
Definition at line 211 of file PixelCPEBase.h.
Referenced by hasBadPixels(), rawQualityWord(), and setTheDet().
|
mutableprotected |
Definition at line 213 of file PixelCPEBase.h.
Referenced by hasFilledProb(), PixelCPETemplateReco::localPosition(), and rawQualityWord().
|
mutableprotected |
Definition at line 210 of file PixelCPEBase.h.
Referenced by isOnEdge(), rawQualityWord(), and setTheDet().
|
mutableprotected |
Definition at line 255 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory().
|
mutableprotected |
Definition at line 253 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 242 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
mutableprotected |
Definition at line 232 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 233 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 230 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
|
mutableprotected |
Definition at line 231 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
Definition at line 297 of file PixelCPEBase.h.
Referenced by param().
|
mutableprotected |
Definition at line 240 of file PixelCPEBase.h.
Referenced by param(), PixelCPEBase(), and setMagField().
|
mutableprotected |
Definition at line 199 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), and localParameters().
|
mutableprotected |
Definition at line 200 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula().
|
mutableprotected |
Definition at line 208 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityQ(), and rawQualityWord().
|
mutableprotected |
Definition at line 206 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityX(), and probabilityXY().
|
mutableprotected |
Definition at line 207 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityXY(), and probabilityY().
|
mutableprotected |
Definition at line 209 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), qBin(), and rawQualityWord().
|
mutableprotected |
Definition at line 212 of file PixelCPEBase.h.
Referenced by rawQualityWord(), setTheDet(), and spansTwoRocks().
|
mutableprotected |
Definition at line 246 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
mutableprotected |
Definition at line 164 of file PixelCPEBase.h.
Referenced by driftDirection(), isFlipped(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), param(), and setTheDet().
|
mutableprotected |
Definition at line 184 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 183 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 185 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 186 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 182 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 181 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 174 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), and setTheDet().
|
mutableprotected |
Definition at line 171 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 173 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 177 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), lorentzShiftX(), and setTheDet().
|
mutableprotected |
Definition at line 178 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 169 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 187 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 176 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPEGeneric::generic_position_formula(), lorentzShiftX(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 168 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), and setTheDet().
|
protected |
Definition at line 238 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase(), and PixelCPEGeneric::PixelCPEGeneric().
|
mutableprotected |
Definition at line 195 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), and PixelCPETemplateReco::localPosition().
|
mutableprotected |
Definition at line 196 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), and PixelCPETemplateReco::localPosition().
|
mutableprotected |
Definition at line 203 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 192 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), and PixelCPEGeneric::localError().