#include <DataFormats/TrackerRecHit2D/interface/SiTrackerGSRecHit2D.h>
Public Types | |
typedef edm::Ref < FastTrackerClusterCollection, FastTrackerCluster > | ClusterRef |
typedef edm::RefProd < FastTrackerClusterCollection > | ClusterRefProd |
Public Member Functions | |
virtual SiTrackerGSRecHit2D * | clone () const |
ClusterRef const & | cluster () const |
const uint32_t & | eeId () const |
void | setClusterRef (const ClusterRef &ref) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise. | |
const int & | simhitId () const |
const int & | simMultX () const |
const int & | simMultY () const |
const int & | simtrackId () const |
SiTrackerGSRecHit2D (const LocalPoint &, const LocalError &, const DetId &, const int simhitId, const int simtrackId, const uint32_t eeId, ClusterRef const &cluster, const int pixelMultiplicityX, const int pixelMultiplicityY) | |
SiTrackerGSRecHit2D () | |
~SiTrackerGSRecHit2D () | |
Private Attributes | |
ClusterRef | cluster_ |
uint32_t const | eeId_ |
int const | pixelMultiplicityAlpha_ |
int const | pixelMultiplicityBeta_ |
int const | simhitId_ |
int const | simtrackId_ |
Definition at line 11 of file SiTrackerGSRecHit2D.h.
Definition at line 27 of file SiTrackerGSRecHit2D.h.
Definition at line 28 of file SiTrackerGSRecHit2D.h.
SiTrackerGSRecHit2D::SiTrackerGSRecHit2D | ( | ) | [inline] |
Definition at line 17 of file SiTrackerGSRecHit2D.h.
Referenced by clone().
00017 : GSSiTrackerRecHit2DLocalPos(), 00018 simhitId_(), 00019 simtrackId_(), 00020 eeId_(), 00021 cluster_(), 00022 pixelMultiplicityAlpha_(), 00023 pixelMultiplicityBeta_() {}
SiTrackerGSRecHit2D::~SiTrackerGSRecHit2D | ( | ) | [inline] |
SiTrackerGSRecHit2D::SiTrackerGSRecHit2D | ( | const LocalPoint & | pos, | |
const LocalError & | err, | |||
const DetId & | id, | |||
const int | simhitId, | |||
const int | simtrackId, | |||
const uint32_t | eeId, | |||
ClusterRef const & | cluster, | |||
const int | pixelMultiplicityX = -1 , |
|||
const int | pixelMultiplicityY = -1 | |||
) |
Definition at line 4 of file SiTrackerGSRecHit2D.cc.
00012 : 00013 GSSiTrackerRecHit2DLocalPos(pos,err,id) , 00014 simhitId_(simhitId) , 00015 simtrackId_(simtrackId) , 00016 eeId_(eeId) , 00017 cluster_(cluster), 00018 pixelMultiplicityAlpha_(pixelMultiplicityX), 00019 pixelMultiplicityBeta_(pixelMultiplicityY){}
virtual SiTrackerGSRecHit2D* SiTrackerGSRecHit2D::clone | ( | void | ) | const [inline, virtual] |
Implements RecHit2DLocalPos.
Definition at line 40 of file SiTrackerGSRecHit2D.h.
References SiTrackerGSRecHit2D().
00040 {return new SiTrackerGSRecHit2D( * this); }
ClusterRef const& SiTrackerGSRecHit2D::cluster | ( | ) | const [inline] |
Definition at line 48 of file SiTrackerGSRecHit2D.h.
References cluster_.
Referenced by GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().
00048 { return cluster_;}
const uint32_t& SiTrackerGSRecHit2D::eeId | ( | ) | const [inline] |
Definition at line 44 of file SiTrackerGSRecHit2D.h.
References eeId_.
Referenced by TrackerHitAssociator::associateGSRecHit(), GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().
00044 { return eeId_;}
void SiTrackerGSRecHit2D::setClusterRef | ( | const ClusterRef & | ref | ) | [inline] |
virtual bool SiTrackerGSRecHit2D::sharesInput | ( | const TrackingRecHit * | other, | |
SharedInputType | what | |||
) | const [inline, virtual] |
Returns true if the two TrackingRecHits are using the same input information (like Digis, Clusters, etc), false otherwise.
The second argument specifies how much sharing is needed in order to return true: the value "all" means that all inputs of the two hits must be identical; the value "some" means that at least one of the inputs is in common.
Reimplemented from GSSiTrackerRecHit2DLocalPos.
Definition at line 51 of file SiTrackerGSRecHit2D.h.
const int& SiTrackerGSRecHit2D::simhitId | ( | ) | const [inline] |
Definition at line 42 of file SiTrackerGSRecHit2D.h.
References simhitId_.
Referenced by TrackCandidateProducer::addSplitHits(), GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().
00042 { return simhitId_;}
const int& SiTrackerGSRecHit2D::simMultX | ( | ) | const [inline] |
Definition at line 45 of file SiTrackerGSRecHit2D.h.
References pixelMultiplicityAlpha_.
Referenced by GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().
00045 { return pixelMultiplicityAlpha_;}
const int& SiTrackerGSRecHit2D::simMultY | ( | ) | const [inline] |
Definition at line 46 of file SiTrackerGSRecHit2D.h.
References pixelMultiplicityBeta_.
Referenced by GSRecHitMatcher::match(), and GSRecHitMatcher::projectOnly().
00046 { return pixelMultiplicityBeta_;}
const int& SiTrackerGSRecHit2D::simtrackId | ( | ) | const [inline] |
Definition at line 43 of file SiTrackerGSRecHit2D.h.
References simtrackId_.
Referenced by TrackerHitAssociator::associateGSRecHit(), ParamL3MuonProducer::findId(), GSRecHitMatcher::match(), ParamL3MuonProducer::produce(), and GSRecHitMatcher::projectOnly().
00043 { return simtrackId_;}
ClusterRef SiTrackerGSRecHit2D::cluster_ [private] |
uint32_t const SiTrackerGSRecHit2D::eeId_ [private] |
int const SiTrackerGSRecHit2D::pixelMultiplicityAlpha_ [private] |
int const SiTrackerGSRecHit2D::pixelMultiplicityBeta_ [private] |
int const SiTrackerGSRecHit2D::simhitId_ [private] |
int const SiTrackerGSRecHit2D::simtrackId_ [private] |