Public Types | Public Member Functions | Friends

ForIA::TrackSelection Class Reference

Can define some track selection criteria. Includes some common "standard" selections. More...

#include <TrackSelection.hh>

Inheritance diagram for ForIA::TrackSelection:
ForIA::FourVectorSelection

List of all members.

Public Types

enum  DefinedSelection {
  MINBIAS_2, MINBIAS_2_BS, UE, HIGHMULT_LOOSE,
  HIGHMULT_TIGHT, HIGHMULT_ASSOC
}

Public Member Functions

 TrackSelection ()
 Default constructor.
const TrackVector & tracks () const
 The tracks int he event that pass the selection.
const TrackVector & rejectedTracks () const
 The tracks int he event that were rejected from this selection.
void setSelection (DefinedSelection selection)
void setOrigin (Track::Origin origin)
 Set the origin to use for d0 and z0 measurement.
void setD0 (double d0)
 Set the minimum d0 for a track to pass the selection.
void setZ0SinTheta (double z0SinTheta)
 Set the minimum z0 * sin(theta) for a track to pass the selection.
void setPTMin (double pt)
 Set the minimum track pT.
void setEtaMax (double eta)
 Set the maximum track eta.
void setNBLayerHits (int nBLayer)
 Set the minimum number of pixel b layer hits (if expected)
void setNPixHits (int nPix)
 Set the minimum number of pixel hits per track.
void setNSCTHits (int nSCT)
 Set the minimum number of SCT hits per track.
void setPixSCTHits (int nHits)
 Set the minimum combined SCT + pixel hits.
void setNSCTHits (double ptThresh, int nSCT)
void setMinFitProbability (double ptThresh, double minProbability)
void setChi2PerDOF (double chi2)
void addTrackAuthor (Track::TrackAuthor author)
void clearAllTrackAuthors ()
void setVertexType (Vertex::VertexType vType)
 Require that tracks are associated with a specific type of vertex.
void setInput (const TrackVector &tracks)
 Set the inpt tracks to be selected from.

Friends

std::ostream & operator<< (std::ostream &out, const TrackSelection &selection)
MessageBoxoperator<< (MessageBox &box, const TrackSelection &selection)

Detailed Description

Can define some track selection criteria. Includes some common "standard" selections.

Definition at line 22 of file TrackSelection.hh.


Member Enumeration Documentation

A set of predefined track selections as used in some analyses MINBIAS_2 : Used in the min bias with charged tracks @ 7TeV MINBIAS_2_BS : As above, but cut on track perigee w.r.t beam spot - used for vertex and trigger effiency UE : Used in the track based underlying event analysis HIGHMULT_LOOSE : Looser selection suggested for the high multiplicity 2 particle correlation analysis HIGHMULT_TIGHT : Tight selection for the high multiplicity analyses Same as MINBIAS_2 without d0 and z0 cuts HIGHMULT_ASSOC : Same as MINBIAS_2 or HIGHMULT_TIGHT but d0 and z0 cuts are made w.r.t associated vertex

Enumerator:
MINBIAS_2 
MINBIAS_2_BS 
UE 
HIGHMULT_LOOSE 
HIGHMULT_TIGHT 
HIGHMULT_ASSOC 

Definition at line 39 of file TrackSelection.hh.


Constructor & Destructor Documentation

ForIA::TrackSelection::TrackSelection (  )

Default constructor.

Definition at line 10 of file TrackSelection.cxx.


Member Function Documentation

void ForIA::TrackSelection::addTrackAuthor ( Track::TrackAuthor  author )

Add a track author to the list of allowed authors. If no author is set then all authors are allowed

Definition at line 317 of file TrackSelection.cxx.

void ForIA::TrackSelection::clearAllTrackAuthors (  )

Clear the list of allowed authors This means that any track author will be allowed

Definition at line 325 of file TrackSelection.cxx.

const TrackVector & ForIA::TrackSelection::rejectedTracks (  ) const

The tracks int he event that were rejected from this selection.

Definition at line 26 of file TrackSelection.cxx.

void ForIA::TrackSelection::setChi2PerDOF ( double  chi2 )

Set a maximum chi squared per degree of freedom Setting this switches off any cut on fit probability

Definition at line 308 of file TrackSelection.cxx.

void ForIA::TrackSelection::setD0 ( double  d0 )

Set the minimum d0 for a track to pass the selection.

Definition at line 216 of file TrackSelection.cxx.

void ForIA::TrackSelection::setEtaMax ( double  eta )

Set the maximum track eta.

Definition at line 240 of file TrackSelection.cxx.

void ForIA::TrackSelection::setInput ( const TrackVector &  tracks )

Set the inpt tracks to be selected from.

Definition at line 116 of file TrackSelection.cxx.

void ForIA::TrackSelection::setMinFitProbability ( double  ptThresh,
double  minProbability 
)

Set a min fit probability for tracks above the given pT. There can be multiple pT thresholds, with a different min probability requirement above each one. There is no probability requirement below the first threshold. Setting this switches off any cut on chi^2 per degree of freedom

Definition at line 300 of file TrackSelection.cxx.

void ForIA::TrackSelection::setNBLayerHits ( int  nBLayer )

Set the minimum number of pixel b layer hits (if expected)

Definition at line 248 of file TrackSelection.cxx.

void ForIA::TrackSelection::setNPixHits ( int  nPix )

Set the minimum number of pixel hits per track.

Definition at line 256 of file TrackSelection.cxx.

void ForIA::TrackSelection::setNSCTHits ( int  nSCT )

Set the minimum number of SCT hits per track.

Definition at line 264 of file TrackSelection.cxx.

void ForIA::TrackSelection::setNSCTHits ( double  ptThresh,
int  nSCT 
)

Set a pT dependent minimum number of SCT hits per track There can be multiple pT thresholds, with different hit requirements above each one. There is no hit requirement for tracks below the minimum threshold

Definition at line 286 of file TrackSelection.cxx.

void ForIA::TrackSelection::setOrigin ( Track::Origin  origin )

Set the origin to use for d0 and z0 measurement.

Definition at line 209 of file TrackSelection.cxx.

void ForIA::TrackSelection::setPixSCTHits ( int  nHits )

Set the minimum combined SCT + pixel hits.

Definition at line 277 of file TrackSelection.cxx.

void ForIA::TrackSelection::setPTMin ( double  pt )

Set the minimum track pT.

Definition at line 232 of file TrackSelection.cxx.

void ForIA::TrackSelection::setSelection ( DefinedSelection  selection )

Set a pre-defined selection matching one of the analyses in the DefinedSelection enum

Definition at line 32 of file TrackSelection.cxx.

void ForIA::TrackSelection::setVertexType ( Vertex::VertexType  vType )

Require that tracks are associated with a specific type of vertex.

Definition at line 333 of file TrackSelection.cxx.

void ForIA::TrackSelection::setZ0SinTheta ( double  z0SinTheta )

Set the minimum z0 * sin(theta) for a track to pass the selection.

Definition at line 224 of file TrackSelection.cxx.

const TrackVector & ForIA::TrackSelection::tracks (  ) const

The tracks int he event that pass the selection.

Definition at line 20 of file TrackSelection.cxx.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const TrackSelection selection 
) [friend]
MessageBox& operator<< ( MessageBox box,
const TrackSelection selection 
) [friend]

The documentation for this class was generated from the following files: