Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TpcTrack.h
1/*
2 * TrackTPC.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 HALTPCTRACK_H_
10#define HALTPCTRACK_H_
11#include "DetectorTrack.h"
12#include <iostream>
16namespace Hal {
17 class TpcTrack : public DetectorTrack {
18 Int_t fTpcNHits;
19 Float_t fTpcSigmaPion;
20 Float_t fTpcSigmaKaon;
21 Float_t fTpcSigmaProton;
22 Float_t fTpcSigmaElectron;
23 Float_t fTpcPidProbPion;
24 Float_t fTpcPidProbKaon;
25 Float_t fTpcPidProbProton;
26 Float_t fTpcPidProbElectron;
27 Float_t fTpcDeDx;
28
29 public:
33 TpcTrack();
38 TpcTrack(const TpcTrack& other) = default;
44 TpcTrack& operator=(const TpcTrack& track) = default;
49 inline Int_t GetNHits() const { return fTpcNHits; };
54 inline Float_t GetSigmaPion() const { return fTpcSigmaPion; };
59 inline Float_t GetSigmaKaon() const { return fTpcSigmaKaon; };
64 inline Float_t GetSigmaProton() const { return fTpcSigmaProton; };
69 inline Float_t GetSigmaElectron() const { return fTpcSigmaElectron; }
74 inline Float_t GetProbPion() const { return fTpcPidProbPion; };
79 inline Float_t GetProbKaon() const { return fTpcPidProbKaon; };
84 inline Float_t GetProbProton() const { return fTpcPidProbProton; };
89 inline Float_t GetProbElectron() const { return fTpcPidProbElectron; };
94 inline Float_t GetDeDx() const { return fTpcDeDx; };
99 inline void SetDeDx(Float_t deDx) { fTpcDeDx = deDx; }
107 void SetSigma(Float_t pion, Float_t kaons, Float_t proton, Float_t electron);
115 void SetPidProb(Float_t pion, Float_t kaon, Float_t proton, Float_t electron);
120 inline void SetNHits(Int_t tpcHits) { fTpcNHits = tpcHits; }
121 virtual ~TpcTrack();
122 ClassDef(TpcTrack, 1)
123 };
124} // namespace Hal
125#endif /* HALTPCTRACK_H_ */
void SetSigma(Float_t pion, Float_t kaons, Float_t proton, Float_t electron)
Definition TpcTrack.cxx:25
Float_t GetSigmaPion() const
Definition TpcTrack.h:54
Float_t GetProbElectron() const
Definition TpcTrack.h:89
Float_t GetProbPion() const
Definition TpcTrack.h:74
Float_t GetDeDx() const
Definition TpcTrack.h:94
void SetDeDx(Float_t deDx)
Definition TpcTrack.h:99
Int_t GetNHits() const
Definition TpcTrack.h:49
Float_t GetProbProton() const
Definition TpcTrack.h:84
Float_t GetSigmaProton() const
Definition TpcTrack.h:64
Float_t GetSigmaKaon() const
Definition TpcTrack.h:59
Float_t GetSigmaElectron() const
Definition TpcTrack.h:69
Float_t GetProbKaon() const
Definition TpcTrack.h:79
TpcTrack & operator=(const TpcTrack &track)=default
void SetNHits(Int_t tpcHits)
Definition TpcTrack.h:120
void SetPidProb(Float_t pion, Float_t kaon, Float_t proton, Float_t electron)
Definition TpcTrack.cxx:32
TpcTrack(const TpcTrack &other)=default