PandaRoot
PndDrcHit.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndDrcHit header file -----
3
// ----- Created 11/10/06 by Annalisa Cecchi -----
4
// ----- -----
5
// -------------------------------------------------------------------------
6
7
#ifndef PNDDRCHIT_H
8
#define PNDDRCHIT_H
9
10
#include "FairHit.h"
11
12
class
PndDrcHit
:
public
FairHit {
13
14
public
:
16
PndDrcHit
();
17
18
PndDrcHit
(Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t thetaC, Double_t errThetaC, Int_t index);
19
21
// PndDrcHit(const PndDrcHit& hit) { *this = hit; }; // not needed
22
24
virtual
~PndDrcHit
();
25
27
virtual
void
Print
(
const
Option_t *opt =
""
)
const
;
28
32
virtual
Double_t
GetThetaC
() {
return
fThetaC
; }
33
virtual
Double_t
GetErrThetaC
() {
return
fErrThetaC
; }
34
virtual
Int_t
GetRefIndex
() {
return
fRefIndex; }
35
Int_t
GetSensorId
() {
return
fSensorId
; }
36
37
TVector3
GetPosition
()
const
{
return
TVector3(fX, fY, fZ); }
38
39
protected
:
40
Int_t
fSensorId
;
41
Double_t
fThetaC
,
fErrThetaC
;
42
43
ClassDef(
PndDrcHit
, 1)
44
};
45
46
#endif // PNDDRCHIT_H
PndDrcHit::GetPosition
TVector3 GetPosition() const
Definition:
PndDrcHit.h:37
PndDrcHit::PndDrcHit
PndDrcHit()
PndDrcHit
Definition:
PndDrcHit.h:12
PndDrcHit::~PndDrcHit
virtual ~PndDrcHit()
PndDrcHit::fThetaC
Double_t fThetaC
Definition:
PndDrcHit.h:41
PndDrcHit::fErrThetaC
Double_t fErrThetaC
Definition:
PndDrcHit.h:41
PndDrcHit::Print
virtual void Print(const Option_t *opt="") const
PndDrcHit::GetErrThetaC
virtual Double_t GetErrThetaC()
Definition:
PndDrcHit.h:33
PndDrcHit::fSensorId
Int_t fSensorId
Definition:
PndDrcHit.h:40
PndDrcHit::GetSensorId
Int_t GetSensorId()
Definition:
PndDrcHit.h:35
PndDrcHit::GetRefIndex
virtual Int_t GetRefIndex()
Definition:
PndDrcHit.h:34
PndDrcHit::GetThetaC
virtual Double_t GetThetaC()
Definition:
PndDrcHit.h:32
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcHit.h
Generated on Fri Oct 21 2022 07:03:57 for PandaRoot by
1.8.13