CMS 3D CMS Logo

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

#include <CalibrationTrackSelector.h>

Classes

struct  ComparePt
 compare two tracks in pt (used by theNHighestPtTracks) More...
 

Public Types

typedef std::vector< const
reco::Track * > 
Tracks
 

Public Member Functions

 CalibrationTrackSelector (const edm::ParameterSet &cfg)
 constructor More...
 
Tracks select (const Tracks &tracks, const edm::Event &evt) const
 select tracks More...
 
 ~CalibrationTrackSelector ()
 destructor More...
 

Private Member Functions

Tracks basicCuts (const Tracks &tracks, const edm::Event &evt) const
 apply basic cuts on pt,eta,phi,nhit More...
 
bool detailedHitsCheck (const reco::Track *track, const edm::Event &evt) const
 checking hit requirements beyond simple number of valid hits More...
 
bool isHit2D (const TrackingRecHit &hit) const
 
bool isIsolated (const TrackingRecHit *therechit, const edm::Event &evt) const
 
bool isOkCharge (const TrackingRecHit *therechit) const
 
Tracks theNHighestPtTracks (const Tracks &tracks) const
 filter the n highest pt tracks More...
 

Private Attributes

const bool applyBasicCuts_
 
const bool applyIsolation_
 
const bool applyMultiplicityFilter_
 
const bool applyNHighestPt_
 
const bool chargeCheck_
 
const double chi2nMax_
 
const double etaMax_
 
const double etaMin_
 
const edm::InputTag matchedrecHitsTag_
 
const int maxMultiplicity_
 
const double minHitChargeStrip_
 
const double minHitIsolation_
 
const int minHitsinBPIX_
 
const int minHitsinFPIX_
 
const int minHitsinTEC_
 
const int minHitsinTIB_
 
const int minHitsinTID_
 
const int minHitsinTOB_
 
const int minMultiplicity_
 
const bool multiplicityOnInput_
 
const int nHighestPt_
 
const double nHitMax_
 
const unsigned int nHitMin2D_
 
const double nHitMin_
 
const double phiMax_
 
const double phiMin_
 
ComparePt ptComparator
 
const double ptMax_
 
const double ptMin_
 if true, cut min/maxMultiplicity on input instead of on final result More...
 
const edm::InputTag rphirecHitsTag_
 
const int seedOnlyFromAbove_
 

Detailed Description

Definition at line 15 of file CalibrationTrackSelector.h.

Member Typedef Documentation

typedef std::vector<const reco::Track*> CalibrationTrackSelector::Tracks

Definition at line 20 of file CalibrationTrackSelector.h.

Constructor & Destructor Documentation

CalibrationTrackSelector::CalibrationTrackSelector ( const edm::ParameterSet cfg)

constructor

Definition at line 25 of file CalibrationTrackSelector.cc.

CalibrationTrackSelector::~CalibrationTrackSelector ( )

destructor

Definition at line 97 of file CalibrationTrackSelector.cc.

Member Function Documentation

CalibrationTrackSelector::Tracks CalibrationTrackSelector::basicCuts ( const Tracks tracks,
const edm::Event evt 
) const
private

apply basic cuts on pt,eta,phi,nhit

Definition at line 137 of file CalibrationTrackSelector.cc.

bool CalibrationTrackSelector::detailedHitsCheck ( const reco::Track track,
const edm::Event evt 
) const
private

checking hit requirements beyond simple number of valid hits

Definition at line 166 of file CalibrationTrackSelector.cc.

bool CalibrationTrackSelector::isHit2D ( const TrackingRecHit hit) const
private

Definition at line 223 of file CalibrationTrackSelector.cc.

bool CalibrationTrackSelector::isIsolated ( const TrackingRecHit therechit,
const edm::Event evt 
) const
private

Definition at line 304 of file CalibrationTrackSelector.cc.

bool CalibrationTrackSelector::isOkCharge ( const TrackingRecHit therechit) const
private

Definition at line 254 of file CalibrationTrackSelector.cc.

CalibrationTrackSelector::Tracks CalibrationTrackSelector::select ( const Tracks tracks,
const edm::Event evt 
) const
CalibrationTrackSelector::Tracks CalibrationTrackSelector::theNHighestPtTracks ( const Tracks tracks) const
private

filter the n highest pt tracks

Definition at line 347 of file CalibrationTrackSelector.cc.

Member Data Documentation

const bool CalibrationTrackSelector::applyBasicCuts_
private

Definition at line 52 of file CalibrationTrackSelector.h.

const bool CalibrationTrackSelector::applyIsolation_
private

Definition at line 54 of file CalibrationTrackSelector.h.

const bool CalibrationTrackSelector::applyMultiplicityFilter_
private

Definition at line 52 of file CalibrationTrackSelector.h.

const bool CalibrationTrackSelector::applyNHighestPt_
private

Definition at line 52 of file CalibrationTrackSelector.h.

const bool CalibrationTrackSelector::chargeCheck_
private

Definition at line 54 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::chi2nMax_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::etaMax_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::etaMin_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const edm::InputTag CalibrationTrackSelector::matchedrecHitsTag_
private

Definition at line 60 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::maxMultiplicity_
private

Definition at line 55 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::minHitChargeStrip_
private

Definition at line 58 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::minHitIsolation_
private

Definition at line 58 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minHitsinBPIX_
private

Definition at line 62 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minHitsinFPIX_
private

Definition at line 62 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minHitsinTEC_
private

Definition at line 62 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minHitsinTIB_
private

Definition at line 62 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minHitsinTID_
private

Definition at line 62 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minHitsinTOB_
private

Definition at line 62 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::minMultiplicity_
private

Definition at line 55 of file CalibrationTrackSelector.h.

const bool CalibrationTrackSelector::multiplicityOnInput_
private

Definition at line 56 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::nHighestPt_
private

Definition at line 55 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::nHitMax_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const unsigned int CalibrationTrackSelector::nHitMin2D_
private

Definition at line 61 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::nHitMin_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::phiMax_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::phiMin_
private

Definition at line 57 of file CalibrationTrackSelector.h.

ComparePt CalibrationTrackSelector::ptComparator
private

Definition at line 50 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::ptMax_
private

Definition at line 57 of file CalibrationTrackSelector.h.

const double CalibrationTrackSelector::ptMin_
private

if true, cut min/maxMultiplicity on input instead of on final result

Definition at line 57 of file CalibrationTrackSelector.h.

const edm::InputTag CalibrationTrackSelector::rphirecHitsTag_
private

Definition at line 59 of file CalibrationTrackSelector.h.

const int CalibrationTrackSelector::seedOnlyFromAbove_
private

Definition at line 53 of file CalibrationTrackSelector.h.