#include <AlignmentGlobalTrackSelector.h>
Public Types | |
typedef std::vector< const reco::Track * > | Tracks |
Public Member Functions | |
AlignmentGlobalTrackSelector (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
constructor More... | |
Tracks | select (const Tracks &tracks, const edm::Event &iEvent, const edm::EventSetup &eSetup) |
select tracks More... | |
bool | useThisFilter () |
returns if any of the Filters is used. More... | |
~AlignmentGlobalTrackSelector () | |
destructor More... | |
Private Member Functions | |
Tracks | checkIsolation (const Tracks &cands, const edm::Event &iEvent) const |
returns only isolated tracks in [cands] More... | |
Tracks | checkJetCount (const Tracks &cands, const edm::Event &iEvent) const |
returns [tracks] if there are less than theMaxCount Jets with theMinJetPt and an empty set if not More... | |
Tracks | findMuons (const Tracks &tracks, const edm::Event &iEvent) const |
filter for Tracks that match the Track of a global Muon More... | |
Tracks | matchTracks (const Tracks &src, const Tracks &comp) const |
matches [src] with [comp] returns collection with matching Tracks coming from [src] More... | |
void | printTracks (const Tracks &col) const |
print Information on Track-Collection More... | |
Private Attributes | |
edm::ParameterSet | theConf |
private data members More... | |
bool | theGMFilterSwitch |
bool | theIsoFilterSwitch |
bool | theJetCountFilterSwitch |
edm::EDGetTokenT< reco::CaloJetCollection > | theJetCountToken |
edm::EDGetTokenT< reco::CaloJetCollection > | theJetIsoToken |
int | theMaxJetCount |
double | theMaxJetPt |
double | theMaxTrackDeltaR |
int | theMinGlobalMuonCount |
int | theMinIsolatedCount |
double | theMinJetDeltaR |
double | theMinJetPt |
edm::EDGetTokenT< reco::MuonCollection > | theMuonToken |
Definition at line 22 of file AlignmentGlobalTrackSelector.h.
typedef std::vector<const reco::Track*> AlignmentGlobalTrackSelector::Tracks |
Definition at line 24 of file AlignmentGlobalTrackSelector.h.
AlignmentGlobalTrackSelector::AlignmentGlobalTrackSelector | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
constructor
Definition at line 28 of file AlignmentGlobalTrackSelector.cc.
References edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), LogDebug, theGMFilterSwitch, theIsoFilterSwitch, theJetCountFilterSwitch, theJetCountToken, theJetIsoToken, theMaxJetCount, theMaxJetPt, theMaxTrackDeltaR, theMinGlobalMuonCount, theMinIsolatedCount, theMinJetDeltaR, theMinJetPt, and theMuonToken.
AlignmentGlobalTrackSelector::~AlignmentGlobalTrackSelector | ( | ) |
|
private |
returns only isolated tracks in [cands]
Definition at line 125 of file AlignmentGlobalTrackSelector.cc.
References boostedElectronIsolation_cff::deltaR, edm::Event::getByToken(), GlobalTrackerMuonAlignment_cfi::isolated, edm::HandleBase::isValid(), fwrapper::jets, mps_fire::result, theJetIsoToken, theMaxJetPt, theMinIsolatedCount, and theMinJetDeltaR.
Referenced by select().
|
private |
returns [tracks] if there are less than theMaxCount Jets with theMinJetPt and an empty set if not
Definition at line 155 of file AlignmentGlobalTrackSelector.cc.
References edm::Event::getByToken(), edm::HandleBase::isValid(), fwrapper::jets, LogDebug, mps_fire::result, theJetCountToken, theMaxJetCount, theMinJetPt, and l1t::tracks.
Referenced by select().
|
private |
filter for Tracks that match the Track of a global Muon
Definition at line 92 of file AlignmentGlobalTrackSelector.cc.
References edm::Event::getByToken(), globalMuons_cfi::globalMuons, edm::HandleBase::isValid(), LogDebug, matchTracks(), extraflags_cff::muons, mps_fire::result, theMinGlobalMuonCount, and theMuonToken.
Referenced by select().
|
private |
matches [src] with [comp] returns collection with matching Tracks coming from [src]
Definition at line 184 of file AlignmentGlobalTrackSelector.cc.
References boostedElectronIsolation_cff::deltaR, mps_fire::i, match(), min(), mps_fire::result, and theMaxTrackDeltaR.
Referenced by findMuons().
|
private |
print Information on Track-Collection
Definition at line 204 of file AlignmentGlobalTrackSelector.cc.
References KineDebug3::count(), and LogDebug.
AlignmentGlobalTrackSelector::Tracks AlignmentGlobalTrackSelector::select | ( | const Tracks & | tracks, |
const edm::Event & | iEvent, | ||
const edm::EventSetup & | eSetup | ||
) |
select tracks
Definition at line 73 of file AlignmentGlobalTrackSelector.cc.
References checkIsolation(), checkJetCount(), findMuons(), LogDebug, mps_fire::result, theGMFilterSwitch, theIsoFilterSwitch, theJetCountFilterSwitch, and l1t::tracks.
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 TrackConfigSelector::select().
bool AlignmentGlobalTrackSelector::useThisFilter | ( | ) |
returns if any of the Filters is used.
Definition at line 68 of file AlignmentGlobalTrackSelector.cc.
References theGMFilterSwitch, theIsoFilterSwitch, and theJetCountFilterSwitch.
Referenced by TrackConfigSelector::TrackConfigSelector().
|
private |
private data members
Definition at line 46 of file AlignmentGlobalTrackSelector.h.
|
private |
Definition at line 49 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 50 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 51 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), select(), and useThisFilter().
|
private |
Definition at line 65 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkJetCount().
|
private |
Definition at line 59 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkIsolation().
|
private |
Definition at line 67 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkJetCount().
|
private |
Definition at line 60 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkIsolation().
|
private |
Definition at line 55 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and matchTracks().
|
private |
Definition at line 56 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and findMuons().
|
private |
Definition at line 62 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkIsolation().
|
private |
Definition at line 61 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkIsolation().
|
private |
Definition at line 66 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and checkJetCount().
|
private |
Definition at line 54 of file AlignmentGlobalTrackSelector.h.
Referenced by AlignmentGlobalTrackSelector(), and findMuons().