1 #ifndef DataFormats_L1Trigger_P2GTCandidate_h 2 #define DataFormats_L1Trigger_P2GTCandidate_h 131 throw std::invalid_argument(
"Object doesn't have pT");
133 return static_cast<int>(
hwPT_);
138 throw std::invalid_argument(
"Object doesn't have phi");
140 return static_cast<int>(
hwPhi_);
145 throw std::invalid_argument(
"Object doesn't have eta");
147 return static_cast<int>(
hwEta_);
152 throw std::invalid_argument(
"Object doesn't have z0");
154 return static_cast<int>(
hwZ0_);
159 throw std::invalid_argument(
"Object doesn't have isolationPT");
166 throw std::invalid_argument(
"Object doesn't have qualityFlags");
173 throw std::invalid_argument(
"Object doesn't have qualityScore");
180 throw std::invalid_argument(
"Object doesn't have charge");
187 throw std::invalid_argument(
"Object doesn't have d0");
189 return static_cast<int>(
hwD0_);
194 throw std::invalid_argument(
"Object doesn't have beta");
196 return static_cast<int>(
hwBeta_);
201 throw std::invalid_argument(
"Object doesn't have mass");
203 return static_cast<int>(
hwMass_);
208 throw std::invalid_argument(
"Object doesn't have index");
215 throw std::invalid_argument(
"Object doesn't have seed_pT");
222 throw std::invalid_argument(
"Object doesn't have seed_z0");
229 throw std::invalid_argument(
"Object doesn't have scalarSumPT");
236 throw std::invalid_argument(
"Object doesn't have number_of_tracks");
243 throw std::invalid_argument(
"Object doesn't have sum_pT_pv");
250 throw std::invalid_argument(
"Object doesn't have type");
252 return static_cast<int>(
hwType_);
257 throw std::invalid_argument(
"Object doesn't have number_of_tracks_in_pv");
264 throw std::invalid_argument(
"Object doesn't have hwNumber_of_tracks_not_in_pv");
344 #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
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
hwCharge_t hwCharge() const
bool isStandAloneMuon() const override
Optional< int > hwSeed_pT_
ap_uint< 16 > hwScalarSumPT_t
void setHwPT(hwPT_t hwPT)
bool isJet() const override
int hwQualityScore_toInt() const
bool isElectron() const override
hwQualityFlags_t hwQualityFlags() const
void setHwQualityScore(hwQualityScore_t hwQualityScore)
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
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
ap_uint< 4 > hwQualityFlags_t
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