#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, patZpeak::muons, edm::Handle< T >::product(), removeIncorrectMuon(), HLT_25ns14e33_v3_cff::trackCollection, and testEve_cfg::tracks.
Referenced by Tau3MuSkim::filter().
|
private |
Definition at line 108 of file Tau3MuReco.cc.
References RecoTauCleanerPlugins::charge, check4MuonTrack(), prof2calltree::count, getDeltaR(), getInvariantMass(), LogDebug, m_kTauMass, m_kTauMassCut, and m_TrackCollection.
Referenced by doTau3MuReco().
|
private |
Definition at line 216 of file Tau3MuReco.cc.
References funct::abs(), RecoTauCleanerPlugins::charge, Combinatorics::GetCombinations(), getInvariantMass(), i, LogDebug, m_kTauMass, m_kTauMassCut, m_MuonCollection, and m_TrackCollection.
Referenced by doTau3MuReco().
|
private |
Definition at line 308 of file Tau3MuReco.cc.
References 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 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().