#include <GEMRecHit.h>
Public Member Functions | |
int | BunchX () const |
virtual GEMRecHit * | clone () const |
int | clusterSize () const |
int | firstClusterStrip () const |
GEMDetId | gemId () const |
Return the gemId. More... | |
GEMRecHit (const GEMDetId &gemId, int bx) | |
GEMRecHit () | |
Default constructor. More... | |
GEMRecHit (const GEMDetId &gemId, int bx, const LocalPoint &pos) | |
GEMRecHit (const GEMDetId &gemId, int bx, const LocalPoint &pos, const LocalError &err) | |
Constructor from a local position and error, gemId and bx. More... | |
GEMRecHit (const GEMDetId &gemId, int bx, int firstStrip, int clustSize, const LocalPoint &pos, const LocalError &err) | |
Constructor from a local position and error, gemId, bx, frist strip of cluster and cluster size. More... | |
virtual LocalPoint | localPosition () const |
Return the 3-dimensional local position. More... | |
virtual LocalError | localPositionError () const |
Return the 3-dimensional error on the local position. More... | |
bool | operator== (const GEMRecHit &hit) const |
Comparison operator, based on the gemId and the digi time. More... | |
virtual std::vector< const TrackingRecHit * > | recHits () const |
virtual std::vector < TrackingRecHit * > | recHits () |
void | setError (LocalError err) |
Set local position error. More... | |
void | setPosition (LocalPoint pos) |
Set local position. More... | |
void | setPositionAndError (LocalPoint pos, LocalError err) |
Set the local position and its error. More... | |
virtual | ~GEMRecHit () |
Destructor. More... | |
Public Member Functions inherited from RecHit2DLocalPos | |
virtual int | dimension () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
virtual | ~RecHit2DLocalPos () |
Public Member Functions inherited from TrackingRecHit | |
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 bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
int | theBx |
int | theClusterSize |
int | theFirstStrip |
GEMDetId | theGEMId |
LocalError | theLocalError |
LocalPoint | theLocalPosition |
Additional Inherited Members | |
Public Types inherited from RecHit2DLocalPos | |
typedef GloballyPositioned < float >::LocalPoint | LocalPoint |
Public Types inherited from TrackingRecHit | |
typedef unsigned int | id_type |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3 } |
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) |
GEMRecHit::GEMRecHit | ( | const GEMDetId & | gemId, |
int | bx | ||
) |
Definition at line 13 of file GEMRecHit.cc.
GEMRecHit::GEMRecHit | ( | ) |
GEMRecHit::GEMRecHit | ( | const GEMDetId & | gemId, |
int | bx, | ||
const LocalPoint & | pos | ||
) |
Constructor from a local position, gemId and digi time. The 3-dimensional local error is defined as resolution (the cell resolution) for the coordinate being measured and 0 for the two other coordinates
Definition at line 24 of file GEMRecHit.cc.
References theLocalError.
GEMRecHit::GEMRecHit | ( | const GEMDetId & | gemId, |
int | bx, | ||
const LocalPoint & | pos, | ||
const LocalError & | err | ||
) |
Constructor from a local position and error, gemId and bx.
Definition at line 36 of file GEMRecHit.cc.
GEMRecHit::GEMRecHit | ( | const GEMDetId & | gemId, |
int | bx, | ||
int | firstStrip, | ||
int | clustSize, | ||
const LocalPoint & | pos, | ||
const LocalError & | err | ||
) |
Constructor from a local position and error, gemId, bx, frist strip of cluster and cluster size.
Definition at line 46 of file GEMRecHit.cc.
|
virtual |
|
inline |
Definition at line 103 of file GEMRecHit.h.
References theBx.
|
virtual |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return the 3-dimensional local position.
Implements RecHit2DLocalPos.
Definition at line 55 of file GEMRecHit.h.
References theLocalPosition.
Referenced by operator<<().
|
inlinevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit2DLocalPos.
Definition at line 61 of file GEMRecHit.h.
References theLocalError.
Referenced by operator<<().
bool GEMRecHit::operator== | ( | const GEMRecHit & | hit | ) | const |
Comparison operator, based on the gemId and the digi time.
Definition at line 89 of file GEMRecHit.cc.
References TrackingRecHit::geographicalId().
|
virtual |
Access to component RecHits. No components rechits: it returns a null vector
Reimplemented from RecHit2DLocalPos.
Definition at line 73 of file GEMRecHit.cc.
|
virtual |
Non-const access to component RecHits. No components rechits: it returns a null vector
Reimplemented from RecHit2DLocalPos.
Definition at line 82 of file GEMRecHit.cc.
|
inline |
|
inline |
Set local position.
Definition at line 80 of file GEMRecHit.h.
References pos, and theLocalPosition.
|
inline |
Set the local position and its error.
Definition at line 92 of file GEMRecHit.h.
References pos, theLocalError, and theLocalPosition.
|
private |
Definition at line 120 of file GEMRecHit.h.
Referenced by BunchX().
|
private |
Definition at line 122 of file GEMRecHit.h.
Referenced by clusterSize().
|
private |
Definition at line 121 of file GEMRecHit.h.
Referenced by firstClusterStrip().
|
private |
Definition at line 119 of file GEMRecHit.h.
Referenced by gemId().
|
private |
Definition at line 125 of file GEMRecHit.h.
Referenced by GEMRecHit(), localPositionError(), setError(), and setPositionAndError().
|
private |
Definition at line 124 of file GEMRecHit.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().