CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions | Private Attributes

TValidTrackingRecHit Class Reference

#include <TValidTrackingRecHit.h>

Inheritance diagram for TValidTrackingRecHit:
TransientTrackingRecHit TrackingRecHit ReferenceCountedPoolAllocated BlockWipedPoolAllocated GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GenericTransientTrackingRecHit KFBasedPixelFitter::GCC11_FINAL GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > MuonTransientTrackingRecHit

List of all members.

Public Types

typedef std::vector
< ConstRecHitPointer
ConstRecHitContainer
typedef
ConstReferenceCountingPointer
< TransientTrackingRecHit
ConstRecHitPointer
typedef std::vector
< ConstRecHitPointer
RecHitContainer
typedef
ReferenceCountingPointer
< TransientTrackingRecHit
RecHitPointer

Public Member Functions

virtual bool canImproveWithTrack () const
TrackingRecHitcloneHit () const
virtual float clusterProbability () const
 cluster probability, overloaded by pixel rechits.
virtual const GeomDetdet () const GCC11_FINAL
 The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
float errorGlobalR () const GCC11_FINAL
float errorGlobalRPhi () const GCC11_FINAL
float errorGlobalZ () const GCC11_FINAL
virtual GlobalPoint globalPosition () const GCC11_FINAL
GlobalError globalPositionError () const GCC11_FINAL
TrackingRecHitGlobalState globalState () const
virtual const Surfacesurface () const GCC11_FINAL
 TValidTrackingRecHit (const GeomDet *geom)
template<typename... Args>
 TValidTrackingRecHit (const GeomDet *geom, Args &&...args)

Private Member Functions

virtual TValidTrackingRecHitclone () const =0

Private Attributes

const GeomDetgeom_

Detailed Description

only for valid hits

Definition at line 15 of file TValidTrackingRecHit.h.


Member Typedef Documentation

Reimplemented from TransientTrackingRecHit.

Definition at line 21 of file TValidTrackingRecHit.h.

Reimplemented from TransientTrackingRecHit.

Definition at line 19 of file TValidTrackingRecHit.h.

Reimplemented from TransientTrackingRecHit.

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 20 of file TValidTrackingRecHit.h.

Reimplemented from TransientTrackingRecHit.

Definition at line 18 of file TValidTrackingRecHit.h.


Constructor & Destructor Documentation

TValidTrackingRecHit::TValidTrackingRecHit ( const GeomDet geom) [inline]

Definition at line 23 of file TValidTrackingRecHit.h.

template<typename... Args>
TValidTrackingRecHit::TValidTrackingRecHit ( const GeomDet geom,
Args &&...  args 
) [inline]

Definition at line 28 of file TValidTrackingRecHit.h.

                                                              : 
    TransientTrackingRecHit(std::forward<Args>(args)...), geom_(geom) {}

Member Function Documentation

virtual bool TValidTrackingRecHit::canImproveWithTrack ( ) const [inline, virtual]

Returns true if the clone( const TrajectoryStateOnSurface&) method returns an improved hit, false if it returns an identical copy. In order to avoid redundent copies one should call canImproveWithTrack() before calling clone( const TrajectoryStateOnSurface&).

Reimplemented from TransientTrackingRecHit.

Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GenericTransientTrackingRecHit.

Definition at line 68 of file TValidTrackingRecHit.h.

{return false;}
virtual TValidTrackingRecHit* TValidTrackingRecHit::clone ( ) const [private, pure virtual]

Implements TransientTrackingRecHit.

Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, MuonTransientTrackingRecHit, KFBasedPixelFitter::GCC11_FINAL, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GenericTransientTrackingRecHit, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

TrackingRecHit* TValidTrackingRecHit::cloneHit ( ) const [inline, virtual]
virtual float TValidTrackingRecHit::clusterProbability ( ) const [inline, virtual]

cluster probability, overloaded by pixel rechits.

Reimplemented from TransientTrackingRecHit.

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 72 of file TValidTrackingRecHit.h.

{ return 1.f; }
virtual const GeomDet* TValidTrackingRecHit::det ( ) const [inline, virtual]
float TValidTrackingRecHit::errorGlobalR ( ) const [inline, virtual]
float TValidTrackingRecHit::errorGlobalRPhi ( ) const [inline, virtual]
float TValidTrackingRecHit::errorGlobalZ ( ) const [inline, virtual]
virtual GlobalPoint TValidTrackingRecHit::globalPosition ( ) const [inline, virtual]
GlobalError TValidTrackingRecHit::globalPositionError ( ) const [inline, virtual]
TrackingRecHitGlobalState TValidTrackingRecHit::globalState ( ) const [inline]

Definition at line 49 of file TValidTrackingRecHit.h.

References GlobalErrorBase< T, ErrorWeightType >::czz(), globalPosition(), TrackingRecHit::localPositionError(), GlobalErrorBase< T, ErrorWeightType >::phierr(), alignCSCRings::r, GlobalErrorBase< T, ErrorWeightType >::rerr(), mathSSE::sqrt(), surface(), and create_public_pileup_plots::transform.

                                                {
    GlobalError  
      globalError = ErrorFrameTransformer::transform( localPositionError(), *surface() );
    auto gp = globalPosition();
    float r = gp.perp();
    float errorRPhi = r*std::sqrt(float(globalError.phierr(gp))); 
    float errorR = std::sqrt(float(globalError.rerr(gp)));
    float errorZ = std::sqrt(float(globalError.czz()));
    return (TrackingRecHitGlobalState){
      gp.basicVector(), r, gp.barePhi(),
        errorR,errorZ,errorRPhi
        };
  }
virtual const Surface* TValidTrackingRecHit::surface ( ) const [inline, virtual]

Member Data Documentation

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 76 of file TValidTrackingRecHit.h.

Referenced by det().