#include <MuScleFitMuonSelector.h>
|
const reco::Candidate * | getStatus1Muon (const reco::Candidate *status3Muon) |
|
const reco::Candidate * | getStatus3Muon (const reco::Candidate *status3Muon) |
|
| MuScleFitMuonSelector (const edm::InputTag &muonLabel, const int muonType, const bool PATmuons, const std::vector< int > &resfind, const bool speedup, const std::string &genParticlesName, const bool compareToSimTracks, const edm::InputTag &simTracksCollectionName, const bool sherpa, const bool debug) |
|
void | selectMuons (const edm::Event &event, std::vector< MuScleFitMuon > &muons, std::vector< GenMuonPair > &genPair, std::vector< std::pair< lorentzVector, lorentzVector > > &simPair, MuScleFitPlotter *plotter) |
| Main method used to select muons of type specified by muonType_ from the collection specified by muonLabel_ and PATmuons_. More...
|
|
| ~MuScleFitMuonSelector () |
|
|
template<typename T > |
std::vector< MuScleFitMuon > | fillMuonCollection (const std::vector< T > &tracks) |
| Template function used to convert the muon collection to a vector of reco::LeafCandidate. More...
|
|
GenMuonPair | findGenMuFromRes (const reco::GenParticleCollection *genParticles) |
|
GenMuonPair | findGenMuFromRes (const edm::HepMCProduct *evtMC) |
|
std::pair< lorentzVector,
lorentzVector > | findSimMuFromRes (const edm::Handle< edm::HepMCProduct > &evtMC, const edm::Handle< edm::SimTrackContainer > &simTracks) |
|
void | selectGeneratedMuons (const edm::Handle< pat::CompositeCandidateCollection > &collAll, const std::vector< const pat::Muon * > &collMuSel, std::vector< GenMuonPair > &genPair, MuScleFitPlotter *plotter) |
| For PATmuons the generator information is read directly from the PAT object. More...
|
|
void | selectGenSimMuons (const edm::Event &event, std::vector< GenMuonPair > &genPair, std::vector< std::pair< lorentzVector, lorentzVector > > &simPair, MuScleFitPlotter *plotter) |
|
void | selectSimulatedMuons (const edm::Event &event, const bool ifHepMC, edm::Handle< edm::HepMCProduct > evtMC, std::vector< std::pair< lorentzVector, lorentzVector > > &simPair, MuScleFitPlotter *plotter) |
|
bool | selGlobalMuon (const pat::Muon *aMuon) |
| Apply the Onia cuts to select globalMuons. More...
|
|
bool | selTrackerMuon (const pat::Muon *aMuon) |
| Apply the Onia cuts to select trackerMuons. More...
|
|
template<typename T > |
void | takeSelectedMuonType (const T &muon, std::vector< reco::Track > &tracks) |
| Template function used to extract the selected muon type from the muon collection. More...
|
|
|
static const double | mMu2 = 0.011163612 |
|
static const unsigned int | motherPdgIdArray [6] = {23, 100553, 100553, 553, 100443, 443} |
|
Definition at line 29 of file MuScleFitMuonSelector.h.
MuScleFitMuonSelector::MuScleFitMuonSelector |
( |
const edm::InputTag & |
muonLabel, |
|
|
const int |
muonType, |
|
|
const bool |
PATmuons, |
|
|
const std::vector< int > & |
resfind, |
|
|
const bool |
speedup, |
|
|
const std::string & |
genParticlesName, |
|
|
const bool |
compareToSimTracks, |
|
|
const edm::InputTag & |
simTracksCollectionName, |
|
|
const bool |
sherpa, |
|
|
const bool |
debug |
|
) |
| |
|
inline |
MuScleFitMuonSelector::~MuScleFitMuonSelector |
( |
| ) |
|
|
inline |
template<typename T >
std::vector<MuScleFitMuon> MuScleFitMuonSelector::fillMuonCollection |
( |
const std::vector< T > & |
tracks | ) |
|
|
inlineprotected |
Main method used to select muons of type specified by muonType_ from the collection specified by muonLabel_ and PATmuons_.
Definition at line 90 of file MuScleFitMuonSelector.cc.
bool MuScleFitMuonSelector::selGlobalMuon |
( |
const pat::Muon * |
aMuon | ) |
|
|
protected |
bool MuScleFitMuonSelector::selTrackerMuon |
( |
const pat::Muon * |
aMuon | ) |
|
|
protected |
template<typename T >
void MuScleFitMuonSelector::takeSelectedMuonType |
( |
const T & |
muon, |
|
|
std::vector< reco::Track > & |
tracks |
|
) |
| |
|
inlineprotected |
const bool MuScleFitMuonSelector::compareToSimTracks_ |
|
protected |
const bool MuScleFitMuonSelector::debug_ |
|
protected |
const std::string MuScleFitMuonSelector::genParticlesName_ |
|
protected |
const double MuScleFitMuonSelector::mMu2 = 0.011163612 |
|
staticprotected |
const unsigned int MuScleFitMuonSelector::motherPdgIdArray = {23, 100553, 100553, 553, 100443, 443} |
|
staticprotected |
const int MuScleFitMuonSelector::muonType_ |
|
protected |
const bool MuScleFitMuonSelector::PATmuons_ |
|
protected |
const std::vector<int> MuScleFitMuonSelector::resfind_ |
|
protected |
const bool MuScleFitMuonSelector::sherpa_ |
|
protected |
const edm::InputTag MuScleFitMuonSelector::simTracksCollectionName_ |
|
protected |
const bool MuScleFitMuonSelector::speedup_ |
|
protected |