Definition at line 148 of file PatBJetVertexAnalyzer.cc.
References funct::abs(), ALL_JETS, B_JETS, C_JETS, PatBJetVertexAnalyzer::Plots::chi2, reco::Vertex::chi2(), DEFINE_FWK_MODULE, deltaR(), HiRegitMuonDetachedTripletStep_cff::DeltaR, PatBJetVertexAnalyzer::Plots::deltaR, dir, GetRecoTauVFromDQM_MC_cff::dir2, PatBJetVertexAnalyzer::Plots::dist, SoftLeptonByDistance_cfi::distance, PatBJetVertexAnalyzer::Plots::distErr, PatBJetVertexAnalyzer::Plots::distSig, Measurement1D::error(), GenHFHadronMatcher_cff::flavour, flavours_, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDirection(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDistance(), metsig::jet, jetEtaCut_, jetPtCut_, jetsToken_, PatBJetVertexAnalyzer::Plots::mass, NONID_JETS, PatBJetVertexAnalyzer::Plots::nTracks, PatBJetVertexAnalyzer::Plots::nVertices, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), plots_, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), Measurement1D::significance(), HiIsolationCommonParameters_cff::track, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), UDSG_JETS, Measurement1D::value(), reco::btau::vertexMass, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
155 for(pat::JetCollection::const_iterator
jet = jetsHandle->begin();
156 jet != jetsHandle->end(); ++
jet) {
190 *
jet->tagInfoSecondaryVertex();
243 ROOT::Math::LorentzVector<ROOT::Math::PxPyPzM4D<double> > vec;
244 vec.SetPx((*track)->px());
245 vec.SetPy((*track)->py());
246 vec.SetPz((*track)->pz());
248 trackFourVectorSum += vec;
trackRef_iterator tracks_end() const
last iterator over tracks
const VTX & secondaryVertex(unsigned int index) const
edm::EDGetTokenT< pat::JetCollection > jetsToken_
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
struct PatBJetVertexAnalyzer::Plots plots_[N_JET_TYPES]
Abs< T >::type abs(const T &t)
double chi2() const
chi-squares
const GlobalVector & flightDirection(unsigned int index) const
double deltaR(double eta1, double eta2, double phi1, double phi2)
unsigned int nVertices() const
double significance() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Measurement1D flightDistance(unsigned int index, int dim=0) const
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
trackRef_iterator tracks_begin() const
first iterator over tracks
size_t tracksSize() const
number of tracks