PandaRoot
PndSttHelixHit.h
Go to the documentation of this file.
1
// ======================================
2
//
3
// hits recostructed via HELIX FIT in STT
4
//
5
// ======================================
6
#ifndef PNDSTTHELIXHIT_H
7
#define PNDSTTHELIXHIT_H 1
8
9
#include "TVector3.h"
10
#include "FairHit.h"
11
12
class
PndSttHit
;
13
14
class
PndSttHelixHit
:
public
FairHit {
15
16
public
:
18
PndSttHelixHit
();
19
32
PndSttHelixHit
(Int_t detID, Int_t tubeID, Int_t hitindex, Int_t mcindex, TVector3 &pos, TVector3 &dpos, Double_t isochrone, Double_t isochroneError, Double_t dedx);
33
34
// void CopyHitToHelixHit(PndSttHit *aHit, Int_t hitindex);
35
37
virtual
~PndSttHelixHit
();
38
40
virtual
void
Print
(
const
Option_t *opt =
nullptr
)
const
41
{
42
std::cout <<
" opt = "
<< opt << std::endl;
43
return
;
44
}
45
47
void
Clear
();
48
50
Int_t
GetHitIndex
() {
return
fHitIndex
; }
51
53
Double_t
GetIsochrone
()
const
{
return
fIsochrone
; };
54
Double_t
GetIsochroneError
()
const
{
return
fIsochroneError
; };
55
Double_t
GetdEdx
()
const
{
return
fdEdx
; };
56
58
void
SetHitIndex
(Int_t hitindex) {
fHitIndex
= hitindex; }
59
void
SetIsochrone
(Double_t isochrone) {
fIsochrone
= isochrone; };
60
void
SetIsochroneError
(Double_t isochroneError) {
fIsochroneError
= isochroneError; };
61
void
SetdEdx
(Double_t dedx) {
fdEdx
= dedx; }
62
void
Print
();
63
64
// tube ID // CHECK added
65
void
SetTubeID
(Int_t tubeid) {
fTubeID
= tubeid; }
66
Int_t
GetTubeID
() {
return
fTubeID
; }
67
68
protected
:
70
Int_t
fHitIndex
;
71
73
Double_t
fdEdx
;
74
76
Double_t
fIsochrone
,
fIsochroneError
;
77
79
Int_t
fTubeID
;
// CHECK added
80
81
ClassDef
(
PndSttHelixHit
, 2);
82
};
83
84
#endif
PndSttHelixHit::Print
virtual void Print(const Option_t *opt=nullptr) const
Definition:
PndSttHelixHit.h:40
PndSttHelixHit::GetHitIndex
Int_t GetHitIndex()
Definition:
PndSttHelixHit.h:50
PndSttHelixHit::SetIsochroneError
void SetIsochroneError(Double_t isochroneError)
Definition:
PndSttHelixHit.h:60
PndSttHelixHit::SetTubeID
void SetTubeID(Int_t tubeid)
Definition:
PndSttHelixHit.h:65
PndSttHelixHit::Clear
void Clear()
PndSttHelixHit::PndSttHelixHit
PndSttHelixHit()
PndSttHelixHit::Print
void Print()
PndSttHelixHit::SetHitIndex
void SetHitIndex(Int_t hitindex)
Definition:
PndSttHelixHit.h:58
PndSttHelixHit::SetIsochrone
void SetIsochrone(Double_t isochrone)
Definition:
PndSttHelixHit.h:59
PndSttHelixHit::fdEdx
Double_t fdEdx
Definition:
PndSttHelixHit.h:73
PndSttHelixHit::fIsochrone
Double_t fIsochrone
Definition:
PndSttHelixHit.h:76
PndSttHelixHit
Definition:
PndSttHelixHit.h:14
PndSttHelixHit::fHitIndex
Int_t fHitIndex
Definition:
PndSttHelixHit.h:70
PndSttHelixHit::GetIsochroneError
Double_t GetIsochroneError() const
Definition:
PndSttHelixHit.h:54
PndSttHelixHit::GetdEdx
Double_t GetdEdx() const
Definition:
PndSttHelixHit.h:55
PndSttHelixHit::ClassDef
ClassDef(PndSttHelixHit, 2)
PndSttHelixHit::fIsochroneError
Double_t fIsochroneError
Definition:
PndSttHelixHit.h:76
PndSttHelixHit::GetIsochrone
Double_t GetIsochrone() const
Definition:
PndSttHelixHit.h:53
PndSttHelixHit::SetdEdx
void SetdEdx(Double_t dedx)
Definition:
PndSttHelixHit.h:61
PndSttHit
Definition:
PndSttHit.h:22
PndSttHelixHit::~PndSttHelixHit
virtual ~PndSttHelixHit()
PndSttHelixHit::GetTubeID
Int_t GetTubeID()
Definition:
PndSttHelixHit.h:66
PndSttHelixHit::fTubeID
Int_t fTubeID
Definition:
PndSttHelixHit.h:79
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pnddata
SttData
PndSttHelixHit.h
Generated on Fri Oct 21 2022 07:04:00 for PandaRoot by
1.8.13