CMS 3D CMS Logo

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

#include <MTDTransientTrackingRecHit.h>

Inheritance diagram for MTDTransientTrackingRecHit:
GenericTransientTrackingRecHit TValidTrackingRecHit TrackingRecHit

Public Types

typedef std::vector< ConstMTDRecHitPointerConstMTDRecHitContainer
 
using ConstMTDRecHitPointer = std::shared_ptr< MTDTransientTrackingRecHit const >
 
typedef std::vector< MTDRecHitPointerMTDRecHitContainer
 
using MTDRecHitPointer = std::shared_ptr< MTDTransientTrackingRecHit >
 
- Public Types inherited from GenericTransientTrackingRecHit
typedef TrackingRecHit::Type Type
 
- 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

void invalidateHit ()
 
bool isBTL () const
 if this rec hit is a BTL rec hit More...
 
bool isETL () const
 if this rec hit is a ETL rec hit More...
 
 ~MTDTransientTrackingRecHit () override
 
- Public Member Functions inherited from GenericTransientTrackingRecHit
bool canImproveWithTrack () const override
 
TrackingRecHitcloneHit () const override
 
int dimension () const override
 
const TrackingRecHithit () const override
 
LocalPoint localPosition () const override
 
LocalError localPositionError () const override
 
AlgebraicVector parameters () const override
 
AlgebraicSymMatrix parametersError () const override
 
AlgebraicMatrix projectionMatrix () const override
 
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...
 
 ~GenericTransientTrackingRecHit () override
 
- Public Member Functions inherited from TValidTrackingRecHit
bool canImproveWithTrack () const override
 
TrackingRecHitcloneHit () const override
 
virtual float clusterProbability () const
 cluster probability, overloaded by pixel rechits. More...
 
float errorGlobalR () const final
 
float errorGlobalRPhi () const final
 
float errorGlobalZ () const final
 
GlobalPoint globalPosition () const final
 
GlobalError globalPositionError () const final
 
TrackingRecHitGlobalState globalState () const
 
const Surfacesurface () const final
 
template<typename... Args>
 TValidTrackingRecHit (Args &&... args)
 
 TValidTrackingRecHit (const GeomDet &geom)
 
- Public Member Functions inherited from TrackingRecHit
RecHitPointer cloneForFit (const GeomDet &idet) const
 
virtual RecHitPointer cloneSH () const
 
const GeomDetdet () const
 
virtual const GeomDetUnitdetUnit () const
 
DetId geographicalId () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
unsigned int getRTTI () const
 
Type getType () const
 
virtual bool hasPositionAndError () const
 to be redefined by daughter class More...
 
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)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
 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 RecHitPointer build (const GeomDet *geom, const TrackingRecHit *rh)
 
static MTDRecHitPointer specificBuild (const GeomDet *geom, const TrackingRecHit *rh)
 
- Static Public Member Functions inherited from GenericTransientTrackingRecHit
static RecHitPointer build (const GeomDet *geom, const TrackingRecHit *rh)
 

Private Member Functions

MTDTransientTrackingRecHitclone () const override
 
 MTDTransientTrackingRecHit (const GeomDet *geom, const TrackingRecHit *rh)
 Construct from a TrackingRecHit and its GeomDet. More...
 
 MTDTransientTrackingRecHit (const MTDTransientTrackingRecHit &other)
 Copy ctor. More...
 

Additional Inherited Members

- Static Public Attributes inherited from TrackingRecHit
static const int rttiShift = 24
 
static const int typeMask = 0xf
 
- Protected Member Functions inherited from GenericTransientTrackingRecHit
 GenericTransientTrackingRecHit (const GenericTransientTrackingRecHit &other)
 
 GenericTransientTrackingRecHit (const GeomDet &geom, const TrackingRecHit &rh)
 
 GenericTransientTrackingRecHit (const GeomDet &geom, TrackingRecHit *rh)
 for derived classes convenience, does not clone! More...
 
- Protected Member Functions inherited from TrackingRecHit
void setId (id_type iid)
 
void setRTTI (unsigned int rt)
 
void setType (Type ttype)
 
- Protected Attributes inherited from GenericTransientTrackingRecHit
TrackingRecHittrackingRecHit_
 

Detailed Description

A TransientTrackingRecHit for MTD.

Author
L. Gray - FNAL

Definition at line 18 of file MTDTransientTrackingRecHit.h.

Member Typedef Documentation

◆ ConstMTDRecHitContainer

Definition at line 24 of file MTDTransientTrackingRecHit.h.

◆ ConstMTDRecHitPointer

Definition at line 21 of file MTDTransientTrackingRecHit.h.

◆ MTDRecHitContainer

Definition at line 23 of file MTDTransientTrackingRecHit.h.

◆ MTDRecHitPointer

Definition at line 20 of file MTDTransientTrackingRecHit.h.

Constructor & Destructor Documentation

◆ ~MTDTransientTrackingRecHit()

MTDTransientTrackingRecHit::~MTDTransientTrackingRecHit ( )
inlineoverride

Definition at line 26 of file MTDTransientTrackingRecHit.h.

26 {}

◆ MTDTransientTrackingRecHit() [1/2]

MTDTransientTrackingRecHit::MTDTransientTrackingRecHit ( const GeomDet geom,
const TrackingRecHit rh 
)
private

Construct from a TrackingRecHit and its GeomDet.

Definition at line 20 of file MTDTransientTrackingRecHit.cc.

Referenced by build(), clone(), and specificBuild().

◆ MTDTransientTrackingRecHit() [2/2]

MTDTransientTrackingRecHit::MTDTransientTrackingRecHit ( const MTDTransientTrackingRecHit other)
private

Copy ctor.

Definition at line 23 of file MTDTransientTrackingRecHit.cc.

24  : GenericTransientTrackingRecHit(*other.det(), *(other.hit())) {}

Member Function Documentation

◆ build()

static RecHitPointer MTDTransientTrackingRecHit::build ( const GeomDet geom,
const TrackingRecHit rh 
)
inlinestatic

Definition at line 34 of file MTDTransientTrackingRecHit.h.

34  {
36  }

References relativeConstraints::geom, and MTDTransientTrackingRecHit().

◆ clone()

MTDTransientTrackingRecHit* MTDTransientTrackingRecHit::clone ( void  ) const
inlineoverrideprivatevirtual

Implements TValidTrackingRecHit.

Definition at line 52 of file MTDTransientTrackingRecHit.h.

52 { return new MTDTransientTrackingRecHit(*this); }

References MTDTransientTrackingRecHit().

◆ invalidateHit()

void MTDTransientTrackingRecHit::invalidateHit ( )

Definition at line 36 of file MTDTransientTrackingRecHit.cc.

36  {
37  setType(bad); //trackingRecHit_->setType(bad); // maybe add in later
38 }

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

◆ isBTL()

bool MTDTransientTrackingRecHit::isBTL ( ) const

if this rec hit is a BTL rec hit

Definition at line 26 of file MTDTransientTrackingRecHit.cc.

26  {
28  return (temp.mtdSubDetector() == MTDDetId::BTL);
29 }

References MTDDetId::BTL, TrackingRecHit::geographicalId(), and groupFilesInBlocks::temp.

◆ isETL()

bool MTDTransientTrackingRecHit::isETL ( ) const

if this rec hit is a ETL rec hit

Definition at line 31 of file MTDTransientTrackingRecHit.cc.

31  {
33  return (temp.mtdSubDetector() == MTDDetId::ETL);
34 }

References MTDDetId::ETL, TrackingRecHit::geographicalId(), and groupFilesInBlocks::temp.

◆ specificBuild()

static MTDRecHitPointer MTDTransientTrackingRecHit::specificBuild ( const GeomDet geom,
const TrackingRecHit rh 
)
inlinestatic

Definition at line 38 of file MTDTransientTrackingRecHit.h.

38  {
39  LogDebug("MTDTransientTrackingRecHit") << "Getting specificBuild" << std::endl;
41  }

References relativeConstraints::geom, LogDebug, and MTDTransientTrackingRecHit().

MTDTransientTrackingRecHit::MTDTransientTrackingRecHit
MTDTransientTrackingRecHit(const GeomDet *geom, const TrackingRecHit *rh)
Construct from a TrackingRecHit and its GeomDet.
Definition: MTDTransientTrackingRecHit.cc:20
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: TrackingRecHit.h:24
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
TrackingRecHit::geographicalId
DetId geographicalId() const
Definition: TrackingRecHit.h:120
MTDTransientTrackingRecHit::MTDRecHitPointer
std::shared_ptr< MTDTransientTrackingRecHit > MTDRecHitPointer
Definition: MTDTransientTrackingRecHit.h:20
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
trackingPlots.other
other
Definition: trackingPlots.py:1464
TrackingRecHit::bad
Definition: TrackingRecHit.h:49
GenericTransientTrackingRecHit::GenericTransientTrackingRecHit
GenericTransientTrackingRecHit(const GeomDet &geom, const TrackingRecHit &rh)
Definition: GenericTransientTrackingRecHit.h:41
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
MTDDetId::BTL
Definition: MTDDetId.h:27
TrackingRecHit::setType
void setType(Type ttype)
Definition: TrackingRecHit.h:185
MTDDetId::ETL
Definition: MTDDetId.h:27
MTDDetId
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21