10 sumChargedIsoPileup_(0.),
12 passMediumIso_(
false),
14 passVLooseIso_(
false),
15 passTightRelIso_(
false),
16 passMediumRelIso_(
false),
17 passLooseRelIso_(
false),
18 passVLooseRelIso_(
false) {}
25 os <<
"pT = " << l1PFTau.
pt() <<
", eta = " << l1PFTau.
eta() <<
", phi = " << l1PFTau.
phi()
26 <<
" (type = " << l1PFTau.
tauType() <<
")" << std::endl;
27 os <<
"lead. ChargedPFCand:" << std::endl;
31 os <<
" N/A" << std::endl;
35 os <<
" chargedPFCand";
40 ex.
addContext(
"Calling HPSPFTau::operator <<");
41 ex.
addAdditionalInfo(
"This tau is not seed by either a chargedPFCand or a PFJet!");
45 os <<
"signalPFCands:" << std::endl;
49 os <<
"stripPFCands:" << std::endl;
53 os <<
"strip pT = " << l1PFTau.
stripP4().pt() << std::endl;
54 os <<
"isolationPFCands:" << std::endl;
71 typeString =
"PFChargedHadron";
73 typeString =
"PFElectron";
75 typeString =
"PFNeutralHadron";
77 typeString =
"PFPhoton";
79 typeString =
"PFMuon";
82 os <<
" " << typeString <<
" with pT = " << l1PFCand.
pt() <<
", eta = " << l1PFCand.
eta()
83 <<
", phi = " << l1PFCand.
phi() <<
"," 84 <<
" mass = " << l1PFCand.
mass() <<
", charge = " << l1PFCand.
charge();
85 if (l1PFCand.
charge() != 0 && primaryVertexZ != 0.) {
86 os <<
" (dz = " << std::fabs(l1PFCand.
pfTrack()->vertex().z() - primaryVertexZ) <<
")";
const l1t::PFCandidateRefVector & isoAllL1PFCandidates() const
const l1t::PFCandidateRefVector & signalAllL1PFCandidates() const
double pt() const final
transverse momentum
float sumChargedIsoPileup() const
bool isNonnull() const
Checks for non-null.
void printPFCand(ostream &os, const l1t::PFCandidate &l1PFCand, const l1t::TkPrimaryVertexRef &primaryVertex)
float sumChargedIso() const
~HPSPFTau() override
destructor
void addAdditionalInfo(std::string const &info)
const l1t::TkPrimaryVertexRef & primaryVertex() const
std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper &p)
HPSPFTau()
default constructor
void addContext(std::string const &context)
float sumNeutralIso() const
double mass() const final
mass
const l1t::PFCandidateRefVector & stripAllL1PFCandidates() const
const reco::Particle::LorentzVector & stripP4() const
const PFTrackRef & pfTrack() const
bool isChargedPFCandSeeded() const
accessor functions for reco level quantities
const l1t::PFCandidateRef & leadChargedPFCand() const
double phi() const final
momentum azimuthal angle
primaryVertex
hltOfflineBeamSpot for HLTMON
int charge() const final
electric charge
double eta() const final
momentum pseudorapidity