|
|
Go to the documentation of this file.
6 : tauType_(kUndefined),
10 sumChargedIsoPileup_(0.),
13 passMediumIso_(
false),
15 passVLooseIso_(
false),
16 passTightRelIso_(
false),
17 passMediumRelIso_(
false),
18 passLooseRelIso_(
false),
19 passVLooseRelIso_(
false) {}
26 os <<
"pT = " << l1PFTau.
pt() <<
", eta = " << l1PFTau.
eta() <<
", phi = " << l1PFTau.
phi()
27 <<
" (type = " << l1PFTau.
tauType() <<
")" << std::endl;
28 os <<
"lead. ChargedPFCand:" << std::endl;
32 os <<
" N/A" << std::endl;
36 os <<
" chargedPFCand";
41 ex.
addContext(
"Calling HPSPFTau::operator <<");
42 ex.
addAdditionalInfo(
"This tau is not seed by either a chargedPFCand or a PFJet!");
46 os <<
"signalPFCands:" << std::endl;
50 os <<
"stripPFCands:" << std::endl;
54 os <<
"strip pT = " << l1PFTau.
strip_p4().pt() << std::endl;
55 os <<
"isolationPFCands:" << std::endl;
72 type_string =
"PFChargedHadron";
74 type_string =
"PFElectron";
76 type_string =
"PFNeutralHadron";
78 type_string =
"PFPhoton";
80 type_string =
"PFMuon";
83 os <<
" " << type_string <<
" with pT = " << l1PFCand.
pt() <<
", eta = " << l1PFCand.
eta()
84 <<
", phi = " << l1PFCand.
phi() <<
","
85 <<
" mass = " << l1PFCand.
mass() <<
", charge = " << l1PFCand.
charge();
86 if (l1PFCand.
charge() != 0 && primaryVertex_z != 0.) {
87 os <<
" (dz = " << std::fabs(l1PFCand.
pfTrack()->vertex().z() - primaryVertex_z) <<
")";
const reco::Particle::LorentzVector & strip_p4() const
float sumNeutralIso() const
const PFTrackRef & pfTrack() const
void addContext(std::string const &context)
const l1t::PFCandidateRefVector & stripAllL1PFCandidates() const
double pt() const final
transverse momentum
bool isPFJetSeeded() const
primaryVertex
hltOfflineBeamSpot for HLTMON
void printPFCand(ostream &os, const l1t::PFCandidate &l1PFCand, const l1t::TkPrimaryVertexRef &primaryVertex)
float sumChargedIso() const
const l1t::PFCandidateRefVector & isoAllL1PFCandidates() const
double mass() const final
mass
double eta() const final
momentum pseudorapidity
void addAdditionalInfo(std::string const &info)
bool isNonnull() const
Checks for non-null.
const l1t::PFCandidateRefVector & signalAllL1PFCandidates() const
float sumChargedIsoPileup() const
int charge() const final
electric charge
const l1t::TkPrimaryVertexRef & primaryVertex() const
bool isChargedPFCandSeeded() const
accessor functions for reco level quantities
double phi() const final
momentum azimuthal angle
HPSPFTau()
default constructor
const l1t::PFCandidateRef & leadChargedPFCand() const
~HPSPFTau() override
destructor
std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper &p)