#include <AlignmentMuonSelector.h>
Classes | |
struct | ComparePt |
compare two muons in pt (used by theNHighestPtMuons) More... | |
Public Types | |
typedef std::vector< const reco::Muon * > | Muons |
Public Member Functions | |
AlignmentMuonSelector (const edm::ParameterSet &cfg) | |
constructor More... | |
Muons | select (const Muons &muons, const edm::Event &evt) const |
select muons More... | |
~AlignmentMuonSelector () | |
destructor More... | |
Private Member Functions | |
Muons | basicCuts (const Muons &muons) const |
apply basic cuts on pt,eta,phi,nhit More... | |
Muons | theBestMassPairCombinationMuons (const Muons &muons) const |
filter only those muons giving best mass pair combination More... | |
Muons | theNHighestPtMuons (const Muons &muons) const |
filter the n highest pt muons More... | |
Private Attributes | |
bool | applyBasicCuts |
private data members More... | |
bool | applyMassPairFilter |
bool | applyMultiplicityFilter |
bool | applyNHighestPt |
double | chi2nMaxGB |
double | chi2nMaxSA |
double | chi2nMaxTO |
double | etaMax |
double | etaMin |
double | maxMassPair |
double | minMassPair |
int | minMultiplicity |
int | nHighestPt |
double | nHitMaxGB |
double | nHitMaxSA |
double | nHitMaxTO |
double | nHitMinGB |
double | nHitMinSA |
double | nHitMinTO |
double | phiMax |
double | phiMin |
double | pMax |
double | pMin |
ComparePt | ptComparator |
double | ptMax |
double | ptMin |
Definition at line 24 of file AlignmentMuonSelector.h.
typedef std::vector<const reco::Muon*> AlignmentMuonSelector::Muons |
Definition at line 29 of file AlignmentMuonSelector.h.
AlignmentMuonSelector::AlignmentMuonSelector | ( | const edm::ParameterSet & | cfg | ) |
constructor
Definition at line 10 of file AlignmentMuonSelector.cc.
References applyBasicCuts, applyMassPairFilter, applyMultiplicityFilter, applyNHighestPt, chi2nMaxGB, chi2nMaxSA, chi2nMaxTO, etaMax, etaMin, maxMassPair, minMassPair, minMultiplicity, nHighestPt, nHitMaxGB, nHitMaxSA, nHitMaxTO, nHitMinGB, nHitMinSA, nHitMinTO, phiMax, phiMin, pMax, pMin, ptMax, and ptMin.
AlignmentMuonSelector::~AlignmentMuonSelector | ( | ) |
|
private |
apply basic cuts on pt,eta,phi,nhit
Definition at line 105 of file AlignmentMuonSelector.cc.
References chi2nMaxGB, chi2nMaxSA, chi2nMaxTO, reco::Muon::combinedMuon(), reco::LeafCandidate::eta(), eta(), etaMax, etaMin, reco::Muon::isGlobalMuon(), reco::Muon::isStandAloneMuon(), reco::Muon::isTrackerMuon(), nHitMaxGB, nHitMaxSA, nHitMaxTO, nHitMinGB, nHitMinSA, nHitMinTO, reco::LeafCandidate::p(), AlCaHLTBitMon_ParallelJobs::p, phi, reco::LeafCandidate::phi(), phiMax, phiMin, pMax, pMin, reco::LeafCandidate::pt(), ptMax, ptMin, query::result, reco::Muon::standAloneMuon(), and reco::Muon::track().
Referenced by select().
AlignmentMuonSelector::Muons AlignmentMuonSelector::select | ( | const Muons & | muons, |
const edm::Event & | evt | ||
) | const |
select muons
Definition at line 75 of file AlignmentMuonSelector.cc.
References applyBasicCuts, applyMassPairFilter, applyMultiplicityFilter, applyNHighestPt, basicCuts(), minMultiplicity, patZpeak::muons, query::result, theBestMassPairCombinationMuons(), and theNHighestPtMuons().
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.AbstractView.AbstractView::restoreSelection(), and MuonConfigSelector::select().
|
private |
filter only those muons giving best mass pair combination
Definition at line 176 of file AlignmentMuonSelector.cc.
References scaleCards::mass, maxMassPair, minMassPair, patZpeak::muons, ptComparator, query::result, and python.multivaluedict::sort().
Referenced by select().
|
private |
filter the n highest pt muons
Definition at line 155 of file AlignmentMuonSelector.cc.
References patZpeak::muons, n, nHighestPt, ptComparator, query::result, and python.multivaluedict::sort().
Referenced by select().
|
private |
private data members
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 64 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 63 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 65 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 66 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and theBestMassPairCombinationMuons().
|
private |
Definition at line 66 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and theBestMassPairCombinationMuons().
|
private |
Definition at line 61 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 61 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and theNHighestPtMuons().
|
private |
Definition at line 64 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 63 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 65 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 64 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 63 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 65 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 57 of file AlignmentMuonSelector.h.
Referenced by theBestMassPairCombinationMuons(), and theNHighestPtMuons().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().