Skip to content

Commit

Permalink
Merge pull request cms-sw#44482 from Dr15Jones/copyCtrTrackStub
Browse files Browse the repository at this point in the history
Removed explicit copy ctr in TrackStub
  • Loading branch information
cmsbuild authored Mar 20, 2024
2 parents dd3cc75 + 1ca689c commit ee7dfbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion DataFormats/L1CSCTrackFinder/interface/TrackStub.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace csctf {
TrackStub() {}
TrackStub(const CSCCorrelatedLCTDigi &, const DetId &);
TrackStub(const CSCCorrelatedLCTDigi &, const DetId &, const unsigned &phi, const unsigned &eta);
TrackStub(const TrackStub &);

/// set Eta and Phi from integer values.
void setEtaPacked(const unsigned &eta_) { theEta_ = eta_; }
Expand Down
7 changes: 0 additions & 7 deletions DataFormats/L1CSCTrackFinder/src/TrackStub.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ namespace csctf {
TrackStub::TrackStub(const CSCCorrelatedLCTDigi& aDigi, const DetId& aDetId, const unsigned& phi, const unsigned& eta)
: CSCCorrelatedLCTDigi(aDigi), theDetId_(aDetId.rawId()), thePhi_(phi), theEta_(eta), link_(0) {}

TrackStub::TrackStub(const TrackStub& aTrackStub)
: CSCCorrelatedLCTDigi(aTrackStub),
theDetId_(aTrackStub.theDetId_),
thePhi_(aTrackStub.thePhi_),
theEta_(aTrackStub.theEta_),
link_(aTrackStub.link_) {}

unsigned TrackStub::endcap() const {
int e = 0;

Expand Down

0 comments on commit ee7dfbf

Please sign in to comment.