PandaRoot
PndRichHit.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndRichHit header file -----
3
// ----- Created 11/10/06 by Annalisa Cecchi -----
4
// ----- -----
5
// -------------------------------------------------------------------------
6
7
#ifndef PNDRICHHIT_H
8
#define PNDRICHHIT_H
9
10
#include "FairHit.h"
11
12
class
PndRichHit
:
public
FairHit {
13
14
public
:
16
PndRichHit
();
17
18
PndRichHit
(Int_t detID, Int_t sensorId, TVector3 &pos, TVector3 &dpos, Double_t thetaC, Double_t errThetaC, Int_t index);
19
21
// PndRichHit(const PndRichHit& hit) { *this = hit; }; // not needed
22
24
virtual
~PndRichHit
();
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(
PndRichHit
, 1)
44
};
45
46
#endif // PNDRICHHIT_H
PndRichHit::GetRefIndex
virtual Int_t GetRefIndex()
Definition:
PndRichHit.h:34
PndRichHit::fErrThetaC
Double_t fErrThetaC
Definition:
PndRichHit.h:41
PndRichHit::GetErrThetaC
virtual Double_t GetErrThetaC()
Definition:
PndRichHit.h:33
PndRichHit::GetThetaC
virtual Double_t GetThetaC()
Definition:
PndRichHit.h:32
PndRichHit::~PndRichHit
virtual ~PndRichHit()
PndRichHit::GetSensorId
Int_t GetSensorId()
Definition:
PndRichHit.h:35
PndRichHit::fSensorId
Int_t fSensorId
Definition:
PndRichHit.h:40
PndRichHit::PndRichHit
PndRichHit()
PndRichHit::fThetaC
Double_t fThetaC
Definition:
PndRichHit.h:41
PndRichHit
Definition:
PndRichHit.h:12
PndRichHit::Print
virtual void Print(const Option_t *opt="") const
PndRichHit::GetPosition
TVector3 GetPosition() const
Definition:
PndRichHit.h:37
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pnddata
RichData
PndRichHit.h
Generated on Fri Oct 21 2022 07:03:59 for PandaRoot by
1.8.13