#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 18 of file Tau3MuReco.cc.
|
private |
Definition at line 76 of file Tau3MuReco.cc.
References getDeltaR(), LogDebug, m_kMatchingDeltaR, m_kMatchingPt, m_TrackCollection, and HLT_2018_cff::track.
Referenced by find3rdTrack().
bool Tau3MuReco::doTau3MuReco | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
reco::MuonCollection * | muonCollection, | ||
reco::TrackCollection * | trackCollection | ||
) |
Definition at line 20 of file Tau3MuReco.cc.
References find3rdTrack(), findCorrectPairing(), getInvariantMass(), iEvent, LogDebug, m_kMuonMass, m_kMuonSourceToken, m_kTauMass, m_kTauMassCut, m_kTrackSourceToken, m_MuonCollection, m_TrackCollection, HLT_2018_cff::muon, pdwgLeptonRecoSkim_cfi::muonCollection, PDWG_BPHSkim_cff::muons, removeIncorrectMuon(), duplicaterechits_cfi::trackCollection, and PDWG_EXOHSCP_cff::tracks.
Referenced by Tau3MuSkim::filter().
|
private |
Definition at line 92 of file Tau3MuReco.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, PixelTestBeamValidation_cfi::Charge, check4MuonTrack(), KineDebug3::count(), getDeltaR(), getInvariantMass(), LogDebug, m_kTauMass, m_kTauMassCut, m_TrackCollection, TrackCollections2monitor_cff::normalizedChi2, HLT_2018_cff::track, and gather_cfg::Tracks.
Referenced by doTau3MuReco().
|
private |
Definition at line 197 of file Tau3MuReco.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, PixelTestBeamValidation_cfi::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 282 of file Tau3MuReco.cc.
References HLT_2018_cff::dEta, HLT_2018_cff::dPhi, reco::TrackBase::eta(), reco::TrackBase::phi(), Pi, funct::pow(), and mathSSE::sqrt().
Referenced by check4MuonTrack(), find3rdTrack(), and removeIncorrectMuon().
|
private |
Definition at line 260 of file Tau3MuReco.cc.
References mps_fire::i, MuonMass, funct::pow(), mathSSE::sqrt(), and PDWG_EXOHSCP_cff::tracks.
Referenced by doTau3MuReco(), find3rdTrack(), and findCorrectPairing().
|
private |
Definition at line 237 of file Tau3MuReco.cc.
References getDeltaR(), m_TrackCollection, and groupFilesInBlocks::temp.
Referenced by doTau3MuReco().
|
private |
Definition at line 35 of file Tau3MuReco.h.
Referenced by check4MuonTrack().
|
private |
Definition at line 36 of file Tau3MuReco.h.
Referenced by check4MuonTrack().
|
private |
Definition at line 39 of file Tau3MuReco.h.
Referenced by doTau3MuReco().
|
private |
Definition at line 41 of file Tau3MuReco.h.
Referenced by doTau3MuReco().
|
private |
Definition at line 38 of file Tau3MuReco.h.
Referenced by doTau3MuReco(), find3rdTrack(), and findCorrectPairing().
|
private |
Definition at line 37 of file Tau3MuReco.h.
Referenced by doTau3MuReco(), find3rdTrack(), and findCorrectPairing().
|
private |
Definition at line 42 of file Tau3MuReco.h.
Referenced by doTau3MuReco().
|
private |
Definition at line 44 of file Tau3MuReco.h.
Referenced by doTau3MuReco(), and findCorrectPairing().
|
private |
Definition at line 45 of file Tau3MuReco.h.
Referenced by check4MuonTrack(), doTau3MuReco(), find3rdTrack(), findCorrectPairing(), and removeIncorrectMuon().