StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StPicoETofPidTraits Class Reference

Hold information about eTOF-matched tracks. More...

#include <StPicoETofPidTraits.h>

Inheritance diagram for StPicoETofPidTraits:

Public Member Functions

 StPicoETofPidTraits ()
 Default constructor.
 
 StPicoETofPidTraits (const StPicoETofPidTraits &traits)
 Copy constructor.
 
virtual ~StPicoETofPidTraits ()
 Destructor.
 
virtual void Print (const Char_t *option="") const
 Print eTOF PID traits information.
 
Int_t trackIndex () const
 Return index of the associated track.
 
Int_t hitIndex () const
 Return index of corrsponding eTOF hit.
 
Int_t matchFlag () const
 
Float_t tof () const
 Return time of flight (ns)
 
Float_t beta () const
 Return beta.
 
Float_t deltaX () const
 Return difference between track intersection and eTOF hit in local X coordinate (cm) across strips.
 
Float_t deltaY () const
 Return difference between track intersection and eTOF hit in local Y coordinate (cm) along strips.
 
Float_t crossingX () const
 Return global X coordinate (cm) of the track intersection with an eTOF volume.
 
Float_t crossingY () const
 Return global Y coordinate (cm) of the track intersection with an eTOF volume.
 
Float_t crossingZ () const
 Return global Z coordinate (cm) of the track intersection with an eTOF volume.
 
TVector3 crossingPos () const
 Return global position (cm) of the track intersection with an eTOF volume.
 
void setTrackIndex (const Int_t index2PicoTrack)
 Set associated track index.
 
void setHitIndex (const Int_t index2Hit)
 Set index of corrsponding eTOF hit.
 
void setMatchFlag (const Char_t flag)
 Set match flag.
 
void setTof (const Float_t &tof)
 Set time of flight.
 
void setBeta (const Float_t &beta)
 Set beta.
 
void setDeltaX (const Float_t &deltaX)
 Set difference between track intersection and eTOF hit in local X coordinate (cm) across strips.
 
void setDeltaY (const Float_t &deltaY)
 Set difference between track intersection and eTOF hit in local Y coordinate (cm) along strips.
 
void setCrossingX (const Float_t &x)
 Set global X coordinate (cm) of the track intersection with an eTOF volume.
 
void setCrossingY (const Float_t &y)
 Set global Y coordinate (cm) of the track intersection with an eTOF volume.
 
void setCrossingZ (const Float_t &z)
 Set global Z coordinate (cm) of the track intersection with an eTOF volume.
 
void setCrossingPos (const Float_t &x, const Float_t &y, const Float_t &z)
 Set global position (cm) of the track intersection with an eTOF volume.
 

Detailed Description

Hold information about eTOF-matched tracks.

The class stores information about tracks that matched the endcap Time-of-Flight detector

Definition at line 20 of file StPicoETofPidTraits.h.

Member Function Documentation

Int_t StPicoETofPidTraits::matchFlag ( ) const
inline

Return match flag:

Parameters
0no match
1one-to-one
2one-to-multiple

Definition at line 44 of file StPicoETofPidTraits.h.

Referenced by Print().


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