#include <PixelCPEBase.h>
Classes | |
struct | Param |
Protected Types | |
typedef GloballyPositioned < double > | Frame |
Protected Member Functions | |
void | computeAnglesFromTrajectory (const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const |
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 |
MeasurementError | measurementError (const SiPixelCluster &, const GeomDetUnit &det) const |
MeasurementPoint | measurementPosition (const SiPixelCluster &cluster, const GeomDetUnit &det) const |
Param const & | param () const |
void | setTheDet (const GeomDetUnit &det, const SiPixelCluster &cluster) const |
virtual float | xpos (const SiPixelCluster &) const =0 |
virtual float | ypos (const SiPixelCluster &) const =0 |
Private Types | |
typedef std::unordered_map < unsigned int, Param > | Params |
Private Attributes | |
Params | m_Params |
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 179 of file PixelCPEBase.h.
|
private |
Definition at line 326 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 45 of file PixelCPEBase.cc.
References alpha2Order, clusterProbComputationFlag_, genErrorParm_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), lorentzAngle_, mag(), magfield_, templateDBobject_, and theVerboseLevel.
|
inline |
Definition at line 160 of file PixelCPEBase.h.
References clusterProbComputationFlag_.
void PixelCPEBase::computeAnglesFromDetPosition | ( | const SiPixelCluster & | cl, |
const GeomDetUnit & | det | ||
) | const |
Definition at line 337 of file PixelCPEBase.cc.
References alpha_, beta_, cotalpha_, cotbeta_, edm::hlt::Exception, Topology::localPosition(), mathSSE::sqrt(), GeomDet::surface(), theDet, theTopol, Surface::toGlobal(), 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 localParameters().
|
protected |
Definition at line 217 of file PixelCPEBase.cc.
References alpha_, beta_, cotalpha_, cotbeta_, loc_traj_param_, loc_trk_pred_, PV3DBase< T, PVType, FrameType >::mag(), 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(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by localParameters().
|
protected |
Definition at line 542 of file PixelCPEBase.cc.
References driftDirection_, getDrift(), LogDebug, lorentzShiftInCmX_, lorentzShiftInCmY_, lorentzShiftX_, lorentzShiftY_, thePitchX, thePitchY, theThickness, theVerboseLevel, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelCPEGeneric::localPosition().
|
protected |
Definition at line 497 of file PixelCPEBase.cc.
References GloballyPositioned< T >::position(), GloballyPositioned< T >::rotation(), GeomDet::surface(), and theDet.
Referenced by param().
|
protected |
Definition at line 506 of file PixelCPEBase.cc.
References abs, alpha2Order, createTree::dd, edm::hlt::Exception, f, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), LogDebug, lorentzAngle_, DetId::rawId(), pileupReCalc_HLTpaths::scale, theDet, theVerboseLevel, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
protected |
|
inlineprotected |
Definition at line 319 of file PixelCPEBase.h.
References driftDirection_.
Referenced by computeLorentzShifts(), lorentzShiftX(), and lorentzShiftY().
|
inline |
|
inline |
|
protected |
Definition at line 432 of file PixelCPEBase.cc.
References PV3DBase< T, PVType, FrameType >::perp2(), GeomDet::surface(), theDet, and Surface::toGlobal().
Referenced by setTheDet().
|
inline |
|
pure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localParameters(), and measurementError().
|
inlinevirtual |
Implements ClusterParameterEstimator< SiPixelCluster >.
Definition at line 66 of file PixelCPEBase.h.
References computeAnglesFromDetPosition(), asciidump::le, localError(), localPosition(), nRecHitsTotal_, and setTheDet().
|
inlinevirtual |
Reimplemented from ClusterParameterEstimator< SiPixelCluster >.
Definition at line 83 of file PixelCPEBase.h.
References computeAnglesFromTrajectory(), asciidump::le, localError(), localPosition(), nRecHitsTotal_, and setTheDet().
|
inline |
Definition at line 101 of file PixelCPEBase.h.
References alpha, alpha_, beta, beta_, cotalpha_, cotbeta_, asciidump::le, localError(), localPosition(), nRecHitsTotal_, Pi, setTheDet(), and funct::tan().
|
virtual |
Reimplemented in PixelCPEGeneric, and PixelCPETemplateReco.
Definition at line 281 of file PixelCPEBase.cc.
References setTheDet(), theLShiftX, theLShiftY, thePitchX, thePitchY, xpos(), and ypos().
Referenced by localParameters(), measurementError(), and measurementPosition().
|
protected |
Definition at line 458 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 473 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 318 of file PixelCPEBase.cc.
References LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), asciidump::le, loc_traj_param_, localError(), localPosition(), Topology::measurementError(), theTopol, and with_track_angle.
|
protected |
Definition at line 297 of file PixelCPEBase.cc.
References LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), loc_traj_param_, localPosition(), Topology::measurementPosition(), theTopol, and with_track_angle.
|
protected |
Definition at line 442 of file PixelCPEBase.cc.
References PixelCPEBase::Param::bz, PixelCPEBase::Param::drift, driftDirection(), GeomDet::geographicalId(), MagneticField::inTesla(), m_Params, magfield_, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), DetId::rawId(), GeomDet::surface(), theDet, GloballyPositioned< T >::toLocal(), unlikely, and PV3DBase< T, PVType, FrameType >::z().
Referenced by setTheDet().
|
inline |
|
inline |
|
inline |
Definition at line 141 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 572 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 127 of file PixelCPEBase.h.
References mag(), and magfield_.
|
protected |
Definition at line 89 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, theParam, thePart, thePitchX, thePitchY, theRecTopol, theSign, theThickness, theTopol, theVerboseLevel, Bounds::thickness(), PixelGeomDetUnit::type(), unlikely, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), localParameters(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), and localPosition().
|
inline |
|
protectedpure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localPosition().
|
protectedpure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localPosition().
|
protected |
Definition at line 271 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
mutableprotected |
Definition at line 210 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), and localParameters().
|
mutableprotected |
Definition at line 211 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), and localParameters().
|
protected |
Definition at line 244 of file PixelCPEBase.h.
Referenced by clusterProbComputationFlag(), and PixelCPEBase().
|
mutableprotected |
Definition at line 214 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), localParameters(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 215 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), localParameters(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 252 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), getDrift(), and setTheDet().
|
mutableprotected |
Definition at line 267 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError(), and PixelCPEBase().
|
mutableprotected |
Definition at line 234 of file PixelCPEBase.h.
Referenced by hasBadPixels(), rawQualityWord(), and setTheDet().
|
mutableprotected |
Definition at line 236 of file PixelCPEBase.h.
Referenced by hasFilledProb(), PixelCPETemplateReco::localPosition(), and rawQualityWord().
|
mutableprotected |
Definition at line 233 of file PixelCPEBase.h.
Referenced by isOnEdge(), rawQualityWord(), and setTheDet().
|
mutableprotected |
Definition at line 278 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), measurementError(), and measurementPosition().
|
mutableprotected |
Definition at line 276 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 265 of file PixelCPEBase.h.
Referenced by driftDirection(), and PixelCPEBase().
|
mutableprotected |
Definition at line 255 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 256 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 253 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
|
mutableprotected |
Definition at line 254 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
|
mutableprivate |
Definition at line 328 of file PixelCPEBase.h.
Referenced by param().
|
mutableprotected |
Definition at line 263 of file PixelCPEBase.h.
Referenced by param(), PixelCPEBase(), and setMagField().
|
mutableprotected |
Definition at line 222 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), and localParameters().
|
mutableprotected |
Definition at line 223 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula().
|
mutableprotected |
Definition at line 231 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityQ(), and rawQualityWord().
|
mutableprotected |
Definition at line 229 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityX(), and probabilityXY().
|
mutableprotected |
Definition at line 230 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityXY(), and probabilityY().
|
mutableprotected |
Definition at line 232 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), qBin(), and rawQualityWord().
|
mutableprotected |
Definition at line 235 of file PixelCPEBase.h.
Referenced by rawQualityWord(), setTheDet(), and spansTwoRocks().
|
mutableprotected |
Definition at line 269 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
mutableprotected |
Definition at line 185 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), driftDirection(), isFlipped(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), param(), and setTheDet().
|
mutableprotected |
Definition at line 204 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 203 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 205 of file PixelCPEBase.h.
Referenced by localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 206 of file PixelCPEBase.h.
Referenced by localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 202 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 201 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 192 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 194 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 197 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), localPosition(), lorentzShiftX(), and setTheDet().
|
mutableprotected |
Definition at line 198 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), localPosition(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 190 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 207 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 196 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPEGeneric::generic_position_formula(), lorentzShiftX(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 189 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), measurementError(), measurementPosition(), and setTheDet().
|
protected |
Definition at line 261 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), driftDirection(), PixelCPEGeneric::generic_position_formula(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and setTheDet().
|
mutableprotected |
Definition at line 218 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), and PixelCPETemplateReco::localPosition().
|
mutableprotected |
Definition at line 219 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), and PixelCPETemplateReco::localPosition().
|
mutableprotected |
Definition at line 226 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), measurementError(), and measurementPosition().