File indexing completed on 2024-09-12 04:16:21
0001 #include "DataFormats/L1Trigger/interface/P2GTCandidate.h"
0002
0003 namespace l1t {
0004
0005 bool P2GTCandidate::operator==(const P2GTCandidate& rhs) const {
0006 return objectType_ == rhs.objectType_ && hwPT_ == rhs.hwPT_ && hwPhi_ == rhs.hwPhi_ && hwEta_ == rhs.hwEta_ &&
0007 hwZ0_ == rhs.hwZ0_ && hwIsolationPT_ == rhs.hwIsolationPT_ && hwQualityScore_ == rhs.hwQualityScore_ &&
0008 hwQualityFlags_ == rhs.hwQualityFlags_ && hwCharge_ == rhs.hwCharge_ && hwD0_ == rhs.hwD0_ &&
0009 hwBeta_ == rhs.hwBeta_ && hwMass_ == rhs.hwMass_ && hwIndex_ == rhs.hwIndex_ &&
0010 hwSeed_pT_ == rhs.hwSeed_pT_ && hwSeed_z0_ == rhs.hwSeed_z0_ && hwScalarSumPT_ == rhs.hwScalarSumPT_ &&
0011 hwNumber_of_tracks_ == rhs.hwNumber_of_tracks_ &&
0012 hwNumber_of_displaced_tracks_ == rhs.hwNumber_of_displaced_tracks_ && hwSum_pT_pv_ == rhs.hwSum_pT_pv_ &&
0013 hwType_ == rhs.hwType_ && hwNumber_of_tracks_in_pv_ == rhs.hwNumber_of_tracks_in_pv_ &&
0014 hwNumber_of_tracks_not_in_pv_ == rhs.hwNumber_of_tracks_not_in_pv_;
0015 }
0016
0017 bool P2GTCandidate::operator!=(const P2GTCandidate& rhs) const { return !operator==(rhs); };
0018 }