1 #ifndef DataFormats_L1Trigger_P2GTCandidate_h 2 #define DataFormats_L1Trigger_P2GTCandidate_h 126 throw std::invalid_argument(
"Object doesn't have pT");
128 return static_cast<int>(
hwPT_);
133 throw std::invalid_argument(
"Object doesn't have phi");
135 return static_cast<int>(
hwPhi_);
140 throw std::invalid_argument(
"Object doesn't have eta");
142 return static_cast<int>(
hwEta_);
147 throw std::invalid_argument(
"Object doesn't have z0");
149 return static_cast<int>(
hwZ0_);
154 throw std::invalid_argument(
"Object doesn't have iso");
156 return static_cast<int>(
hwIso_);
161 throw std::invalid_argument(
"Object doesn't have qual");
163 return static_cast<int>(
hwQual_);
168 throw std::invalid_argument(
"Object doesn't have charge");
175 throw std::invalid_argument(
"Object doesn't have d0");
177 return static_cast<int>(
hwD0_);
182 throw std::invalid_argument(
"Object doesn't have beta");
184 return static_cast<int>(
hwBeta_);
189 throw std::invalid_argument(
"Object doesn't have mass");
191 return static_cast<int>(
hwMass_);
196 throw std::invalid_argument(
"Object doesn't have index");
203 throw std::invalid_argument(
"Object doesn't have seed_pT");
210 throw std::invalid_argument(
"Object doesn't have seed_z0");
217 throw std::invalid_argument(
"Object doesn't have sca_sum");
224 throw std::invalid_argument(
"Object doesn't have number_of_tracks");
231 throw std::invalid_argument(
"Object doesn't have sum_pT_pv");
238 throw std::invalid_argument(
"Object doesn't have type");
240 return static_cast<int>(
hwType_);
245 throw std::invalid_argument(
"Object doesn't have number_of_tracks_in_pv");
252 throw std::invalid_argument(
"Object doesn't have hwNumber_of_tracks_not_in_pv");
309 #endif // DataFormats_L1Trigger_P2GTCandidate_h ap_uint< 5 > hwNumber_of_tracks_t
void setHwD0(hwD0_t hwD0)
void setHwType(hwType_t hwType)
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
void setHwIso(hwIso_t hwIso)
void setHwNumber_of_tracks_in_pv(hwNumber_of_tracks_in_pv_t hwNumber_of_tracks_in_pv)
Optional< int > hwSeed_z0_
edm::Ref< P2GTCandidateCollection > P2GTCandidateRef
void setHwSum_pT_pv(hwSum_pT_pv_t hwSum_pT_pv)
Optional< int > hwCharge_
ObjectType objectType() const
void setHwSca_sum(hwSca_sum_t hwSca_sum)
bool isTrackerMuon() const override
ap_uint< 8 > hwNumber_of_tracks_in_pv_t
void setHwEta(hwEta_t hwEta)
void setHwMass(hwMass_t hwMass)
hwCharge_t hwCharge() const
bool isStandAloneMuon() const override
Optional< int > hwSeed_pT_
void setHwPT(hwPT_t hwPT)
hwSca_sum_t hwSca_sum() const
bool isJet() const override
void setHwQual(hwQual_t hwQual)
bool isElectron() const override
void setHwSeed_z0(hwSeed_z0_t hwSeed_z0)
ap_uint< 10 > hwNumber_of_tracks_not_in_pv_t
Optional< int > hwNumber_of_tracks_
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)
bool operator==(const P2GTCandidate &rhs) const
hwSeed_pT_t hwSeed_pT() const
ap_uint< 16 > hwSca_sum_t
std::vector< P2GTCandidateRef > P2GTCandidateVectorRef
void setHwIndex(hwIndex_t hwIndex)
ap_uint< 12 > hwSum_pT_pv_t
edm::RefVector< P2GTCandidateCollection > P2GTCandidateRefVector
hwIndex_t hwIndex() const
Optional< int > hwSum_pT_pv_
hwSeed_z0_t hwSeed_z0() const
Optional< int > hwNumber_of_tracks_not_in_pv_
hwNumber_of_tracks_t hwNumber_of_tracks() const
hwNumber_of_tracks_not_in_pv_t hwNumber_of_tracks_not_in_pv() const
void setHwCharge(hwCharge_t hwCharge)
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)
bool operator==(bool rhs) const
Optional< int > hwSca_sum_
bool isMuon() const override
bool operator!=(bool rhs) const