#include <RPCRecHit.h>
Public Member Functions | |
int | BunchX () const |
RPCRecHit * | clone () const override |
int | clusterSize () const |
int | firstClusterStrip () const |
LocalPoint | localPosition () const override |
Return the 3-dimensional local position. More... | |
LocalError | localPositionError () const override |
Return the 3-dimensional error on the local position. More... | |
bool | operator== (const RPCRecHit &hit) const |
Comparison operator, based on the rpcId and the digi time. More... | |
std::vector< const TrackingRecHit * > | recHits () const override |
std::vector< TrackingRecHit * > | recHits () override |
RPCDetId | rpcId () const |
Return the rpcId. More... | |
RPCRecHit (const RPCDetId &rpcId, int bx) | |
RPCRecHit () | |
Default constructor. More... | |
RPCRecHit (const RPCDetId &rpcId, int bx, const LocalPoint &pos) | |
RPCRecHit (const RPCDetId &rpcId, int bx, const LocalPoint &pos, const LocalError &err) | |
Constructor from a local position and error, rpcId and bx. More... | |
RPCRecHit (const RPCDetId &rpcId, int bx, int firstStrip, int clustSize, const LocalPoint &pos, const LocalError &err) | |
Constructor from a local position and error, rpcId, bx, frist strip of cluster and cluster size. More... | |
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... | |
void | setTimeAndError (float time, float err) |
Set the time and its error. More... | |
float | time () const |
float | timeError () const |
~RPCRecHit () override | |
Destructor. More... | |
Public Member Functions inherited from RecHit2DLocalPos | |
int | dimension () const override |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
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... | |
~RecHit2DLocalPos () override | |
Public Member Functions inherited from TrackingRecHit | |
virtual bool | canImproveWithTrack () const |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
virtual float | errorGlobalR () const |
virtual float | errorGlobalRPhi () const |
virtual float | errorGlobalZ () const |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
virtual TrackingRecHit const * | hit () 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) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
virtual const Surface * | surface () const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh) | |
virtual ConstRecHitContainer | transientHits () const |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
int | theBx |
int | theClusterSize |
int | theFirstStrip |
LocalError | theLocalError |
LocalPoint | theLocalPosition |
RPCDetId | theRPCId |
float | theTime |
float | theTimeError |
Additional Inherited Members | |
Public Types inherited from RecHit2DLocalPos | |
typedef GloballyPositioned< float >::LocalPoint | LocalPoint |
Public Types inherited from TrackingRecHit | |
typedef std::vector< ConstRecHitPointer > | ConstRecHitContainer |
using | ConstRecHitPointer = std::shared_ptr< TrackingRecHit const > |
typedef unsigned int | id_type |
typedef std::vector< ConstRecHitPointer > | RecHitContainer |
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 } |
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) |
RecHit for RPC
Definition at line 15 of file RPCRecHit.h.
RPCRecHit::RPCRecHit | ( | const RPCDetId & | rpcId, |
int | bx | ||
) |
Definition at line 11 of file RPCRecHit.cc.
RPCRecHit::RPCRecHit | ( | ) |
RPCRecHit::RPCRecHit | ( | const RPCDetId & | rpcId, |
int | bx, | ||
const LocalPoint & | pos | ||
) |
Constructor from a local position, rpcId 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 RPCRecHit.cc.
References theLocalError.
RPCRecHit::RPCRecHit | ( | const RPCDetId & | rpcId, |
int | bx, | ||
const LocalPoint & | pos, | ||
const LocalError & | err | ||
) |
Constructor from a local position and error, rpcId and bx.
Definition at line 37 of file RPCRecHit.cc.
RPCRecHit::RPCRecHit | ( | const RPCDetId & | rpcId, |
int | bx, | ||
int | firstStrip, | ||
int | clustSize, | ||
const LocalPoint & | pos, | ||
const LocalError & | err | ||
) |
Constructor from a local position and error, rpcId, bx, frist strip of cluster and cluster size.
Definition at line 48 of file RPCRecHit.cc.
|
override |
|
inline |
Definition at line 107 of file RPCRecHit.h.
References theBx.
Referenced by RPCHitAssociator::associateRecHit(), RPCSeedrecHitFinder::complete(), RPCCosmicSeedrecHitFinder::complete(), and RPCMonitorDigi::performSourceOperation().
|
overridevirtual |
Implements RecHit2DLocalPos.
Definition at line 69 of file RPCRecHit.cc.
References RPCRecHit().
Referenced by localPositionError().
|
inline |
Definition at line 115 of file RPCRecHit.h.
References theClusterSize.
Referenced by RPCHitAssociator::associateRecHit(), RPCSeedrecHitFinder::complete(), RPCCosmicSeedrecHitFinder::complete(), and RPCMonitorDigi::performSourceOperation().
|
inline |
Definition at line 111 of file RPCRecHit.h.
References theFirstStrip.
Referenced by RPCHitAssociator::associateRecHit(), and RPCMonitorDigi::performSourceOperation().
|
inlineoverridevirtual |
Return the 3-dimensional local position.
Implements RecHit2DLocalPos.
Definition at line 53 of file RPCRecHit.h.
References theLocalPosition.
Referenced by FWRPCRecHitProxyBuilder::buildViewType(), reco::helper::JetMuonHitsIDHelper::calculate(), and operator<<().
|
inlineoverridevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit2DLocalPos.
Definition at line 59 of file RPCRecHit.h.
References clone(), recHits(), and theLocalError.
Referenced by FWRPCRecHitProxyBuilder::buildViewType(), and operator<<().
bool RPCRecHit::operator== | ( | const RPCRecHit & | hit | ) | const |
Comparison operator, based on the rpcId and the digi time.
Definition at line 92 of file RPCRecHit.cc.
References TrackingRecHit::geographicalId().
Referenced by timeError().
|
overridevirtual |
Access to component RecHits. No components rechits: it returns a null vector
Implements TrackingRecHit.
Definition at line 76 of file RPCRecHit.cc.
Referenced by localPositionError().
|
overridevirtual |
Non-const access to component RecHits. No components rechits: it returns a null vector
Implements TrackingRecHit.
Definition at line 85 of file RPCRecHit.cc.
|
inline |
Return the rpcId.
Definition at line 103 of file RPCRecHit.h.
References theRPCId.
Referenced by RPCMonitorDigi::analyze(), RPCHitAssociator::associateRecHit(), FWRPCRecHitProxyBuilder::buildViewType(), and MuonDetCleaner< T1, T2 >::getRawDetId().
|
inline |
|
inline |
|
inline |
Set the local position and its error.
Definition at line 90 of file RPCRecHit.h.
References theLocalError, and theLocalPosition.
|
inline |
Set the time and its error.
Definition at line 96 of file RPCRecHit.h.
References theTime, theTimeError, and time().
Referenced by RPCRecHitBaseAlgo::reconstruct().
|
inline |
|
inline |
|
private |
Definition at line 132 of file RPCRecHit.h.
Referenced by BunchX().
|
private |
Definition at line 134 of file RPCRecHit.h.
Referenced by clusterSize().
|
private |
Definition at line 133 of file RPCRecHit.h.
Referenced by firstClusterStrip().
|
private |
Definition at line 137 of file RPCRecHit.h.
Referenced by localPositionError(), RPCRecHit(), setError(), and setPositionAndError().
|
private |
Definition at line 136 of file RPCRecHit.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().
|
private |
Definition at line 131 of file RPCRecHit.h.
Referenced by rpcId().
|
private |
Definition at line 138 of file RPCRecHit.h.
Referenced by setTimeAndError(), and time().
|
private |
Definition at line 138 of file RPCRecHit.h.
Referenced by setTimeAndError(), and timeError().