File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class PerigeeMultiLTS : public LinearizedTrackState<5> {
9696
9797 bool hasError () const override ;
9898
99- bool operator ==(LinearizedTrackState<5 >& other) const override ;
99+ bool operator ==(const LinearizedTrackState<5 >& other) const override ;
100100
101101 /* * Creates the correct refitted state according to the results of the
102102 * track refit.
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ AlgebraicSymMatrix33 PerigeeMultiLTS::predictedStateMomentumError() const {
110110 return collapsedStateLT->predictedStateMomentumError ();
111111}
112112
113- bool PerigeeMultiLTS::operator ==(LinearizedTrackState<5 >& other) const {
113+ bool PerigeeMultiLTS::operator ==(const LinearizedTrackState<5 >& other) const {
114114 const PerigeeMultiLTS* otherP = dynamic_cast <const PerigeeMultiLTS*>(&other);
115115 if (otherP == nullptr ) {
116116 throw VertexException (" PerigeeMultiLTS: don't know how to compare myself to non-perigee track state" );
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class ParticleKinematicLinearizedTrackState : public LinearizedTrackState<6> {
8787
8888 RefCountedKinematicParticle particle () const ;
8989
90- bool operator ==(LinearizedTrackState<6 >& other) const override ;
90+ bool operator ==(const LinearizedTrackState<6 >& other) const override ;
9191
9292 bool hasError () const override ;
9393
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ TrackCharge ParticleKinematicLinearizedTrackState::charge() const { return part-
5555
5656RefCountedKinematicParticle ParticleKinematicLinearizedTrackState::particle () const { return part; }
5757
58- bool ParticleKinematicLinearizedTrackState::operator ==(LinearizedTrackState<6 >& other) const {
58+ bool ParticleKinematicLinearizedTrackState::operator ==(const LinearizedTrackState<6 >& other) const {
5959 const ParticleKinematicLinearizedTrackState* otherP =
6060 dynamic_cast <const ParticleKinematicLinearizedTrackState*>(&other);
6161 if (otherP == nullptr ) {
Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ class PerigeeLinearizedTrackState final : public LinearizedTrackState<5> {
112112
113113 bool hasError () const override ;
114114
115- bool operator ==(LinearizedTrackState<5 >& other) const override ;
115+ bool operator ==(const LinearizedTrackState<5 >& other) const override ;
116116
117- bool operator ==(ReferenceCountingPointer<LinearizedTrackState<5 > >& other) const ;
117+ bool operator ==(const ReferenceCountingPointer<LinearizedTrackState<5 > >& other) const ;
118118
119119 /* * Creates the correct refitted state according to the results of the
120120 * track refit.
Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ void PerigeeLinearizedTrackState::computeJacobians() const {
2626 jacobiansAvailable = true ;
2727}
2828
29- bool PerigeeLinearizedTrackState::operator ==(LinearizedTrackState<5 >& other) const {
29+ bool PerigeeLinearizedTrackState::operator ==(const LinearizedTrackState<5 >& other) const {
3030 const PerigeeLinearizedTrackState* otherP = dynamic_cast <const PerigeeLinearizedTrackState*>(&other);
3131 if (otherP == nullptr ) {
3232 throw VertexException (" PerigeeLinearizedTrackState: don't know how to compare myself to non-perigee track state" );
3333 }
3434 return (otherP->track () == theTrack);
3535}
3636
37- bool PerigeeLinearizedTrackState::operator ==(ReferenceCountingPointer<LinearizedTrackState<5 > >& other) const {
37+ bool PerigeeLinearizedTrackState::operator ==(const ReferenceCountingPointer<LinearizedTrackState<5 > >& other) const {
3838 const PerigeeLinearizedTrackState* otherP = dynamic_cast <const PerigeeLinearizedTrackState*>(other.get ());
3939 if (otherP == nullptr ) {
4040 throw VertexException (" PerigeeLinearizedTrackState: don't know how to compare myself to non-perigee track state" );
You can’t perform that action at this time.
0 commit comments