11#include <top/reconstruction_cpp/TOPTrack.h>
12#include <framework/gearbox/Const.h>
14#include <Math/Vector3D.h>
15#include <Math/Point3D.h>
Provides a type-safe way to pass members of the chargedStableSet set.
static const ChargedStable muon
muon particle
Reconstructed track at TOP.
Utility for the track selection - used in various calibration modules.
Const::ChargedStable m_chargedStable
track hypothesis
double getCMSEnergy() const
Returns c.m.s energy of the track in last isSelected call.
const ROOT::Math::XYZPoint & getLocalPosition() const
Returns position at TOP in local frame of the track in last isSelected call.
EType m_sampleType
data sample (skim) type
double getMinZ() const
Returns cut on local z.
ROOT::Math::XYZVector m_pocaPosition
position of POCA
void setDeltaEcms(double deltaEcms)
Sets cut on c.m.s.
void setMinMomentum(double minMomentum)
Sets momentum cut (used for "cosmics" only)
double m_minMomentum
minimal track momentum if sample is "cosmics"
double getDeltaEcms() const
Returns c.m.s.
double m_dz
cut on POCA in z
void setCutOnPOCA(double dr, double dz)
Sets cut on point of closest approach to (0, 0, 0)
ROOT::Math::XYZVector m_localMomentum
momentum at TOP in local (module) frame
double getMinMomentum() const
Returns momentum cut.
std::string m_sampleName
data sample (skim) name
const ROOT::Math::XYZVector & getPOCAPosition() const
Returns position of POCA of the track in last isSelected call.
double m_maxZ
maximal local z of extrapolated hit
bool isSelected(const TOPTrack &track) const
Returns selection status.
double getMaxZ() const
Returns cut on local z.
double m_minZ
minimal local z of extrapolated hit
double m_dr
cut on POCA in r
const ROOT::Math::XYZVector & getLocalMomentum() const
Returns momentum at TOP in local frame of the track in last isSelected call.
TrackSelector()
Default constructor.
void setCutOnLocalZ(double minZ, double maxZ)
Sets cut on local z coordinate (module frame) of the track extrapolated to TOP.
ROOT::Math::XYZPoint m_localPosition
position at TOP in local (module) frame
const Const::ChargedStable & getChargedStable() const
Returns track hypothesis.
double m_deltaEcms
c.m.s energy window for "dimuon" or "bhabha"
const ROOT::Math::XYZVector & getPOCAMomentum() const
Returns momentum vector at POCA of the track in last isSelected call.
ROOT::Math::XYZVector m_pocaMomentum
momentum at POCA
double getDz() const
Returns POCA cut in z.
const std::string & getSampleName() const
Returns sample name.
EType
enumerators for possible data sample types (skims)
double getDr() const
Returns POCA cut in r.
Abstract base class for different kinds of events.