CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
VectorHit Class Referencefinal

#include <VectorHit.h>

Inheritance diagram for VectorHit:
BaseTrackerRecHit TrackingRecHit

Public Types

typedef OmniClusterRef::Phase2Cluster1DRef ClusterRef
 
- Public Types inherited from TrackingRecHit
typedef std::vector< ConstRecHitPointerConstRecHitContainer
 
using ConstRecHitPointer = std::shared_ptr< TrackingRecHit const >
 
typedef unsigned int id_type
 
typedef std::vector< ConstRecHitPointerRecHitContainer
 
using RecHitPointer = std::shared_ptr< TrackingRecHit const >
 
enum  SharedInputType { all, some }
 definition of equality via shared input More...
 
enum  Type {
  valid = 0, missing = 1, inactive = 2, bad = 3,
  missing_inner = 4, missing_outer = 5, inactive_inner = 6, inactive_outer = 7
}
 

Public Member Functions

float chi2 () const
 
VectorHitclone () const override
 
RecHitPointer cloneSH () const override
 
ClusterRef cluster () const
 
const AlgebraicSymMatrix44covMatrix () const
 
float curvature () const
 
float curvatureError () const
 
int dimension () const override
 
OmniClusterRef const & firstClusterRef () const override
 
void getKfComponents (KfComponentsHolder &holder) const override
 
void getKfComponents4D (KfComponentsHolder &holder) const
 
Global3DVector globalDirection () const
 
Global3DVector globalDirectionVH () const
 
bool hasPositionAndError () const override
 to be redefined by daughter class More...
 
bool isPhase2 () const override
 
virtual LocalVector localDirection () const
 
LocalError localDirectionError () const
 
LocalPoint localPosition () const override
 
LocalError localPositionError () const override
 
ClusterRef lowerCluster () const
 "lower" is logical, not geometrically lower; in pixel-strip modules the "lower" is always a pixel More...
 
const OmniClusterRef lowerClusterRef () const
 
Global3DPoint lowerGlobalPos () const
 
GlobalError lowerGlobalPosErr () const
 
float momentum (float magField) const
 
float phi () const
 
std::vector< const TrackingRecHit * > recHits () const override
 Access to component RecHits (if any) More...
 
std::vector< TrackingRecHit * > recHits () override
 Non-const access to component RecHits (if any) More...
 
bool sharesClusters (VectorHit const &other, SharedInputType what) const
 
bool sharesInput (const TrackingRecHit *other, SharedInputType what) const override
 
float theta () const
 
float transverseMomentum (float magField) const
 
ClusterRef upperCluster () const
 
const OmniClusterRef upperClusterRef () const
 
Global3DPoint upperGlobalPos () const
 
GlobalError upperGlobalPosErr () const
 
 VectorHit ()
 
 VectorHit (const GeomDet &idet, const LocalPoint &posInner, const LocalVector &dir, const AlgebraicSymMatrix44 &covMatrix, const float chi2, OmniClusterRef const &lower, OmniClusterRef const &upper, const float curvature, const float curvatureError, const float phi)
 
 VectorHit (const GeomDet &idet, const VectorHit2D &vh2Dzx, const VectorHit2D &vh2Dzy, OmniClusterRef const &lower, OmniClusterRef const &upper, const float curvature, const float curvatureError, const float phi)
 
 ~VectorHit () override=default
 
- Public Member Functions inherited from BaseTrackerRecHit
 BaseTrackerRecHit ()
 
 BaseTrackerRecHit (const GeomDet &idet, trackerHitRTTI::RTTI rt)
 
 BaseTrackerRecHit (const LocalPoint &p, const LocalError &e, GeomDet const &idet, trackerHitRTTI::RTTI rt)
 
 BaseTrackerRecHit (DetId id, trackerHitRTTI::RTTI rt)
 
virtual float clusterProbability () const
 cluster probability, overloaded by pixel rechits. More...
 
float errorGlobalR () const final
 
float errorGlobalRPhi () const final
 
float errorGlobalZ () const final
 
void getKfComponents1D (KfComponentsHolder &holder) const
 
void getKfComponents2D (KfComponentsHolder &holder) const
 
GlobalPoint globalPosition () const final
 
GlobalError globalPositionError () const final
 
TrackingRecHitGlobalState globalState () const
 
BaseTrackerRecHit const * hit () const final
 
bool isMatched () const
 
bool isMulti () const
 
virtual bool isPixel () const
 
bool isProjected () const
 
bool isProjMono () const
 
bool isProjStereo () const
 
bool isSingle () const
 
const LocalErrorlocalPositionErrorFast () const
 
const LocalPointlocalPositionFast () const
 
AlgebraicVector parameters () const override
 
AlgebraicSymMatrix parametersError () const override
 
AlgebraicMatrix projectionMatrix () const override
 
trackerHitRTTI::RTTI rtti () const
 
bool sameDetModule (TrackingRecHit const &hit) const
 
const Surfacesurface () const final
 
 ~BaseTrackerRecHit () override
 
- Public Member Functions inherited from TrackingRecHit
virtual bool canImproveWithTrack () const
 
RecHitPointer cloneForFit (const GeomDet &idet) const
 
virtual TrackingRecHitcloneHit () const
 
const GeomDetdet () const
 
virtual const GeomDetUnitdetUnit () const
 
DetId geographicalId () const
 
unsigned int getRTTI () const
 
Type getType () const
 
bool isValid () const
 
id_type rawId () const
 
virtual void recHitsV (std::vector< const TrackingRecHit * > &) const
 
virtual void recHitsV (std::vector< TrackingRecHit * > &)
 
virtual void setDet (const GeomDet &idet)
 
 TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh)
 
 TrackingRecHit (const GeomDet &idet, Type type=valid)
 
 TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid)
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
virtual ConstRecHitContainer transientHits () const
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Static Public Member Functions

static Global3DPoint phase2clusterGlobalPos (const PixelGeomDetUnit *geomDet, ClusterRef cluster)
 
static GlobalError phase2clusterGlobalPosErr (const PixelGeomDetUnit *geomDet)
 

Private Member Functions

VectorHitclone_ (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
 
RecHitPointer cloneSH_ (TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const override
 

Private Attributes

float theChi2
 
AlgebraicSymMatrix44 theCovMatrix
 
float theCurvature
 
float theCurvatureError
 
LocalVector theDirection
 
OmniClusterRef theLowerCluster
 
float thePhi
 
LocalPoint thePosition
 
OmniClusterRef theUpperCluster
 

Static Private Attributes

static constexpr int theDimension = 4
 

Additional Inherited Members

- Static Public Attributes inherited from TrackingRecHit
static const int rttiShift = 24
 
static const int typeMask = 0xf
 
- Protected Member Functions inherited from TrackingRecHit
void setId (id_type iid)
 
void setRTTI (unsigned int rt)
 
void setType (Type ttype)
 
- Protected Attributes inherited from BaseTrackerRecHit
LocalError err_
 
LocalPoint pos_
 
unsigned int qualWord_
 

Detailed Description

4-parameter RecHits for Phase2 Tracker (x,y, dx/dz, dy/dz)

Date
2015/03/30
Author
Erica Brondolin

Definition at line 28 of file VectorHit.h.

Member Typedef Documentation

◆ ClusterRef

Definition at line 30 of file VectorHit.h.

Constructor & Destructor Documentation

◆ VectorHit() [1/3]

VectorHit::VectorHit ( )
inline

Definition at line 32 of file VectorHit.h.

References TrackingRecHit::bad, and TrackingRecHit::setType().

Referenced by clone().

◆ VectorHit() [2/3]

VectorHit::VectorHit ( const GeomDet idet,
const LocalPoint posInner,
const LocalVector dir,
const AlgebraicSymMatrix44 covMatrix,
const float  chi2,
OmniClusterRef const &  lower,
OmniClusterRef const &  upper,
const float  curvature,
const float  curvatureError,
const float  phi 
)

Definition at line 5 of file VectorHit.cc.

◆ VectorHit() [3/3]

VectorHit::VectorHit ( const GeomDet idet,
const VectorHit2D vh2Dzx,
const VectorHit2D vh2Dzy,
OmniClusterRef const &  lower,
OmniClusterRef const &  upper,
const float  curvature,
const float  curvatureError,
const float  phi 
)

Definition at line 26 of file VectorHit.cc.

35  thePosition(LocalPoint(vh2Dzx.localPosition().x(), vh2Dzy.localPosition().x(), 0.)),
36  theDirection(LocalVector(vh2Dzx.localDirection().x(), vh2Dzy.localDirection().x(), 1.)),
37  theLowerCluster(lower),
41  thePhi(phi) {
42  //building the cov matrix 4x4 starting from the 2x2
43  const AlgebraicSymMatrix22& covMatZX = vh2Dzx.covMatrix();
44  const AlgebraicSymMatrix22& covMatZY = vh2Dzy.covMatrix();
45 
47 
48  theCovMatrix[0][0] = covMatZX[0][0]; // var(dx/dz)
49  theCovMatrix[1][1] = covMatZY[0][0]; // var(dy/dz)
50  theCovMatrix[2][2] = covMatZX[1][1]; // var(x)
51  theCovMatrix[3][3] = covMatZY[1][1]; // var(y)
52  theCovMatrix[0][2] = covMatZX[0][1]; // cov(dx/dz,x)
53  theCovMatrix[1][3] = covMatZY[0][1]; // cov(dy/dz,y)
54 
55  theChi2 = vh2Dzx.chi2() + vh2Dzy.chi2();
56 }

References VectorHit2D::chi2(), VectorHit2D::covMatrix(), theChi2, and theCovMatrix.

◆ ~VectorHit()

VectorHit::~VectorHit ( )
overridedefault

Member Function Documentation

◆ chi2()

float VectorHit::chi2 ( void  ) const
inline

Definition at line 81 of file VectorHit.h.

81 { return theChi2; }

References theChi2.

◆ clone()

VectorHit* VectorHit::clone ( void  ) const
inlineoverridevirtual

Implements TrackingRecHit.

Definition at line 56 of file VectorHit.h.

56 { return new VectorHit(*this); }

References VectorHit().

◆ clone_()

VectorHit* VectorHit::clone_ ( TkCloner const &  cloner,
TrajectoryStateOnSurface const &  tsos 
) const
inlineoverrideprivatevirtual

Reimplemented from TrackingRecHit.

Definition at line 120 of file VectorHit.h.

120  {
121  return cloner(*this, tsos).release();
122  }

◆ cloneSH()

RecHitPointer VectorHit::cloneSH ( ) const
inlineoverridevirtual

Reimplemented from TrackingRecHit.

Definition at line 57 of file VectorHit.h.

57 { return std::make_shared<VectorHit>(*this); }

◆ cloneSH_()

RecHitPointer VectorHit::cloneSH_ ( TkCloner const &  cloner,
TrajectoryStateOnSurface const &  tsos 
) const
inlineoverrideprivatevirtual

Reimplemented from TrackingRecHit.

Definition at line 123 of file VectorHit.h.

123  {
124  return cloner.makeShared(*this, tsos);
125  }

References TkCloner::makeShared().

◆ cluster()

ClusterRef VectorHit::cluster ( ) const
inline

◆ covMatrix()

const AlgebraicSymMatrix44 & VectorHit::covMatrix ( ) const

Definition at line 171 of file VectorHit.cc.

171 { return theCovMatrix; }

References theCovMatrix.

Referenced by SeedingOTEDProducer::buildInitialTSOS().

◆ curvature()

float VectorHit::curvature ( ) const
inline

Definition at line 83 of file VectorHit.h.

83 { return theCurvature; }

References theCurvature.

◆ curvatureError()

float VectorHit::curvatureError ( ) const
inline

Definition at line 84 of file VectorHit.h.

84 { return theCurvatureError; }

References theCurvatureError.

◆ dimension()

int VectorHit::dimension ( ) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 82 of file VectorHit.h.

82 { return theDimension; }

References theDimension.

◆ firstClusterRef()

OmniClusterRef const& VectorHit::firstClusterRef ( ) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 107 of file VectorHit.h.

107 { return theLowerCluster; }

References theLowerCluster.

Referenced by track_associator::hitsToClusterRefs().

◆ getKfComponents()

void VectorHit::getKfComponents ( KfComponentsHolder holder) const
inlineoverridevirtual

Implements BaseTrackerRecHit.

Definition at line 70 of file VectorHit.h.

70 { getKfComponents4D(holder); }

References getKfComponents4D().

◆ getKfComponents4D()

void VectorHit::getKfComponents4D ( KfComponentsHolder holder) const

◆ globalDirection()

Global3DVector VectorHit::globalDirection ( ) const

Definition at line 152 of file VectorHit.cc.

152 { return (det()->surface().toGlobal(localDirection())); }

References TrackingRecHit::det(), localDirection(), and BaseTrackerRecHit::surface().

Referenced by operator<<(), and theta().

◆ globalDirectionVH()

Global3DVector VectorHit::globalDirectionVH ( ) const

◆ hasPositionAndError()

bool VectorHit::hasPositionAndError ( ) const
inlineoverridevirtual

to be redefined by daughter class

Reimplemented from BaseTrackerRecHit.

Definition at line 64 of file VectorHit.h.

64  {
65  //if det is present pos&err are available as well.
66  //if det() is not present (null) the hit has been read from file and not updated
67  return det();
68  };

References TrackingRecHit::det().

◆ isPhase2()

bool VectorHit::isPhase2 ( ) const
inlineoverridevirtual

Reimplemented from BaseTrackerRecHit.

Definition at line 104 of file VectorHit.h.

104 { return true; }

◆ localDirection()

virtual LocalVector VectorHit::localDirection ( ) const
inlinevirtual

Definition at line 75 of file VectorHit.h.

75 { return theDirection; }

References theDirection.

Referenced by SeedingOTEDProducer::buildInitialTSOS(), globalDirection(), and operator<<().

◆ localDirectionError()

LocalError VectorHit::localDirectionError ( ) const

Definition at line 167 of file VectorHit.cc.

167  {
168  return LocalError(theCovMatrix[0][0], theCovMatrix[0][1], theCovMatrix[1][1]);
169 }

References theCovMatrix.

◆ localPosition()

LocalPoint VectorHit::localPosition ( ) const
inlineoverridevirtual

Reimplemented from BaseTrackerRecHit.

Definition at line 74 of file VectorHit.h.

74 { return thePosition; }

References thePosition.

Referenced by SeedingOTEDProducer::buildInitialTSOS(), and operator<<().

◆ localPositionError()

LocalError VectorHit::localPositionError ( ) const
overridevirtual

Reimplemented from BaseTrackerRecHit.

Definition at line 163 of file VectorHit.cc.

163  {
164  return LocalError(theCovMatrix[2][2], theCovMatrix[2][3], theCovMatrix[3][3]);
165 }

References theCovMatrix.

◆ lowerCluster()

ClusterRef VectorHit::lowerCluster ( ) const
inline

"lower" is logical, not geometrically lower; in pixel-strip modules the "lower" is always a pixel

Definition at line 91 of file VectorHit.h.

References OmniClusterRef::cluster_phase2OT(), and theLowerCluster.

Referenced by lowerGlobalPos(), and SeedClusterRemoverPhase2::process().

◆ lowerClusterRef()

const OmniClusterRef VectorHit::lowerClusterRef ( ) const
inline

Definition at line 93 of file VectorHit.h.

93 { return theLowerCluster; }

References theLowerCluster.

Referenced by ctfseeding::HitExtractorSTRP::cleanedOfClusters(), sharesClusters(), and sharesInput().

◆ lowerGlobalPos()

Global3DPoint VectorHit::lowerGlobalPos ( ) const

Definition at line 102 of file VectorHit.cc.

102  {
103  const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(det());
104  const PixelGeomDetUnit* geomDetLower = static_cast<const PixelGeomDetUnit*>(stackDet->lowerDet());
105  return phase2clusterGlobalPos(geomDetLower, lowerCluster());
106 }

References TrackingRecHit::det(), lowerCluster(), StackGeomDet::lowerDet(), and phase2clusterGlobalPos().

Referenced by operator<<().

◆ lowerGlobalPosErr()

GlobalError VectorHit::lowerGlobalPosErr ( ) const

Definition at line 123 of file VectorHit.cc.

123  {
124  const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(det());
125  const PixelGeomDetUnit* geomDetLower = static_cast<const PixelGeomDetUnit*>(stackDet->lowerDet());
126  return phase2clusterGlobalPosErr(geomDetLower);
127 }

References TrackingRecHit::det(), StackGeomDet::lowerDet(), and phase2clusterGlobalPosErr().

Referenced by SeedingOTEDProducer::computeGlobalThetaError().

◆ momentum()

float VectorHit::momentum ( float  magField) const

Definition at line 161 of file VectorHit.cc.

161 { return transverseMomentum(magField) / (1. * sin(theta())); }

References funct::sin(), theta(), and transverseMomentum().

Referenced by SeedingOTEDProducer::buildInitialTSOS().

◆ phase2clusterGlobalPos()

Global3DPoint VectorHit::phase2clusterGlobalPos ( const PixelGeomDetUnit geomDet,
ClusterRef  cluster 
)
static

Definition at line 114 of file VectorHit.cc.

114  {
115  const PixelTopology* topo = &geomDet->specificTopology();
116  float ix = cluster->center();
117  float iy = cluster->column() + 0.5f; // halfway the column
118  LocalPoint lp(topo->localX(ix), topo->localY(iy), 0); // x, y, z
119  Global3DPoint gp = geomDet->surface().toGlobal(lp);
120  return gp;
121 }

References cluster(), runTauDisplay::gp, PixelTopology::localX(), PixelTopology::localY(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), and Surface::toGlobal().

Referenced by VectorHitBuilderAlgorithm::buildVectorHit(), lowerGlobalPos(), and upperGlobalPos().

◆ phase2clusterGlobalPosErr()

GlobalError VectorHit::phase2clusterGlobalPosErr ( const PixelGeomDetUnit geomDet)
static

Definition at line 135 of file VectorHit.cc.

135  {
136  const PixelTopology* topo = &geomDet->specificTopology();
137  float pitchX = topo->pitch().first;
138  float pitchY = topo->pitch().second;
139  constexpr float invTwelve = 1. / 12;
140  LocalError le(pow(pitchX, 2) * invTwelve, 0, pow(pitchY, 2) * invTwelve); // e2_xx, e2_xy, e2_yy
141  GlobalError ge(ErrorFrameTransformer().transform(le, geomDet->surface()));
142  return ge;
143 }

References PixelTopology::pitch(), funct::pow(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), and HcalDetIdTransform::transform().

Referenced by VectorHitBuilderAlgorithm::buildVectorHit(), lowerGlobalPosErr(), and upperGlobalPosErr().

◆ phi()

float VectorHit::phi ( ) const
inline

Definition at line 85 of file VectorHit.h.

85 { return thePhi; }

References thePhi.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

◆ recHits() [1/2]

std::vector< const TrackingRecHit * > VectorHit::recHits ( void  ) const
overridevirtual

Access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 185 of file VectorHit.cc.

185 { return {}; }

◆ recHits() [2/2]

std::vector< TrackingRecHit * > VectorHit::recHits ( void  )
overridevirtual

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 188 of file VectorHit.cc.

188 { return {}; }

◆ sharesClusters()

bool VectorHit::sharesClusters ( VectorHit const &  other,
SharedInputType  what 
) const

Definition at line 78 of file VectorHit.cc.

78  {
79  bool lower = this->lowerClusterRef() == other.lowerClusterRef();
80  bool upper = this->upperClusterRef() == other.upperClusterRef();
81 
82  return (what == TrackingRecHit::all) ? (lower && upper) : (upper || lower);
83 }

References TrackingRecHit::all, lowerClusterRef(), pileupCalc::upper, and upperClusterRef().

Referenced by sharesInput().

◆ sharesInput()

bool VectorHit::sharesInput ( const TrackingRecHit other,
SharedInputType  what 
) const
overridevirtual

Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. The second argument specifies how much sharing is needed in order to return true: the value "all" means that all inputs of the two hits must be identical; the value "some" means that at least one of the inputs is in common.

Reimplemented from TrackingRecHit.

Definition at line 58 of file VectorHit.cc.

58  {
59  if (what == all && (geographicalId() != other->geographicalId()))
60  return false;
61 
62  if (!sameDetModule(*other))
63  return false;
64 
66  const VectorHit* otherVh = static_cast<const VectorHit*>(other);
67  return sharesClusters(*otherVh, what);
68  }
69 
70  if (what == all)
71  return false;
72 
73  // what about multi???
74  auto const& otherClus = reinterpret_cast<const BaseTrackerRecHit*>(other)->firstClusterRef();
75  return (otherClus == lowerClusterRef()) || (otherClus == upperClusterRef());
76 }

References TrackingRecHit::all, TrackingRecHit::geographicalId(), trackerHitRTTI::isVector(), lowerClusterRef(), trackingPlots::other, BaseTrackerRecHit::sameDetModule(), sharesClusters(), and upperClusterRef().

◆ theta()

float VectorHit::theta ( ) const

Definition at line 154 of file VectorHit.cc.

154 { return globalDirection().theta(); }

References globalDirection(), and PV3DBase< T, PVType, FrameType >::theta().

Referenced by momentum(), and Tau.Tau::zImpact().

◆ transverseMomentum()

float VectorHit::transverseMomentum ( float  magField) const

Definition at line 156 of file VectorHit.cc.

156  {
157  return magField * (CLHEP::c_light * 1e-5F) / theCurvature;
158  // pT [GeV] ~ 0.3 * B[T] * R [m], curvature is in cms, using precise value from speed of light
159  // because curvature is a signed quantity this transverse momentum is also signed
160 }

References MillePedeFileConverter_cfg::e, F(), and theCurvature.

Referenced by SeedingOTEDProducer::buildInitialTSOS(), and momentum().

◆ upperCluster()

ClusterRef VectorHit::upperCluster ( ) const
inline

◆ upperClusterRef()

const OmniClusterRef VectorHit::upperClusterRef ( ) const
inline

Definition at line 94 of file VectorHit.h.

94 { return theUpperCluster; }

References theUpperCluster.

Referenced by ctfseeding::HitExtractorSTRP::cleanedOfClusters(), sharesClusters(), and sharesInput().

◆ upperGlobalPos()

Global3DPoint VectorHit::upperGlobalPos ( ) const

Definition at line 108 of file VectorHit.cc.

108  {
109  const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(det());
110  const PixelGeomDetUnit* geomDetUpper = static_cast<const PixelGeomDetUnit*>(stackDet->upperDet());
111  return phase2clusterGlobalPos(geomDetUpper, upperCluster());
112 }

References TrackingRecHit::det(), phase2clusterGlobalPos(), upperCluster(), and StackGeomDet::upperDet().

Referenced by operator<<().

◆ upperGlobalPosErr()

GlobalError VectorHit::upperGlobalPosErr ( ) const

Definition at line 129 of file VectorHit.cc.

129  {
130  const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(det());
131  const PixelGeomDetUnit* geomDetUpper = static_cast<const PixelGeomDetUnit*>(stackDet->upperDet());
132  return phase2clusterGlobalPosErr(geomDetUpper);
133 }

References TrackingRecHit::det(), phase2clusterGlobalPosErr(), and StackGeomDet::upperDet().

Member Data Documentation

◆ theChi2

float VectorHit::theChi2
private

Definition at line 138 of file VectorHit.h.

Referenced by chi2(), and VectorHit().

◆ theCovMatrix

AlgebraicSymMatrix44 VectorHit::theCovMatrix
private

◆ theCurvature

float VectorHit::theCurvature
private

Definition at line 142 of file VectorHit.h.

Referenced by curvature(), and transverseMomentum().

◆ theCurvatureError

float VectorHit::theCurvatureError
private

Definition at line 143 of file VectorHit.h.

Referenced by curvatureError().

◆ theDimension

constexpr int VectorHit::theDimension = 4
staticconstexprprivate

Definition at line 139 of file VectorHit.h.

Referenced by dimension(), and getKfComponents4D().

◆ theDirection

LocalVector VectorHit::theDirection
private

Definition at line 128 of file VectorHit.h.

Referenced by getKfComponents4D(), globalDirectionVH(), and localDirection().

◆ theLowerCluster

OmniClusterRef VectorHit::theLowerCluster
private

Definition at line 140 of file VectorHit.h.

Referenced by cluster(), firstClusterRef(), lowerCluster(), and lowerClusterRef().

◆ thePhi

float VectorHit::thePhi
private

Definition at line 144 of file VectorHit.h.

Referenced by phi().

◆ thePosition

LocalPoint VectorHit::thePosition
private

Definition at line 127 of file VectorHit.h.

Referenced by getKfComponents4D(), and localPosition().

◆ theUpperCluster

OmniClusterRef VectorHit::theUpperCluster
private

Definition at line 141 of file VectorHit.h.

Referenced by upperCluster(), and upperClusterRef().

Vector3DBase< float, LocalTag >
VectorHit::lowerCluster
ClusterRef lowerCluster() const
"lower" is logical, not geometrically lower; in pixel-strip modules the "lower" is always a pixel
Definition: VectorHit.h:91
VectorHit::curvature
float curvature() const
Definition: VectorHit.h:83
mps_fire.i
i
Definition: mps_fire.py:428
KfComponentsHolder::projFunc
ProjectMatrix< double, 5, D > & projFunc()
Definition: KfComponentsHolder.h:56
BaseTrackerRecHit::sameDetModule
bool sameDetModule(TrackingRecHit const &hit) const
Definition: BaseTrackerRecHit.h:134
VectorHit::upperCluster
ClusterRef upperCluster() const
Definition: VectorHit.h:92
VectorHit2D::chi2
float chi2() const
Definition: VectorHit2D.h:25
VectorHit::theCurvatureError
float theCurvatureError
Definition: VectorHit.h:143
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
VectorHit::localDirection
virtual LocalVector localDirection() const
Definition: VectorHit.h:75
PV3DBase::theta
Geom::Theta< T > theta() const
Definition: PV3DBase.h:72
TrackingRecHit::det
const GeomDet * det() const
Definition: TrackingRecHit.h:122
KfComponentsHolder::tsosLocalErrors
const AlgebraicSymMatrix55 & tsosLocalErrors() const
Definition: KfComponentsHolder.h:83
PixelTopology::pitch
virtual std::pair< float, float > pitch() const =0
VectorHit::theUpperCluster
OmniClusterRef theUpperCluster
Definition: VectorHit.h:141
VectorHit2D::covMatrix
const AlgebraicSymMatrix22 & covMatrix() const
Definition: VectorHit2D.h:24
StackGeomDet::upperDet
const GeomDetUnit * upperDet() const
Definition: StackGeomDet.h:20
VectorHit::sharesClusters
bool sharesClusters(VectorHit const &other, SharedInputType what) const
Definition: VectorHit.cc:78
VectorHit::theChi2
float theChi2
Definition: VectorHit.h:138
VectorHit::thePosition
LocalPoint thePosition
Definition: VectorHit.h:127
align::LocalPoint
Point3DBase< Scalar, LocalTag > LocalPoint
Definition: Definitions.h:30
VectorHit::theDirection
LocalVector theDirection
Definition: VectorHit.h:128
TrackingRecHit::geographicalId
DetId geographicalId() const
Definition: TrackingRecHit.h:120
OmniClusterRef::cluster_phase2OT
Phase2Cluster1DRef cluster_phase2OT() const
Definition: OmniClusterRef.h:48
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
KfComponentsHolder::tsosLocalParameters
const AlgebraicVector5 & tsosLocalParameters() const
Definition: KfComponentsHolder.h:82
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
VectorHit::theCurvature
float theCurvature
Definition: VectorHit.h:142
ErrorFrameTransformer
Definition: ErrorFrameTransformer.h:12
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
VectorHit2D::localPosition
const LocalPoint & localPosition() const
Definition: VectorHit2D.h:21
Surface::toGlobal
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
VectorHit::VectorHit
VectorHit()
Definition: VectorHit.h:32
StackGeomDet::lowerDet
const GeomDetUnit * lowerDet() const
Definition: StackGeomDet.h:19
trackingPlots.other
other
Definition: trackingPlots.py:1467
HcalDetIdTransform::transform
unsigned transform(const HcalDetId &id, unsigned transformCode)
Definition: HcalDetIdTransform.cc:7
VectorHit::phi
float phi() const
Definition: VectorHit.h:85
Point3DBase< float, LocalTag >
VectorHit::cluster
ClusterRef cluster() const
Definition: VectorHit.h:108
PixelTopology
Definition: PixelTopology.h:10
VectorHit::globalDirection
Global3DVector globalDirection() const
Definition: VectorHit.cc:152
VectorHit::upperClusterRef
const OmniClusterRef upperClusterRef() const
Definition: VectorHit.h:94
TrackingRecHit::bad
Definition: TrackingRecHit.h:49
KfComponentsHolder::measuredParams
AlgebraicROOTObject< D >::Vector & measuredParams()
Definition: KfComponentsHolder.h:67
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
VectorHit::theta
float theta() const
Definition: VectorHit.cc:154
TrackingRecHit::all
Definition: TrackingRecHit.h:59
LocalError
Definition: LocalError.h:12
VectorHit::chi2
float chi2() const
Definition: VectorHit.h:81
PixelGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: PixelGeomDetUnit.cc:17
VectorHit::covMatrix
const AlgebraicSymMatrix44 & covMatrix() const
Definition: VectorHit.cc:171
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
LocalVector
Local3DVector LocalVector
Definition: LocalVector.h:12
VectorHit::transverseMomentum
float transverseMomentum(float magField) const
Definition: VectorHit.cc:156
KfComponentsHolder::measuredErrors
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
Definition: KfComponentsHolder.h:75
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
GlobalErrorBase< double, ErrorMatrixTag >
VectorHit::phase2clusterGlobalPosErr
static GlobalError phase2clusterGlobalPosErr(const PixelGeomDetUnit *geomDet)
Definition: VectorHit.cc:135
VectorHit::thePhi
float thePhi
Definition: VectorHit.h:144
VectorHit::theDimension
static constexpr int theDimension
Definition: VectorHit.h:139
BaseTrackerRecHit::surface
const Surface * surface() const final
Definition: BaseTrackerRecHit.h:83
VectorHit::lowerClusterRef
const OmniClusterRef lowerClusterRef() const
Definition: VectorHit.h:93
VectorHit::theCovMatrix
AlgebraicSymMatrix44 theCovMatrix
Definition: VectorHit.h:137
VectorHit::theLowerCluster
OmniClusterRef theLowerCluster
Definition: VectorHit.h:140
AlgebraicSymMatrix44
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
Definition: AlgebraicROOTObjects.h:22
VectorHit::curvatureError
float curvatureError() const
Definition: VectorHit.h:84
VectorHit
Definition: VectorHit.h:28
VectorHit::phase2clusterGlobalPos
static Global3DPoint phase2clusterGlobalPos(const PixelGeomDetUnit *geomDet, ClusterRef cluster)
Definition: VectorHit.cc:114
StackGeomDet
Definition: StackGeomDet.h:7
AlgebraicVector4
ROOT::Math::SVector< double, 4 > AlgebraicVector4
Definition: AlgebraicROOTObjects.h:13
TrackingRecHit::setType
void setType(Type ttype)
Definition: TrackingRecHit.h:185
packedPFCandidateRefMixer_cfi.pf
pf
Definition: packedPFCandidateRefMixer_cfi.py:4
PixelTopology::localY
virtual float localY(float mpY) const =0
pileupCalc.upper
upper
Definition: pileupCalc.py:214
VectorHit2D::localDirection
const LocalVector & localDirection() const
Definition: VectorHit2D.h:22
PixelTopology::localX
virtual float localX(float mpX) const =0
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
BaseTrackerRecHit::BaseTrackerRecHit
BaseTrackerRecHit()
Definition: BaseTrackerRecHit.h:17
VectorHit::getKfComponents4D
void getKfComponents4D(KfComponentsHolder &holder) const
Definition: VectorHit.cc:85
ProjectMatrix
Definition: ProjectMatrix.h:8
trackerHitRTTI::isVector
bool isVector(TrackingRecHit const &hit)
Definition: trackerHitRTTI.h:42
KfComponentsHolder::params
AlgebraicROOTObject< D >::Vector & params()
Definition: KfComponentsHolder.h:31
AlgebraicSymMatrix22
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
Definition: AlgebraicROOTObjects.h:20
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
KfComponentsHolder::errors
AlgebraicROOTObject< D, D >::SymMatrix & errors()
Definition: KfComponentsHolder.h:39
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37