PandaRoot
PndSttHelixHit.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
// ======================================
14
//
15
// hits recostructed via HELIX FIT in STT
16
//
17
// ======================================
18
#ifndef PNDSTTHELIXHIT_H
19
#define PNDSTTHELIXHIT_H 1
20
21
#include "TVector3.h"
22
#include "FairHit.h"
23
24
class
PndSttHit
;
25
26
class
PndSttHelixHit
:
public
FairHit {
27
28
public
:
30
PndSttHelixHit
();
31
44
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);
45
46
// void CopyHitToHelixHit(PndSttHit *aHit, Int_t hitindex);
47
49
virtual
~PndSttHelixHit
();
50
52
virtual
void
Print
(
const
Option_t *opt =
nullptr
)
const
53
{
54
std::cout <<
" opt = "
<< opt << std::endl;
55
return
;
56
}
57
59
void
Clear
();
60
62
Int_t
GetHitIndex
() {
return
fHitIndex
; }
63
65
Double_t
GetIsochrone
()
const
{
return
fIsochrone
; };
66
Double_t
GetIsochroneError
()
const
{
return
fIsochroneError
; };
67
Double_t
GetdEdx
()
const
{
return
fdEdx
; };
68
70
void
SetHitIndex
(Int_t hitindex) {
fHitIndex
= hitindex; }
71
void
SetIsochrone
(Double_t isochrone) {
fIsochrone
= isochrone; };
72
void
SetIsochroneError
(Double_t isochroneError) {
fIsochroneError
= isochroneError; };
73
void
SetdEdx
(Double_t dedx) {
fdEdx
= dedx; }
74
void
Print
();
75
76
// tube ID // CHECK added
77
void
SetTubeID
(Int_t tubeid) {
fTubeID
= tubeid; }
78
Int_t
GetTubeID
() {
return
fTubeID
; }
79
80
protected
:
82
Int_t
fHitIndex
;
83
85
Double_t
fdEdx
;
86
88
Double_t
fIsochrone
,
fIsochroneError
;
89
91
Int_t
fTubeID
;
// CHECK added
92
93
ClassDef
(
PndSttHelixHit
, 2);
94
};
95
96
#endif
PndSttHelixHit::Print
virtual void Print(const Option_t *opt=nullptr) const
Definition:
PndSttHelixHit.h:52
PndSttHelixHit::GetHitIndex
Int_t GetHitIndex()
Definition:
PndSttHelixHit.h:62
PndSttHelixHit::SetIsochroneError
void SetIsochroneError(Double_t isochroneError)
Definition:
PndSttHelixHit.h:72
PndSttHelixHit::SetTubeID
void SetTubeID(Int_t tubeid)
Definition:
PndSttHelixHit.h:77
PndSttHelixHit::Clear
void Clear()
PndSttHelixHit::PndSttHelixHit
PndSttHelixHit()
PndSttHelixHit::Print
void Print()
PndSttHelixHit::SetHitIndex
void SetHitIndex(Int_t hitindex)
Definition:
PndSttHelixHit.h:70
PndSttHelixHit::SetIsochrone
void SetIsochrone(Double_t isochrone)
Definition:
PndSttHelixHit.h:71
PndSttHelixHit::fdEdx
Double_t fdEdx
Definition:
PndSttHelixHit.h:85
PndSttHelixHit::fIsochrone
Double_t fIsochrone
Definition:
PndSttHelixHit.h:88
PndSttHelixHit
Definition:
PndSttHelixHit.h:26
PndSttHelixHit::fHitIndex
Int_t fHitIndex
Definition:
PndSttHelixHit.h:82
PndSttHelixHit::GetIsochroneError
Double_t GetIsochroneError() const
Definition:
PndSttHelixHit.h:66
PndSttHelixHit::GetdEdx
Double_t GetdEdx() const
Definition:
PndSttHelixHit.h:67
PndSttHelixHit::ClassDef
ClassDef(PndSttHelixHit, 2)
PndSttHelixHit::fIsochroneError
Double_t fIsochroneError
Definition:
PndSttHelixHit.h:88
PndSttHelixHit::GetIsochrone
Double_t GetIsochrone() const
Definition:
PndSttHelixHit.h:65
PndSttHelixHit::SetdEdx
void SetdEdx(Double_t dedx)
Definition:
PndSttHelixHit.h:73
PndSttHit
Definition:
PndSttHit.h:34
PndSttHelixHit::~PndSttHelixHit
virtual ~PndSttHelixHit()
PndSttHelixHit::GetTubeID
Int_t GetTubeID()
Definition:
PndSttHelixHit.h:78
PndSttHelixHit::fTubeID
Int_t fTubeID
Definition:
PndSttHelixHit.h:91
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pnddata
SttData
PndSttHelixHit.h
Generated on Fri Nov 29 2024 06:04:45 for PandaRoot by
1.8.13