#include <Tau3MuReco.h>
Public Member Functions | |
bool | doTau3MuReco (const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::MuonCollection *muonCollection, reco::TrackCollection *trackCollection) |
Tau3MuReco (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
~Tau3MuReco () | |
Private Member Functions | |
bool | check4MuonTrack (const reco::Track &track) |
bool | find3rdTrack (const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::TrackCollection &Tracks) |
bool | findCorrectPairing () |
double | getDeltaR (const reco::Track &track1, const reco::Track &track2) |
double | getInvariantMass (const reco::TrackCollection *tracks, const double MuonMass=0.106) |
bool | removeIncorrectMuon () |
Private Attributes | |
const double | m_kMatchingDeltaR |
const double | m_kMatchingPt |
const double | m_kMuonMass |
const edm::EDGetTokenT< reco::MuonCollection > | m_kMuonSourceToken |
const double | m_kTauMass |
const double | m_kTauMassCut |
const edm::EDGetTokenT< reco::TrackCollection > | m_kTrackSourceToken |
reco::MuonCollection * | m_MuonCollection |
reco::TrackCollection * | m_TrackCollection |
Definition at line 13 of file Tau3MuReco.h.
Tau3MuReco::Tau3MuReco | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 9 of file Tau3MuReco.cc.
Tau3MuReco::~Tau3MuReco | ( | ) |
Definition at line 19 of file Tau3MuReco.cc.
|
private |
Definition at line 86 of file Tau3MuReco.cc.
References reco::TrackBase::charge(), getDeltaR(), LogDebug, m_kMatchingDeltaR, m_kMatchingPt, m_TrackCollection, and reco::TrackBase::pt().
Referenced by find3rdTrack().
bool Tau3MuReco::doTau3MuReco | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
reco::MuonCollection * | muonCollection, | ||
reco::TrackCollection * | trackCollection | ||
) |
Definition at line 24 of file Tau3MuReco.cc.
References find3rdTrack(), findCorrectPairing(), edm::Event::getByToken(), getInvariantMass(), LogDebug, m_kMuonMass, m_kMuonSourceToken, m_kTauMass, m_kTauMassCut, m_kTrackSourceToken, m_MuonCollection, m_TrackCollection, metsig::muon, HiRecoMuon_cff::muonCollection, extraflags_cff::muons, edm::Handle< T >::product(), removeIncorrectMuon(), findElectronsInSiStrips_cfi::trackCollection, and l1t::tracks.
Referenced by Tau3MuSkim::filter().
|
private |
Definition at line 108 of file Tau3MuReco.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, check4MuonTrack(), KineDebug3::count(), getDeltaR(), getInvariantMass(), LogDebug, m_kTauMass, m_kTauMassCut, m_TrackCollection, and HiIsolationCommonParameters_cff::track.
Referenced by doTau3MuReco().
|
private |
Definition at line 216 of file Tau3MuReco.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, Combinatorics::GetCombinations(), getInvariantMass(), mps_fire::i, createfilelist::int, LogDebug, m_kTauMass, m_kTauMassCut, m_MuonCollection, and m_TrackCollection.
Referenced by doTau3MuReco().
|
private |
Definition at line 308 of file Tau3MuReco.cc.
References particleFlow_cfi::dEta, particleFlow_cfi::dPhi, reco::TrackBase::eta(), reco::TrackBase::phi(), Pi, funct::pow(), and mathSSE::sqrt().
Referenced by check4MuonTrack(), find3rdTrack(), and removeIncorrectMuon().
|
private |
Definition at line 284 of file Tau3MuReco.cc.
References mps_fire::i, funct::pow(), and mathSSE::sqrt().
Referenced by doTau3MuReco(), find3rdTrack(), and findCorrectPairing().
|
private |
Definition at line 259 of file Tau3MuReco.cc.
References getDeltaR(), m_TrackCollection, and groupFilesInBlocks::temp.
Referenced by doTau3MuReco().
|
private |
Definition at line 30 of file Tau3MuReco.h.
Referenced by check4MuonTrack().
|
private |
Definition at line 31 of file Tau3MuReco.h.
Referenced by check4MuonTrack().
|
private |
Definition at line 34 of file Tau3MuReco.h.
Referenced by doTau3MuReco().
|
private |
Definition at line 36 of file Tau3MuReco.h.
Referenced by doTau3MuReco().
|
private |
Definition at line 33 of file Tau3MuReco.h.
Referenced by doTau3MuReco(), find3rdTrack(), and findCorrectPairing().
|
private |
Definition at line 32 of file Tau3MuReco.h.
Referenced by doTau3MuReco(), find3rdTrack(), and findCorrectPairing().
|
private |
Definition at line 37 of file Tau3MuReco.h.
Referenced by doTau3MuReco().
|
private |
Definition at line 39 of file Tau3MuReco.h.
Referenced by doTau3MuReco(), and findCorrectPairing().
|
private |
Definition at line 40 of file Tau3MuReco.h.
Referenced by check4MuonTrack(), doTau3MuReco(), find3rdTrack(), findCorrectPairing(), and removeIncorrectMuon().