12 if( isoQCuts.useTracksInsteadOfPF )
16 isoQCuts.minTrackPixelHits,
17 isoQCuts.minTrackHits,
18 isoQCuts.maxTransverseImpactParameter,
19 isoQCuts.maxTrackChi2,
24 size_t nTracks = result.
size();
25 for(
size_t iTrack = 0; iTrack < nTracks; ++iTrack)
28 int charge = result[iTrack]->charge();
37 isoQCuts.minTrackPixelHits,
38 isoQCuts.minTrackHits,
39 isoQCuts.maxTransverseImpactParameter,
40 isoQCuts.maxTrackChi2,
46 for(
unsigned int i=0;
i<preresult.
size();++
i)
66 isoQCuts.minGammaEt,0,0,1000.,100000,
72 for(
unsigned int i=0;
i<preresult.
size();++
i)
91 for(
size_t iGamma = 0; iGamma <
nGammas; ++iGamma)
105 if( signalQCuts.useTracksInsteadOfPF )
108 signalQCuts.minTrackPt,
109 signalQCuts.minTrackPixelHits,
110 signalQCuts.minTrackHits,
111 signalQCuts.maxTransverseImpactParameter,
112 signalQCuts.maxTrackChi2,
113 signalQCuts.maxDeltaZ,
117 size_t nTracks = result.
size();
118 for(
size_t iTrack = 0; iTrack < nTracks; ++iTrack)
121 int charge = result[iTrack]->charge();
132 signalQCuts.minTrackPt,
133 signalQCuts.minTrackPixelHits,
134 signalQCuts.minTrackHits,
135 signalQCuts.maxTransverseImpactParameter,
136 signalQCuts.maxTrackChi2,
142 for(
unsigned int i=0;
i<preresult.
size();++
i)
162 for(
size_t iGamma = 0; iGamma <
nGammas; ++iGamma)
unsigned int nGammas(const GenJet &jet)
void isolationGammaObjects(const reco::PFTau &, std::vector< reco::LeafCandidate > &)
retrieve filtered isolation gamma objects from the pfTau
void signalChargedObjects(const reco::PFTau &, const reco::Vertex &, std::vector< reco::LeafCandidate > &)
retrieve filtered signal charged objects from the pfTau
virtual const reco::TrackRefVector & isolationTracks() const
void isolationChargedObjects(const reco::PFTau &, const reco::Vertex &, std::vector< reco::LeafCandidate > &)
retrieve filtered isolation charged objects from the pfTau
const PFCandidateRefVector & signalPFChargedHadrCands() const
Charged hadrons in signal region.
const Point & position() const
position
bool isNonnull() const
Checks for non-null.
void signalGammaObjects(const reco::PFTau &, std::vector< reco::LeafCandidate > &)
retrieve filtered signal gamma objects from the pfTau
void isolationPUObjects(const reco::PFTau &, const reco::Vertex &, std::vector< reco::LeafCandidate > &)
float trackWeight(const TrackBaseRef &r) const
returns the weight with which a Track has contributed to the vertex-fit.
const PFCandidateRefVector & isolationPFGammaCands() const
Gamma candidates in isolation region.
virtual const reco::TrackRefVector & signalTracks() const
const PFCandidateRefVector & signalPFGammaCands() const
Gamma candidates in signal region.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
value_type const at(size_type idx) const
Retrieve an element of the RefVector.
size_type size() const
Size of the RefVector.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
const PFCandidateRefVector & isolationPFChargedHadrCands() const
Charged candidates in isolation region.