CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
AlignmentGlobalTrackSelector Class Reference

#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
 

Detailed Description

Definition at line 17 of file AlignmentGlobalTrackSelector.h.

Member Typedef Documentation

Definition at line 22 of file AlignmentGlobalTrackSelector.h.

Constructor & Destructor Documentation

AlignmentGlobalTrackSelector::AlignmentGlobalTrackSelector ( const edm::ParameterSet cfg,
edm::ConsumesCollector iC 
)

constructor

Definition at line 29 of file AlignmentGlobalTrackSelector.cc.

AlignmentGlobalTrackSelector::~AlignmentGlobalTrackSelector ( )

destructor

Definition at line 74 of file AlignmentGlobalTrackSelector.cc.

Member Function Documentation

AlignmentGlobalTrackSelector::Tracks AlignmentGlobalTrackSelector::checkIsolation ( const Tracks cands,
const edm::Event iEvent 
) const
private

returns only isolated tracks in [cands]

Definition at line 136 of file AlignmentGlobalTrackSelector.cc.

AlignmentGlobalTrackSelector::Tracks AlignmentGlobalTrackSelector::checkJetCount ( const Tracks cands,
const edm::Event iEvent 
) const
private

returns [tracks] if there are less than theMaxCount Jets with theMinJetPt and an empty set if not

Definition at line 169 of file AlignmentGlobalTrackSelector.cc.

AlignmentGlobalTrackSelector::Tracks AlignmentGlobalTrackSelector::findMuons ( const Tracks tracks,
const edm::Event iEvent 
) const
private

filter for Tracks that match the Track of a global Muon

Definition at line 101 of file AlignmentGlobalTrackSelector.cc.

AlignmentGlobalTrackSelector::Tracks AlignmentGlobalTrackSelector::matchTracks ( const Tracks src,
const Tracks comp 
) const
private

matches [src] with [comp] returns collection with matching Tracks coming from [src]

Definition at line 200 of file AlignmentGlobalTrackSelector.cc.

void AlignmentGlobalTrackSelector::printTracks ( const Tracks col) const
private

print Information on Track-Collection

Definition at line 222 of file AlignmentGlobalTrackSelector.cc.

AlignmentGlobalTrackSelector::Tracks AlignmentGlobalTrackSelector::select ( const Tracks tracks,
const edm::Event iEvent,
const edm::EventSetup eSetup 
)
bool AlignmentGlobalTrackSelector::useThisFilter ( )

returns if any of the Filters is used.

Definition at line 78 of file AlignmentGlobalTrackSelector.cc.

Referenced by TrackConfigSelector::TrackConfigSelector().

Member Data Documentation

edm::ParameterSet AlignmentGlobalTrackSelector::theConf
private

private data members

Definition at line 45 of file AlignmentGlobalTrackSelector.h.

bool AlignmentGlobalTrackSelector::theGMFilterSwitch
private

Definition at line 48 of file AlignmentGlobalTrackSelector.h.

bool AlignmentGlobalTrackSelector::theIsoFilterSwitch
private

Definition at line 49 of file AlignmentGlobalTrackSelector.h.

bool AlignmentGlobalTrackSelector::theJetCountFilterSwitch
private

Definition at line 50 of file AlignmentGlobalTrackSelector.h.

edm::EDGetTokenT<reco::CaloJetCollection> AlignmentGlobalTrackSelector::theJetCountToken
private

Definition at line 64 of file AlignmentGlobalTrackSelector.h.

edm::EDGetTokenT<reco::CaloJetCollection> AlignmentGlobalTrackSelector::theJetIsoToken
private

Definition at line 58 of file AlignmentGlobalTrackSelector.h.

int AlignmentGlobalTrackSelector::theMaxJetCount
private

Definition at line 66 of file AlignmentGlobalTrackSelector.h.

double AlignmentGlobalTrackSelector::theMaxJetPt
private

Definition at line 59 of file AlignmentGlobalTrackSelector.h.

double AlignmentGlobalTrackSelector::theMaxTrackDeltaR
private

Definition at line 54 of file AlignmentGlobalTrackSelector.h.

int AlignmentGlobalTrackSelector::theMinGlobalMuonCount
private

Definition at line 55 of file AlignmentGlobalTrackSelector.h.

int AlignmentGlobalTrackSelector::theMinIsolatedCount
private

Definition at line 61 of file AlignmentGlobalTrackSelector.h.

double AlignmentGlobalTrackSelector::theMinJetDeltaR
private

Definition at line 60 of file AlignmentGlobalTrackSelector.h.

double AlignmentGlobalTrackSelector::theMinJetPt
private

Definition at line 65 of file AlignmentGlobalTrackSelector.h.

edm::EDGetTokenT<reco::MuonCollection> AlignmentGlobalTrackSelector::theMuonToken
private

Definition at line 53 of file AlignmentGlobalTrackSelector.h.