Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ToFTrack.h
1/*
2 * TrackToF.h
3 *
4 * Created on: 04-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALTOFTRACK_H_
10#define HALTOFTRACK_H_
11
12#include "DetectorTrack.h"
16namespace Hal {
17 class ToFTrack : public DetectorTrack {
18 Int_t fToFNHits;
19 Float_t fToFTime;
20 Float_t fToFMass2;
21 Float_t fToFBeta;
22 Float_t fToFEnergy;
23
24 public:
28 ToFTrack();
33 ToFTrack(const ToFTrack& other) = default;
39 ToFTrack& operator=(const ToFTrack& track) = default;
44 static Float_t DummyVal() { return -1E+6; };
49 inline Int_t GetNHits() const { return fToFNHits; };
54 inline Float_t GetTime() const { return fToFTime; };
60 inline Float_t GetMass2() const { return fToFMass2; };
65 inline Float_t GetBeta() const { return fToFBeta; }
70 inline Float_t GetEnergy() const { return fToFEnergy; };
75 void SetNHits(Int_t nToFHits) { fToFNHits = nToFHits; }
80 void SetBeta(Float_t toFBeta) { fToFBeta = toFBeta; }
85 void SetEnergy(Float_t toFEnergy) { fToFEnergy = toFEnergy; }
90 void SetMass2(Float_t toFMass2) { fToFMass2 = toFMass2; }
95 void SetTime(Float_t toFTime) { fToFTime = toFTime; }
96 virtual ~ToFTrack();
97 ClassDef(ToFTrack, 1)
98 };
99} // namespace Hal
100#endif /* HALTOFTRACK_H_ */
Float_t GetEnergy() const
Definition ToFTrack.h:70
Float_t GetBeta() const
Definition ToFTrack.h:65
Float_t GetMass2() const
Definition ToFTrack.h:60
void SetBeta(Float_t toFBeta)
Definition ToFTrack.h:80
void SetNHits(Int_t nToFHits)
Definition ToFTrack.h:75
Float_t GetTime() const
Definition ToFTrack.h:54
ToFTrack(const ToFTrack &other)=default
Int_t GetNHits() const
Definition ToFTrack.h:49
static Float_t DummyVal()
Definition ToFTrack.h:44
void SetMass2(Float_t toFMass2)
Definition ToFTrack.h:90
void SetEnergy(Float_t toFEnergy)
Definition ToFTrack.h:85
void SetTime(Float_t toFTime)
Definition ToFTrack.h:95
ToFTrack & operator=(const ToFTrack &track)=default