![]() |
![]() |
#include <DataFormats/TrackerRecHit2D/interface/SiTrackerGSMatchedRecHit2D.h>
Public Types | |
typedef edm::Ref < FastTrackerClusterCollection, FastTrackerCluster > | ClusterRef |
typedef edm::RefProd < FastTrackerClusterCollection > | ClusterRefProd |
Public Member Functions | |
virtual SiTrackerGSMatchedRecHit2D * | clone () const |
ClusterRef const & | cluster () const |
const uint32_t & | eeId () const |
const bool & | isMatched () const |
const SiTrackerGSRecHit2D * | monoHit () 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 |
SiTrackerGSMatchedRecHit2D (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) | |
SiTrackerGSMatchedRecHit2D (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, const bool isMatched, const SiTrackerGSRecHit2D *rMono, const SiTrackerGSRecHit2D *rStereo) | |
SiTrackerGSMatchedRecHit2D () | |
const SiTrackerGSRecHit2D * | stereoHit () const |
~SiTrackerGSMatchedRecHit2D () | |
Private Attributes | |
ClusterRef | cluster_ |
SiTrackerGSRecHit2D | componentMono_ |
SiTrackerGSRecHit2D | componentStereo_ |
uint32_t const | eeId_ |
bool | isMatched_ |
int const | pixelMultiplicityAlpha_ |
int const | pixelMultiplicityBeta_ |
int const | simhitId_ |
int const | simtrackId_ |
Definition at line 8 of file SiTrackerGSMatchedRecHit2D.h.
typedef edm::Ref<FastTrackerClusterCollection, FastTrackerCluster > SiTrackerGSMatchedRecHit2D::ClusterRef |
Definition at line 25 of file SiTrackerGSMatchedRecHit2D.h.
Definition at line 26 of file SiTrackerGSMatchedRecHit2D.h.
SiTrackerGSMatchedRecHit2D::SiTrackerGSMatchedRecHit2D | ( | ) | [inline] |
Definition at line 12 of file SiTrackerGSMatchedRecHit2D.h.
Referenced by clone().
00012 : GSSiTrackerRecHit2DLocalPos(), 00013 simhitId_(), 00014 simtrackId_(), 00015 eeId_(), 00016 cluster_(), 00017 pixelMultiplicityAlpha_(), 00018 pixelMultiplicityBeta_(), 00019 isMatched_(), 00020 componentMono_(), 00021 componentStereo_() {}
SiTrackerGSMatchedRecHit2D::~SiTrackerGSMatchedRecHit2D | ( | ) | [inline] |
SiTrackerGSMatchedRecHit2D::SiTrackerGSMatchedRecHit2D | ( | 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 , |
|||
const bool | isMatched = false , |
|||
const SiTrackerGSRecHit2D * | rMono = 0 , |
|||
const SiTrackerGSRecHit2D * | rStereo = 0 | |||
) |
Definition at line 3 of file SiTrackerGSMatchedRecHit2D.cc.
00013 : 00014 GSSiTrackerRecHit2DLocalPos(pos,err,id) , 00015 simhitId_(simhitId) , 00016 simtrackId_(simtrackId) , 00017 eeId_(eeId) , 00018 cluster_(cluster), 00019 pixelMultiplicityAlpha_(pixelMultiplicityX), 00020 pixelMultiplicityBeta_(pixelMultiplicityY), 00021 isMatched_(isMatched), 00022 componentMono_(*rMono), 00023 componentStereo_(*rStereo) 00024 {}
SiTrackerGSMatchedRecHit2D::SiTrackerGSMatchedRecHit2D | ( | 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 26 of file SiTrackerGSMatchedRecHit2D.cc.
00033 : 00034 GSSiTrackerRecHit2DLocalPos(pos,err,id) , 00035 simhitId_(simhitId) , 00036 simtrackId_(simtrackId) , 00037 eeId_(eeId) , 00038 cluster_(cluster), 00039 pixelMultiplicityAlpha_(pixelMultiplicityX), 00040 pixelMultiplicityBeta_(pixelMultiplicityY), 00041 isMatched_(0), 00042 componentMono_(), 00043 componentStereo_() 00044 {}
virtual SiTrackerGSMatchedRecHit2D* SiTrackerGSMatchedRecHit2D::clone | ( | void | ) | const [inline, virtual] |
Implements RecHit2DLocalPos.
Definition at line 52 of file SiTrackerGSMatchedRecHit2D.h.
References SiTrackerGSMatchedRecHit2D().
00052 {return new SiTrackerGSMatchedRecHit2D( * this); }
ClusterRef const& SiTrackerGSMatchedRecHit2D::cluster | ( | ) | const [inline] |
Definition at line 63 of file SiTrackerGSMatchedRecHit2D.h.
References cluster_.
00063 { return cluster_;}
const uint32_t& SiTrackerGSMatchedRecHit2D::eeId | ( | ) | const [inline] |
Definition at line 56 of file SiTrackerGSMatchedRecHit2D.h.
References eeId_.
Referenced by TrackerHitAssociator::associateGSMatchedRecHit().
00056 { return eeId_;}
const bool& SiTrackerGSMatchedRecHit2D::isMatched | ( | ) | const [inline] |
Definition at line 59 of file SiTrackerGSMatchedRecHit2D.h.
References isMatched_.
Referenced by TrackCandidateProducer::produce().
00059 { return isMatched_;}
const SiTrackerGSRecHit2D* SiTrackerGSMatchedRecHit2D::monoHit | ( | ) | const [inline] |
Definition at line 60 of file SiTrackerGSMatchedRecHit2D.h.
References componentMono_.
Referenced by TrackCandidateProducer::addSplitHits().
00060 { return &componentMono_;}
void SiTrackerGSMatchedRecHit2D::setClusterRef | ( | const ClusterRef & | ref | ) | [inline] |
Definition at line 64 of file SiTrackerGSMatchedRecHit2D.h.
References cluster_.
00064 { cluster_ = ref; }
virtual bool SiTrackerGSMatchedRecHit2D::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 67 of file SiTrackerGSMatchedRecHit2D.h.
const int& SiTrackerGSMatchedRecHit2D::simhitId | ( | ) | const [inline] |
Definition at line 54 of file SiTrackerGSMatchedRecHit2D.h.
References simhitId_.
00054 { return simhitId_;}
const int& SiTrackerGSMatchedRecHit2D::simMultX | ( | ) | const [inline] |
Definition at line 57 of file SiTrackerGSMatchedRecHit2D.h.
References pixelMultiplicityAlpha_.
00057 { return pixelMultiplicityAlpha_;}
const int& SiTrackerGSMatchedRecHit2D::simMultY | ( | ) | const [inline] |
Definition at line 58 of file SiTrackerGSMatchedRecHit2D.h.
References pixelMultiplicityBeta_.
00058 { return pixelMultiplicityBeta_;}
const int& SiTrackerGSMatchedRecHit2D::simtrackId | ( | ) | const [inline] |
Definition at line 55 of file SiTrackerGSMatchedRecHit2D.h.
References simtrackId_.
Referenced by TrackerHitAssociator::associateGSMatchedRecHit(), FastTrackMerger::findId(), TrackCandidateProducer::findId(), PFSimParticleProducer::getSimIDs(), TrackCandidateProducer::produce(), and FastTSGFromL2Muon::produce().
00055 { return simtrackId_;}
const SiTrackerGSRecHit2D* SiTrackerGSMatchedRecHit2D::stereoHit | ( | ) | const [inline] |
Definition at line 61 of file SiTrackerGSMatchedRecHit2D.h.
References componentStereo_.
Referenced by TrackCandidateProducer::addSplitHits().
00061 { return &componentStereo_;}
Definition at line 73 of file SiTrackerGSMatchedRecHit2D.h.
Referenced by cluster(), and setClusterRef().
uint32_t const SiTrackerGSMatchedRecHit2D::eeId_ [private] |
bool SiTrackerGSMatchedRecHit2D::isMatched_ [private] |
int const SiTrackerGSMatchedRecHit2D::pixelMultiplicityAlpha_ [private] |
int const SiTrackerGSMatchedRecHit2D::pixelMultiplicityBeta_ [private] |
int const SiTrackerGSMatchedRecHit2D::simhitId_ [private] |
int const SiTrackerGSMatchedRecHit2D::simtrackId_ [private] |