9#ifndef KLMTRIGGERTRACK_H
10#define KLMTRIGGERTRACK_H
12#include <framework/datastore/RelationsObject.h>
41 m_bklm_n_trg_sectors(0),
42 m_eklm_n_trg_sectors(0),
43 m_bklm_back_to_back_flag(0),
44 m_eklm_back_to_back_flag(0)
66 m_bklm_n_trg_sectors(0),
67 m_eklm_n_trg_sectors(0),
68 m_bklm_back_to_back_flag(0),
69 m_eklm_back_to_back_flag(0)
184 void setBKLM_n_trg_sectors(
int n_trg)
186 m_bklm_n_trg_sectors = n_trg;
190 void setEKLM_n_trg_sectors(
int n_trg)
192 m_eklm_n_trg_sectors = n_trg;
194 void setBKLM_back_to_back_flag(
int n_trg)
196 m_bklm_back_to_back_flag = n_trg;
199 void setEKLM_back_to_back_flag(
int n_trg)
201 m_eklm_back_to_back_flag = n_trg;
251 int m_bklm_n_trg_sectors;
252 int m_eklm_n_trg_sectors;
253 int m_bklm_back_to_back_flag;
254 int m_eklm_back_to_back_flag;
Store KLM TRG track information as a ROOT object.
double m_slopeXY
calculated slope of the straight track in XY plain
virtual ~KLMTriggerTrack()
Destructor.
double m_slopeXZ
calculated slope of the straight track in XZ plain
void setChisqXZ(double chisqXZ)
Set chi squared of the track in XZ plain.
double m_impactParameterXY
calculated impact parameter of the straight track in XY plain
void setInterceptXY(double interceptXY)
Set intercept parameter of the track in XY plain.
double m_interceptXZ
calculated z-intercept of the straight track in XZ plain
int getNLayers() const
Get number of fired layers.
double m_impactParameterXZ
calculated impact parameter of the straight track in XZ plain
void setTrigger(bool trg)
Set trigger flag.
int m_nHits
number of hits in the sector
void setNLayers(int nLayers)
Set number of fired layers.
void setInterceptXZ(double interceptXZ)
Set intercept parameter of the track in XZ plain.
void setImpactParameterXY(double ipXY)
Set impact parameter of the track in XY plain.
void setFirstLayer(int firstLayer)
Set number of the first fired layer.
bool getTrigger() const
Get trigger flag.
double getSlopeXY() const
Get slope parameter of the track in XY plain.
int getSector() const
Get sector number.
double getChisqXY() const
Get chi squared of the track in XY plain.
int m_sector
sector number
int getFirstLayer() const
Get number of the first fired layer.
void setLastLayer(int lastLayer)
Set number of the last fired layer.
int m_lastLayer
number of the last fired layer
ClassDef(KLMTriggerTrack, 1)
Needed to make the ROOT object storable version 4 adds ctime etc.
KLMTriggerTrack(int fwd, int sector)
Constructor with initial values for a track.
double getImpactParameterXZ() const
Get impact parameter of the track in XZ plain.
int getForward() const
Get detector end.
int getLastLayer() const
Get number of the last fired layer.
double getChisqXZ() const
Get chi squared of the track in XZ plain.
double m_chisqXY
calculated chi squared of the straight track in XY plain
void setSlopeXZ(double slopeXZ)
Set slope parameter of the track in XZ plain.
double m_interceptXY
calculated y-intercept of the straight track in XY plain
double getSlopeXZ() const
Get slope parameter of the track in XZ plain.
void setSlopeXY(double slopeXY)
Set slope parameter of the track in XY plain.
double getInterceptXY() const
Get intercept parameter of the track in XY plain.
void setChisqXY(double chisqXY)
Set chi squared of the track in XY plain.
void setImpactParameterXZ(double ipXZ)
Set impact parameter of the track in XZ plain.
double m_chisqXZ
calculated chi squared of the straight track in XZ plain
int m_fwd
forward-backward
bool m_trigger
if the track generates a trigger
int m_nLayers
number of fired layers
int m_firstLayer
number of the first fired layer
double getInterceptXZ() const
Get intercept parameter of the track in XZ plain.
double getImpactParameterXY() const
Get impact parameter of the track in XY plain.
KLMTriggerTrack()
Empty constructor for ROOT IO (needed to make the class storable)
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.