1 #ifndef DataFormats_L1Trigger_P2GTCandidate_h 2 #define DataFormats_L1Trigger_P2GTCandidate_h 136 throw std::invalid_argument(
"Object doesn't have pT");
138 return static_cast<int>(
hwPT_);
143 throw std::invalid_argument(
"Object doesn't have phi");
145 return static_cast<int>(
hwPhi_);
150 throw std::invalid_argument(
"Object doesn't have eta");
152 return static_cast<int>(
hwEta_);
157 throw std::invalid_argument(
"Object doesn't have z0");
159 return static_cast<int>(
hwZ0_);
164 throw std::invalid_argument(
"Object doesn't have isolationPT");
171 throw std::invalid_argument(
"Object doesn't have qualityFlags");
178 throw std::invalid_argument(
"Object doesn't have qualityScore");
185 throw std::invalid_argument(
"Object doesn't have charge");
192 throw std::invalid_argument(
"Object doesn't have d0");
194 return static_cast<int>(
hwD0_);
199 throw std::invalid_argument(
"Object doesn't have beta");
201 return static_cast<int>(
hwBeta_);
206 throw std::invalid_argument(
"Object doesn't have mass");
208 return static_cast<int>(
hwMass_);
213 throw std::invalid_argument(
"Object doesn't have index");
220 throw std::invalid_argument(
"Object doesn't have seed_pT");
227 throw std::invalid_argument(
"Object doesn't have seed_z0");
234 throw std::invalid_argument(
"Object doesn't have scalarSumPT");
241 throw std::invalid_argument(
"Object doesn't have number_of_tracks");
248 throw std::invalid_argument(
"Object doesn't have hwNumber_of_displaced_tracks");
255 throw std::invalid_argument(
"Object doesn't have sum_pT_pv");
262 throw std::invalid_argument(
"Object doesn't have type");
264 return static_cast<int>(
hwType_);
269 throw std::invalid_argument(
"Object doesn't have number_of_tracks_in_pv");
276 throw std::invalid_argument(
"Object doesn't have hwNumber_of_tracks_not_in_pv");
358 #endif // DataFormats_L1Trigger_P2GTCandidate_h int hwIsolationPT_toInt() const
ap_uint< 5 > hwNumber_of_tracks_t
void setHwD0(hwD0_t hwD0)
ap_uint< 11 > hwIsolationPT_t
void setHwType(hwType_t hwType)
void setHwIsolationPT(hwIsolationPT_t hwIso)
Optional< int > hwNumber_of_tracks_in_pv_
void setHwBeta(hwBeta_t hwBeta)
bool operator!=(const P2GTCandidate &rhs) const
hwNumber_of_tracks_in_pv_t hwNumber_of_tracks_in_pv() const
std::vector< P2GTCandidate > P2GTCandidateCollection
ap_uint< 10 > hwSeed_pT_t
Optional< int > hwNumber_of_displaced_tracks_
hwIsolationPT_t hwIsolationPT() const
Optional< int > hwIsolationPT_
void setHwNumber_of_tracks_in_pv(hwNumber_of_tracks_in_pv_t hwNumber_of_tracks_in_pv)
int hwSeed_z0_toInt() const
Optional< int > hwSeed_z0_
edm::Ref< P2GTCandidateCollection > P2GTCandidateRef
void setHwSum_pT_pv(hwSum_pT_pv_t hwSum_pT_pv)
int hwNumber_of_tracks_toInt() const
hwScalarSumPT_t hwScalarSumPT() const
Optional< int > hwCharge_
ObjectType objectType() const
bool isTrackerMuon() const override
ap_uint< 8 > hwNumber_of_tracks_in_pv_t
Optional< int > hwQualityScore_
void setHwEta(hwEta_t hwEta)
void setHwMass(hwMass_t hwMass)
int hwNumber_of_tracks_in_pv_toInt() const
Optional< int > hwQualityFlags_
int hwNumber_of_tracks_not_in_pv_toInt() const
int hwNumber_of_displaced_tracks_toInt() const
hwCharge_t hwCharge() const
bool isStandAloneMuon() const override
Optional< int > hwSeed_pT_
ap_uint< 16 > hwScalarSumPT_t
void setHwPT(hwPT_t hwPT)
ap_uint< 4 > hwNumber_of_displaced_tracks_t
bool isJet() const override
int hwQualityScore_toInt() const
bool isElectron() const override
hwQualityFlags_t hwQualityFlags() const
void setHwQualityScore(hwQualityScore_t hwQualityScore)
ap_uint< 6 > hwQualityFlags_t
void setHwSeed_z0(hwSeed_z0_t hwSeed_z0)
hwQualityScore_t hwQualityScore() const
ap_uint< 10 > hwNumber_of_tracks_not_in_pv_t
Optional< int > hwNumber_of_tracks_
void setHwScalarSumPT(hwScalarSumPT_t hwScalarSumPT)
hwSum_pT_pv_t hwSum_pT_pv() const
void setHwNumber_of_tracks_not_in_pv(hwNumber_of_tracks_not_in_pv_t hwNumber_of_tracks_not_in_pv)
void setHwSeed_pT(hwSeed_pT_t hwSeed_pT)
int hwSeed_pT_toInt() const
bool operator==(const P2GTCandidate &rhs) const
hwSeed_pT_t hwSeed_pT() const
std::vector< P2GTCandidateRef > P2GTCandidateVectorRef
void setHwIndex(hwIndex_t hwIndex)
ap_uint< 12 > hwSum_pT_pv_t
hwNumber_of_displaced_tracks_t hwNumber_of_displaced_tracks() const
int hwIndex_toInt() const
edm::RefVector< P2GTCandidateCollection > P2GTCandidateRefVector
hwIndex_t hwIndex() const
int hwSum_pT_pv_toInt() const
Optional< int > hwSum_pT_pv_
Optional< int > hwScalarSumPT_
hwSeed_z0_t hwSeed_z0() const
int hwQualityFlags_toInt() const
Optional< int > hwNumber_of_tracks_not_in_pv_
int hwCharge_toInt() const
hwNumber_of_tracks_t hwNumber_of_tracks() const
ap_uint< 10 > hwQualityScore_t
void setHwNumber_of_displaced_tracks(hwNumber_of_displaced_tracks_t hwNumber_of_displaced_tracks)
hwNumber_of_tracks_not_in_pv_t hwNumber_of_tracks_not_in_pv() const
void setHwCharge(hwCharge_t hwCharge)
void setHwQualityFlags(hwQualityFlags_t hwQualityFlags)
void setHwZ0(hwZ0_t hwZ0)
void setHwNumber_of_tracks(hwNumber_of_tracks_t hwNumber_of_tracks)
bool isPhoton() const override
void setHwPhi(hwPhi_t hwPhi)
int hwScalarSumPT_toInt() const
bool operator==(bool rhs) const
bool isMuon() const override
bool operator!=(bool rhs) const