222 if( muonRef.
isNull() )
return false;
223 else if( muonRef.
isNonnull() )
return true;
251 out <<
"Its TauTagInfo constituents :"<<std::endl;
253 out<<
"# PF charged hadr. cand's "<<
pfTauTagInfoRef()->PFChargedHadrCands().size()<<std::endl;
254 out<<
"# PF neutral hadr. cand's "<<
pfTauTagInfoRef()->PFNeutrHadrCands().size()<<std::endl;
255 out<<
"# PF gamma cand's "<<
pfTauTagInfoRef()->PFGammaCands().size()<<std::endl;
257 if (
jetRef().isNonnull()) {
258 out <<
"Its constituents :"<< std::endl;
259 out<<
"# PF charged hadr. cand's "<<
jetRef()->chargedHadronMultiplicity()<<std::endl;
260 out<<
"# PF neutral hadr. cand's "<<
jetRef()->neutralHadronMultiplicity()<<std::endl;
261 out<<
"# PF gamma cand's "<<
jetRef()->photonMultiplicity()<<std::endl;
262 out<<
"# Electron cand's "<<
jetRef()->electronMultiplicity()<<std::endl;
264 out<<
"in detail :"<<std::endl;
266 out<<
"Pt of the PFTau "<<
pt()<<std::endl;
269 out<<
"No Lead PFCand "<<std::endl;
271 out<<
"Lead PFCand Particle Id " << (*theLeadPFCand).particleId() << std::endl;
272 out<<
"Lead PFCand Pt "<<(*theLeadPFCand).pt()<<std::endl;
273 out<<
"Lead PFCand Charge "<<(*theLeadPFCand).charge()<<std::endl;
274 out<<
"Lead PFCand TrkRef "<<(*theLeadPFCand).trackRef().isNonnull()<<std::endl;
275 out<<
"Inner point position (x,y,z) of the PFTau ("<<
vx()<<
","<<
vy()<<
","<<
vz()<<
")"<<std::endl;
276 out<<
"Charge of the PFTau "<<
charge()<<std::endl;
293 out << std::setprecision(3)
295 <<
" charge: " << tau.
charge() <<
" "
296 <<
" pt:" <<tau.
pt()<<
" "
297 <<
" eta:" <<tau.
eta()<<
" "
298 <<
" phi:" <<tau.
phi()<<
" "
299 <<
" mass:" << tau.
mass() <<
" "
float ecalStripSumEOverPLead_
bool hasMuonReference() const
float maximumHCALPFClusterEt() const
Et of the highest Et HCAL PFCluster.
int Charge
electric charge type
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
std::vector< reco::PFCandidatePtr > selectedIsolationPFNeutrHadrCands_
RecoTauPiZeroRefVector signalPiZeroCandidatesRefs_
void setMuonDecision(const bool &)
std::vector< reco::RecoTauPiZero > isolationPiZeroCandidates_
void setelectronPreIDOutput(const float &)
float isolationPFGammaCandsEtSum() const
std::vector< reco::PFCandidatePtr > selectedSignalPFCands_
bool isNonnull() const
Checks for non-null.
const PFJetRef & jetRef() const
const std::vector< reco::PFCandidatePtr > & isolationPFCands() const
PFCandidates in isolation region.
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
float isolationPFChargedHadrCandsPtSum() const
void setleadPFChargedHadrCand(const PFCandidatePtr &)
void setleadPFNeutralCand(const PFCandidatePtr &)
const PFCandidatePtr & leadPFChargedHadrCand() const
void setelectronPreIDDecision(const bool &)
std::vector< reco::PFRecoTauChargedHadron > signalTauChargedHadronCandidates_
float hcalTotOverPLead() const
bool electronPreIDDecision_
float maximumHCALPFClusterEt_
void setisolationPFCands(const std::vector< reco::PFCandidatePtr > &)
bool electronPreIDDecision() const
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
Gamma candidates in signal region.
float isolationPFChargedHadrCandsPtSum_
std::vector< reco::PFRecoTauChargedHadron > isolationTauChargedHadronCandidates_
float hcal3x3OverPLead() const
std::vector< reco::RecoTauPiZero > signalPiZeroCandidates_
reco::PFCandidatePtr leadPFNeutralCand_
std::vector< reco::PFCandidatePtr > selectedSignalPFGammaCands_
void sethcal3x3OverPLead(const float &)
void setisolationPFGammaCandsEtSum(const float &)
void setIsolationTauChargedHadronCandidates(const std::vector< PFRecoTauChargedHadron > &)
virtual double vy() const
y coordinate of vertex position
void setemFraction(const float &)
PFRecoTauChargedHadronRefVector isolationTauChargedHadronCandidatesRefs_
const std::vector< reco::PFCandidatePtr > & signalPFCands() const
PFCandidates in signal region.
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
Gamma candidates in isolation region.
virtual reco::TrackRef track() const
reference to a Track
void setisolationPFNeutrHadrCands(const std::vector< reco::PFCandidatePtr > &)
bool muonDecision() const
hadronicDecayMode decayMode() const
void setsignalPFChargedHadrCands(const std::vector< reco::PFCandidatePtr > &)
virtual double mass() const
mass
void dump(std::ostream &out=std::cout) const
prints information on this PFTau
void setjetRef(const PFJetRef &)
CandidatePtr sourceCandidatePtr(size_type i) const
void setsignalPiZeroCandidates(const std::vector< RecoTauPiZero > &)
std::ostream & operator<<(std::ostream &, BeamSpot beam)
float leadPFChargedHadrCandsignedSipt_
PFRecoTauChargedHadronRef leadTauChargedHadronCandidate() const
const std::vector< RecoTauPiZero > & signalPiZeroCandidates() const
Retrieve the association of signal region gamma candidates into candidate PiZeros.
RecoTauPiZeroRefVector isolationPiZeroCandidatesRefs_
void setIsolationPiZeroCandidatesRefs(const RecoTauPiZeroRefVector &)
void setDecayMode(const hadronicDecayMode &)
void setleadPFCand(const PFCandidatePtr &)
void setCaloComp(const float &)
void setSignalTauChargedHadronCandidatesRefs(const PFRecoTauChargedHadronRefVector &)
virtual int charge() const
electric charge
bool isNull() const
Checks for null.
void setisolationPFChargedHadrCandsPtSum(const float &)
void setleadPFChargedHadrCandsignedSipt(const float &)
void setsignalPFCands(const std::vector< reco::PFCandidatePtr > &)
hadronicDecayMode decayMode_
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
virtual double vz() const
z coordinate of vertex position
void setisolationPiZeroCandidates(const std::vector< RecoTauPiZero > &)
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
Charged candidates in isolation region.
float leadPFChargedHadrCandsignedSipt() const
bool isNull() const
Checks for null.
void setbremsRecoveryEOverPLead(const float &)
bool isNonnull() const
Checks for non-null.
const std::vector< RecoTauPiZero > & isolationPiZeroCandidates() const
Retrieve the association of isolation region gamma candidates into candidate PiZeros.
const PFTauTagInfoRef & pfTauTagInfoRef() const
const PFCandidatePtr & leadPFNeutralCand() const
void sethcalMaxOverPLead(const float &)
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
void setIsolationTauChargedHadronCandidatesRefs(const PFRecoTauChargedHadronRefVector &)
void setisolationPFGammaCands(const std::vector< reco::PFCandidatePtr > &)
void setSegComp(const float &)
PFTau * clone() const
returns a clone of the Candidate object
void setsignalPFGammaCands(const std::vector< reco::PFCandidatePtr > &)
reco::PFCandidatePtr leadPFChargedHadrCand_
void setSignalTauChargedHadronCandidates(const std::vector< PFRecoTauChargedHadron > &)
const PFCandidatePtr & leadPFCand() const
void setisolationPFChargedHadrCands(const std::vector< reco::PFCandidatePtr > &)
float bremsRecoveryEOverPLead() const
float bremsRecoveryEOverPLead_
edm::Ref< PFRecoTauChargedHadronCollection > PFRecoTauChargedHadronRef
presistent reference to a PFRecoTauChargedHadron
math::XYZTLorentzVector LorentzVector
Lorentz vector.
PFTauTagInfoRef PFTauTagInfoRef_
float electronPreIDOutput_
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
Neutral hadrons in signal region.
virtual bool overlap(const Candidate &) const
check overlap with another candidate
std::vector< reco::PFCandidatePtr > selectedSignalPFChargedHadrCands_
void setSignalPiZeroCandidatesRefs(const RecoTauPiZeroRefVector &)
void setmaximumHCALPFClusterEt(const float &)
std::vector< reco::PFCandidatePtr > selectedIsolationPFChargedHadrCands_
std::vector< reco::PFCandidatePtr > selectedIsolationPFCands_
void setecalStripSumEOverPLead(const float &)
PFRecoTauChargedHadronRefVector signalTauChargedHadronCandidatesRefs_
virtual double vx() const
x coordinate of vertex position
size_type size() const
Size of the RefVector.
const std::vector< PFRecoTauChargedHadron > & signalTauChargedHadronCandidates() const
Retrieve the association of signal region PF candidates into candidate PFRecoTauChargedHadrons.
math::XYZPoint Point
point in the space
void sethcalTotOverPLead(const float &)
reco::PFCandidatePtr leadPFCand_
std::vector< reco::PFCandidatePtr > selectedIsolationPFGammaCands_
const std::vector< PFRecoTauChargedHadron > & isolationTauChargedHadronCandidates() const
Retrieve the association of isolation region PF candidates into candidate PFRecoTauChargedHadron.
void setelectronPreIDTrack(const reco::TrackRef &)
float hcalMaxOverPLead() const
float electronPreIDOutput() const
reco::TrackRef electronPreIDTrack() const
virtual double phi() const
momentum azimuthal angle
void setsignalPFNeutrHadrCands(const std::vector< reco::PFCandidatePtr > &)
reco::TrackRef electronPreIDTrack_
float isolationPFGammaCandsEtSum_
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
Charged hadrons in signal region.
float ecalStripSumEOverPLead() const
std::vector< reco::PFCandidatePtr > selectedSignalPFNeutrHadrCands_
void setpfTauTagInfoRef(const PFTauTagInfoRef)