#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 26 of file AlignmentMuonSelector.h.
typedef std::vector<const reco::Muon*> AlignmentMuonSelector::Muons |
Definition at line 28 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 94 of file AlignmentMuonSelector.cc.
References chi2nMaxTO, reco::Muon::combinedMuon(), PVValHelper::eta, reco::LeafCandidate::eta(), 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(), phiMin, pMin, EnergyCorrector::pt, reco::LeafCandidate::pt(), ptMin, mps_fire::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 62 of file AlignmentMuonSelector.cc.
References applyBasicCuts, applyMassPairFilter, applyMultiplicityFilter, applyNHighestPt, basicCuts(), createfilelist::int, minMultiplicity, extraflags_cff::muons, mps_fire::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 160 of file AlignmentMuonSelector.cc.
References ResonanceBuilder::mass, maxMassPair, minMassPair, extraflags_cff::muons, ptComparator, and mps_fire::result.
Referenced by select().
|
private |
filter the n highest pt muons
Definition at line 139 of file AlignmentMuonSelector.cc.
References extraflags_cff::muons, gen::n, nHighestPt, ptComparator, and mps_fire::result.
Referenced by select().
|
private |
private data members
Definition at line 56 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 56 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 56 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 56 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector().
|
private |
Definition at line 59 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector().
|
private |
Definition at line 61 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and theBestMassPairCombinationMuons().
|
private |
Definition at line 62 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and theBestMassPairCombinationMuons().
|
private |
Definition at line 57 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and select().
|
private |
Definition at line 57 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and theNHighestPtMuons().
|
private |
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 59 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 61 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 60 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 59 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 61 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().
|
private |
Definition at line 53 of file AlignmentMuonSelector.h.
Referenced by theBestMassPairCombinationMuons(), and theNHighestPtMuons().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector().
|
private |
Definition at line 58 of file AlignmentMuonSelector.h.
Referenced by AlignmentMuonSelector(), and basicCuts().