#include <PixelCPEBase.h>
Classes | |
struct | Param |
Protected Types | |
typedef GloballyPositioned < double > | Frame |
Protected Member Functions | |
void | computeAnglesFromDetPosition (const SiPixelCluster &cl, const GeomDetUnit &det) const |
void | computeAnglesFromTrajectory (const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const |
void | computeLorentzShifts () const |
LocalVector | driftDirection (GlobalVector bfield) const |
LocalVector | driftDirectionCorrect (GlobalVector bfield) const |
bool | isFlipped () const |
virtual float | lorentzShiftX () const |
virtual float | lorentzShiftY () const |
MeasurementError | measurementError (const SiPixelCluster &, const GeomDetUnit &det) const |
MeasurementPoint | measurementPosition (const SiPixelCluster &, const GeomDetUnit &det) const |
void | setTheDet (const GeomDetUnit &det, const SiPixelCluster &cluster) const |
void | xCharge (const std::vector< SiPixelCluster::Pixel > &, const int &, const int &, float &q1, float &q2) const |
virtual float | xpos (const SiPixelCluster &) const =0 |
void | yCharge (const std::vector< SiPixelCluster::Pixel > &, const int &, const int &, float &q1, float &q2) const |
virtual float | ypos (const SiPixelCluster &) const =0 |
Private Types | |
typedef __gnu_cxx::hash_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 53 of file PixelCPEBase.h.
|
protected |
Definition at line 175 of file PixelCPEBase.h.
|
private |
Definition at line 353 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 44 of file PixelCPEBase.cc.
References alpha2Order, clusterProbComputationFlag_, genErrorParm_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), lorentzAngle_, mag(), magfield_, templateDBobject_, and theVerboseLevel.
|
inline |
Definition at line 156 of file PixelCPEBase.h.
References clusterProbComputationFlag_.
|
protected |
Definition at line 223 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 298 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 609 of file PixelCPEBase.cc.
References alpha2Order, driftDirection_, edm::hlt::Exception, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), MagneticField::inTesla(), LogDebug, lorentzAngle_, lorentzShiftInCmX_, lorentzShiftInCmY_, lorentzShiftX_, lorentzShiftY_, magfield_, GloballyPositioned< T >::position(), DetId::rawId(), GloballyPositioned< T >::rotation(), pileupReCalc_HLTpaths::scale, GeomDet::surface(), theDet, 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 577 of file PixelCPEBase.cc.
References alpha2Order, edm::hlt::Exception, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), LogDebug, lorentzAngle_, GloballyPositioned< T >::position(), DetId::rawId(), GloballyPositioned< T >::rotation(), pileupReCalc_HLTpaths::scale, GeomDet::surface(), theDet, and theVerboseLevel.
Referenced by lorentzShiftX(), and lorentzShiftY().
|
protected |
|
inline |
|
inline |
|
protected |
Definition at line 421 of file PixelCPEBase.cc.
References PV3DBase< T, PVType, FrameType >::perp(), 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 65 of file PixelCPEBase.h.
References computeAnglesFromDetPosition(), vdt::le, localError(), localPosition(), nRecHitsTotal_, and setTheDet().
|
inlinevirtual |
Reimplemented from ClusterParameterEstimator< SiPixelCluster >.
Definition at line 82 of file PixelCPEBase.h.
References computeAnglesFromTrajectory(), vdt::le, localError(), localPosition(), nRecHitsTotal_, and setTheDet().
|
inline |
Definition at line 100 of file PixelCPEBase.h.
References alpha, alpha_, beta, beta_, cotalpha_, cotbeta_, vdt::le, localError(), localPosition(), nRecHitsTotal_, Pi, setTheDet(), and funct::tan().
|
virtual |
Reimplemented in PixelCPEGeneric, and PixelCPETemplateReco.
Definition at line 360 of file PixelCPEBase.cc.
References setTheDet(), theLShiftX, theLShiftY, thePitchX, thePitchY, xpos(), and ypos().
Referenced by localParameters(), measurementError(), and measurementPosition().
|
protectedvirtual |
Definition at line 436 of file PixelCPEBase.cc.
References dir, PixelCPEBase::Param::drift, driftDirection(), GeomDet::geographicalId(), MagneticField::inTesla(), m_Params, magfield_, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), theDet, thePitchX, theThickness, PixelCPEBase::Param::topology, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by setTheDet().
|
protectedvirtual |
Definition at line 479 of file PixelCPEBase.cc.
References dir, PixelCPEBase::Param::drift, driftDirection(), GeomDet::geographicalId(), MagneticField::inTesla(), m_Params, magfield_, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), theDet, thePitchY, theThickness, PixelCPEBase::Param::topology, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by setTheDet().
|
protected |
Definition at line 397 of file PixelCPEBase.cc.
References LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), vdt::le, loc_traj_param_, localError(), localPosition(), Topology::measurementError(), theTopol, and with_track_angle.
|
protected |
Definition at line 376 of file PixelCPEBase.cc.
References LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), loc_traj_param_, localPosition(), Topology::measurementPosition(), theTopol, and with_track_angle.
|
inline |
|
inline |
|
inline |
Definition at line 137 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 670 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 123 of file PixelCPEBase.h.
References mag(), and magfield_.
|
protected |
Definition at line 95 of file PixelCPEBase.cc.
References BoundSurface::bounds(), PixelTopology::containsBigPixelInX(), PixelTopology::containsBigPixelInY(), edm::hlt::Exception, hasBadPixels_, i, isFlipped(), PixelTopology::isItEdgePixelInX(), PixelTopology::isItEdgePixelInY(), isOnEdge_, LogDebug, lorentzShiftX(), lorentzShiftY(), SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelTopology::ncolumns(), PixelTopology::nrows(), PV3DBase< T, PVType, FrameType >::perp(), PixelTopology::pitch(), SiPixelCluster::pixelADC(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GloballyPositioned< T >::position(), spansTwoROCs_, PixelGeomDetUnit::specificTopology(), GeomDetType::subDetector(), GeomDet::surface(), theDet, theDetR, theDetZ, theLShiftX, theLShiftY, theNumOfCol, theNumOfRow, thePart, thePitchX, thePitchY, theSign, theThickness, theTopol, theVerboseLevel, Bounds::thickness(), PixelGeomDetUnit::type(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), localParameters(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), and localPosition().
|
inline |
|
protected |
Definition at line 521 of file PixelCPEBase.cc.
References ecalMGPA::adc(), i, and vdt::x.
|
protectedpure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localPosition().
|
protected |
Definition at line 545 of file PixelCPEBase.cc.
References ecalMGPA::adc(), i, and detailsBasic3DVector::y.
|
protectedpure virtual |
Implemented in PixelCPEGeneric, and PixelCPETemplateReco.
Referenced by localPosition().
|
protected |
Definition at line 265 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), driftDirection(), and PixelCPEBase().
|
mutableprotected |
Definition at line 204 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), and localParameters().
|
mutableprotected |
Definition at line 205 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), and localParameters().
|
protected |
Definition at line 238 of file PixelCPEBase.h.
Referenced by clusterProbComputationFlag(), and PixelCPEBase().
|
mutableprotected |
Definition at line 208 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), localParameters(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 209 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), localParameters(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 246 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
|
mutableprotected |
Definition at line 261 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError(), and PixelCPEBase().
|
mutableprotected |
Definition at line 228 of file PixelCPEBase.h.
Referenced by hasBadPixels(), rawQualityWord(), and setTheDet().
|
mutableprotected |
Definition at line 230 of file PixelCPEBase.h.
Referenced by hasFilledProb(), PixelCPETemplateReco::localPosition(), and rawQualityWord().
|
mutableprotected |
Definition at line 227 of file PixelCPEBase.h.
Referenced by isOnEdge(), rawQualityWord(), and setTheDet().
|
mutableprotected |
Definition at line 272 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), measurementError(), PixelCPETemplateReco::measurementPosition(), PixelCPEGeneric::measurementPosition(), and measurementPosition().
|
mutableprotected |
Definition at line 270 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), PixelCPETemplateReco::localPosition(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 259 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), driftDirection(), and PixelCPEBase().
|
mutableprotected |
Definition at line 249 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 250 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), and PixelCPEGeneric::localPosition().
|
mutableprotected |
Definition at line 247 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
|
mutableprotected |
Definition at line 248 of file PixelCPEBase.h.
Referenced by computeLorentzShifts().
|
private |
Definition at line 355 of file PixelCPEBase.h.
Referenced by lorentzShiftX(), and lorentzShiftY().
|
mutableprotected |
Definition at line 257 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), lorentzShiftX(), lorentzShiftY(), PixelCPEBase(), and setMagField().
|
mutableprotected |
Definition at line 216 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), and localParameters().
|
mutableprotected |
Definition at line 217 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula().
|
mutableprotected |
Definition at line 225 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityQ(), and rawQualityWord().
|
mutableprotected |
Definition at line 223 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityX(), and probabilityXY().
|
mutableprotected |
Definition at line 224 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), probabilityXY(), and probabilityY().
|
mutableprotected |
Definition at line 226 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), qBin(), and rawQualityWord().
|
mutableprotected |
Definition at line 229 of file PixelCPEBase.h.
Referenced by rawQualityWord(), setTheDet(), and spansTwoRocks().
|
mutableprotected |
Definition at line 263 of file PixelCPEBase.h.
Referenced by PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), PixelCPEBase(), PixelCPEGeneric::PixelCPEGeneric(), and PixelCPETemplateReco::PixelCPETemplateReco().
|
mutableprotected |
Definition at line 181 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeLorentzShifts(), driftDirection(), isFlipped(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), lorentzShiftX(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 198 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 197 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 199 of file PixelCPEBase.h.
Referenced by localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 200 of file PixelCPEBase.h.
Referenced by localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 196 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 195 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 188 of file PixelCPEBase.h.
Referenced by PixelCPEGeneric::generic_position_formula(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), and setTheDet().
|
mutableprotected |
Definition at line 191 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), localPosition(), lorentzShiftX(), and setTheDet().
|
mutableprotected |
Definition at line 192 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPEGeneric::localPosition(), localPosition(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 201 of file PixelCPEBase.h.
Referenced by setTheDet().
|
mutableprotected |
Definition at line 190 of file PixelCPEBase.h.
Referenced by computeLorentzShifts(), PixelCPEGeneric::generic_position_formula(), lorentzShiftX(), lorentzShiftY(), and setTheDet().
|
mutableprotected |
Definition at line 185 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), PixelCPETemplateReco::localError(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), measurementError(), PixelCPETemplateReco::measurementPosition(), PixelCPEGeneric::measurementPosition(), measurementPosition(), and setTheDet().
|
protected |
Definition at line 255 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 212 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), and PixelCPETemplateReco::localPosition().
|
mutableprotected |
Definition at line 213 of file PixelCPEBase.h.
Referenced by computeAnglesFromTrajectory(), and PixelCPETemplateReco::localPosition().
|
mutableprotected |
Definition at line 220 of file PixelCPEBase.h.
Referenced by computeAnglesFromDetPosition(), computeAnglesFromTrajectory(), PixelCPEGeneric::localError(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), measurementError(), PixelCPETemplateReco::measurementPosition(), PixelCPEGeneric::measurementPosition(), and measurementPosition().