10 for (
size_t i = 0;
i < nDaughters; ++
i) {
20 for (
size_t i = 0;
i < nDaughters; ++
i) {
30 for (
size_t i = 0;
i < nDaughters; ++
i) {
41 for (
size_t i = 0;
i < nDaughters; ++
i) {
58 return "PFChargedHadron";
66 return "PFNeutralHadron";
77 std::cout <<
"Pt = " << this->
pt() <<
", eta = " << this->
eta() <<
", phi = " << this->
phi() << std::endl;
79 for (
size_t iDaughter = 0; iDaughter < numDaughters; ++iDaughter) {
81 std::cout <<
" daughter #" << iDaughter <<
" (" << getPFCandidateType(
daughter->particleId()) <<
"):" PiZeroAlgorithm algo() const
Algorithm that built this piZero.
constexpr double deltaPhi(double phi1, double phi2)
virtual CandidatePtr daughterPtr(size_type i) const
reference to daughter at given position
ParticleType
particle types
double pt() const final
transverse momentum
double maxDeltaEta() const
Maxmum DeltaEta between a constituent and the four vector.
virtual double pt() const =0
transverse momentum
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void print(std::ostream &out=std::cout) const
int pdgId() const final
PDG identifier.
size_t numberOfGammas() const
Number of PFGamma constituents.
std::ostream & operator<<(std::ostream &, BeamSpot beam)
double maxDeltaPhi() const
Maximum DeltaPhi between a constituent and the four vector.
size_t numberOfElectrons() const
Number of electron constituents.
Abs< T >::type abs(const T &t)
PiZeroAlgorithm algoName_
T const * get() const
Returns C++ pointer to the item.
size_t numberOfDaughters() const override
number of daughters
Particle reconstructed by the particle flow algorithm.
bool algoIs(PiZeroAlgorithm algo) const
Check whether a given algo produced this pi zero.
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
double phi() const final
momentum azimuthal angle
virtual double phi() const =0
momentum azimuthal angle
virtual double eta() const =0
momentum pseudorapidity
double eta() const final
momentum pseudorapidity