CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

KFBasedPixelFitter::MyBeamSpotHit Class Reference

Inheritance diagram for KFBasedPixelFitter::MyBeamSpotHit:
TransientTrackingRecHit TrackingRecHit ReferenceCountedPoolAllocated BlockWipedPoolAllocated

List of all members.

Public Member Functions

virtual int dimension () const
virtual const TrackingRecHithit () const
virtual LocalPoint localPosition () const
virtual LocalError localPositionError () const
 MyBeamSpotHit (const reco::BeamSpot &beamSpot, const GeomDet *geom)
virtual AlgebraicVector parameters () const
virtual AlgebraicSymMatrix parametersError () const
virtual AlgebraicMatrix projectionMatrix () const
virtual std::vector
< TrackingRecHit * > 
recHits ()
 Non-const access to component RecHits (if any)
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 Access to component RecHits (if any)
virtual ~MyBeamSpotHit ()

Private Member Functions

virtual MyBeamSpotHitclone () const

Private Attributes

LocalError localError_
LocalPoint localPosition_

Detailed Description

Definition at line 39 of file KFBasedPixelFitter.h.


Constructor & Destructor Documentation

KFBasedPixelFitter::MyBeamSpotHit::MyBeamSpotHit ( const reco::BeamSpot beamSpot,
const GeomDet geom 
)

Definition at line 57 of file KFBasedPixelFitter.cc.

References reco::BeamSpot::BeamWidthX(), localError_, localPosition_, reco::BeamSpot::sigmaZ(), and funct::sqr().

Referenced by clone().

  : TransientTrackingRecHit(geom, DetId(0))
{
  localPosition_ = LocalPoint(0.,0.,0.);
  localError_ = LocalError( sqr(beamSpot.BeamWidthX()), 0.0, sqr(beamSpot.sigmaZ())); //neglect XY differences and BS slope
}
virtual KFBasedPixelFitter::MyBeamSpotHit::~MyBeamSpotHit ( ) [inline, virtual]

Definition at line 42 of file KFBasedPixelFitter.h.

{}

Member Function Documentation

virtual MyBeamSpotHit* KFBasedPixelFitter::MyBeamSpotHit::clone ( void  ) const [inline, private, virtual]

Implements TransientTrackingRecHit.

Definition at line 55 of file KFBasedPixelFitter.h.

References MyBeamSpotHit().

{ return new MyBeamSpotHit(*this); }
virtual int KFBasedPixelFitter::MyBeamSpotHit::dimension ( ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 47 of file KFBasedPixelFitter.h.

{ return 1; }
virtual const TrackingRecHit* KFBasedPixelFitter::MyBeamSpotHit::hit ( void  ) const [inline, virtual]

Implements TransientTrackingRecHit.

Definition at line 51 of file KFBasedPixelFitter.h.

{ return 0; }
virtual LocalPoint KFBasedPixelFitter::MyBeamSpotHit::localPosition ( ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 43 of file KFBasedPixelFitter.h.

References localPosition_.

{ return localPosition_; }
virtual LocalError KFBasedPixelFitter::MyBeamSpotHit::localPositionError ( ) const [inline, virtual]

Implements TrackingRecHit.

Definition at line 44 of file KFBasedPixelFitter.h.

References localError_.

{ return localError_; }
AlgebraicVector KFBasedPixelFitter::MyBeamSpotHit::parameters ( void  ) const [virtual]

Implements TrackingRecHit.

Definition at line 64 of file KFBasedPixelFitter.cc.

References query::result.

{
    AlgebraicVector result(1);
    result[0] = localPosition().x();
    return result;
}
AlgebraicSymMatrix KFBasedPixelFitter::MyBeamSpotHit::parametersError ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 70 of file KFBasedPixelFitter.cc.

References asciidump::le, m, and LocalError::xx().

{
  LocalError le = localPositionError();
  AlgebraicSymMatrix m(1);
  m[0][0] = le.xx();
  return m;
}
AlgebraicMatrix KFBasedPixelFitter::MyBeamSpotHit::projectionMatrix ( ) const [virtual]

Implements TrackingRecHit.

Definition at line 77 of file KFBasedPixelFitter.cc.

References makeMuonMisalignmentScenario::matrix.

{
  AlgebraicMatrix matrix( 1, 5, 0);
  matrix[0][3] = 1;
  return matrix;
}
virtual std::vector<const TrackingRecHit*> KFBasedPixelFitter::MyBeamSpotHit::recHits ( ) const [inline, virtual]

Access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 49 of file KFBasedPixelFitter.h.

{ return std::vector<const TrackingRecHit*>(); }
virtual std::vector<TrackingRecHit*> KFBasedPixelFitter::MyBeamSpotHit::recHits ( ) [inline, virtual]

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Definition at line 50 of file KFBasedPixelFitter.h.

{ return std::vector<TrackingRecHit*>(); }

Member Data Documentation

Definition at line 54 of file KFBasedPixelFitter.h.

Referenced by localPositionError(), and MyBeamSpotHit().

Definition at line 53 of file KFBasedPixelFitter.h.

Referenced by localPosition(), and MyBeamSpotHit().