|
|
Go to the documentation of this file.
59 stream <<
" Pt = " << this->
pt() <<
", eta = " << this->
eta() <<
", phi = " << this->
phi()
60 <<
" (mass = " << this->
mass() <<
")" << std::endl;
61 stream <<
" charge = " << this->
charge() <<
" (pdgId = " << this->
pdgId() <<
")" << std::endl;
62 stream <<
"charged PFCandidate";
69 stream <<
": N/A" << std::endl;
74 <<
", phi = " <<
track_->phi() << std::endl;
80 stream <<
"N/A" << std::endl;
82 stream <<
"neutral PFCandidates:";
86 for (std::vector<CandidatePtr>::const_iterator neutralPFCandidate =
neutralPFCandidates_.begin();
88 ++neutralPFCandidate) {
89 stream <<
" #" <<
idx <<
" (" << neutralPFCandidate->id() <<
":" << neutralPFCandidate->key() <<
"):"
90 <<
" Pt = " << (*neutralPFCandidate)->pt() <<
", eta = " << (*neutralPFCandidate)->eta()
91 <<
", phi = " << (*neutralPFCandidate)->phi() <<
" (pdgId = " << (*neutralPFCandidate)->pdgId() <<
")"
97 stream <<
"N/A" << std::endl;
105 algo_string =
"chargedPFCandidate";
107 algo_string =
"Track";
109 algo_string =
"PFNeutralHadron";
110 stream <<
"algo = " << algo_string << std::endl;
bool algoIs(PFRecoTauChargedHadronAlgorithm algo) const
Check whether a given algo produced this charged hadron.
void setPdgId(int pdgId) final
int Charge
electric charge type
const std::vector< CandidatePtr > & getNeutralPFCandidates() const
references to additional neutral PFCandidates
const TrackPtr & getTrack() const
reference to reco::Track
double pt() const final
transverse momentum
math::XYZPointF positionAtECALEntrance_
const math::XYZPointF & positionAtECALEntrance() const
position at ECAL entrance
virtual int charge() const =0
electric charge
const CandidatePtr & getChargedPFCandidate() const
reference to "charged" PFCandidate (either charged PFCandidate or PFNeutralHadron)
Structure Point Contains parameters of Gaussian fits to DMRs.
PFRecoTauChargedHadronAlgorithm
ProductID id() const
Accessor for product ID.
double mass() const final
mass
double eta() const final
momentum pseudorapidity
int pdgId() const final
PDG identifier.
std::ostream & operator<<(std::ostream &, BeamSpot beam)
int charge() const final
electric charge
std::vector< CandidatePtr > neutralPFCandidates_
void print(std::ostream &stream=std::cout) const
double phi() const final
momentum azimuthal angle
const CandidatePtr & getLostTrackCandidate() const
reference to "lostTrack Candidate" when chadron built with tracks stored as pat::PackedCandidates
PFRecoTauChargedHadronAlgorithm algo() const
Algorithm that built this charged hadron.
PFRecoTauChargedHadronAlgorithm algo_
bool isNonnull() const
Checks for non-null.
CandidatePtr lostTrackCandidate_
~PFRecoTauChargedHadron() override
destructor
math::XYZTLorentzVector LorentzVector
Lorentz vector.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
CandidatePtr chargedPFCandidate_