FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
RichData
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
8
#ifndef PNDRICHHIT_H
9
#define PNDRICHHIT_H
10
11
#include "FairHit.h"
12
13
class
PndRichHit
:
public
FairHit {
14
15
public
:
16
18
PndRichHit
();
19
20
PndRichHit
(Int_t detID,
21
Int_t sensorId,
22
TVector3&
pos
,
23
TVector3& dpos,
24
Double_t
thetaC
,
25
Double_t
errThetaC,
26
Int_t index);
27
28
30
//PndRichHit(const PndRichHit& hit) { *this = hit; }; // not needed
31
33
virtual
~PndRichHit
();
34
36
virtual
void
Print
(
const
Option_t* opt =
""
)
const
;
37
42
virtual
Double_t
GetThetaC
() {
return
fThetaC
;}
43
virtual
Double_t
GetErrThetaC
() {
return
fErrThetaC
;}
44
virtual
Int_t
GetRefIndex
() {
return
fRefIndex;}
45
Int_t
GetSensorId
() {
return
fSensorId
;}
46
47
TVector3
GetPosition
()
const
{
return
TVector3(
fX
,
fY
,
fZ
); }
48
49
protected
:
50
51
Int_t
fSensorId
;
52
Double_t
fThetaC
,
fErrThetaC
;
53
54
ClassDef(
PndRichHit
,1)
55
};
56
57
#endif //PNDRICHHIT_H
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
PndRichHit::GetRefIndex
virtual Int_t GetRefIndex()
Definition:
PndRichHit.h:44
PndRichHit::GetPosition
TVector3 GetPosition() const
Definition:
PndRichHit.h:47
PndRichHit::fErrThetaC
Double_t fErrThetaC
Definition:
PndRichHit.h:52
fX
Double_t fX
Definition:
PndCaloDraw.cxx:34
fZ
Double_t fZ
Definition:
PndCaloDraw.cxx:34
PndRichHit::GetErrThetaC
virtual Double_t GetErrThetaC()
Definition:
PndRichHit.h:43
PndRichHit::GetThetaC
virtual Double_t GetThetaC()
Definition:
PndRichHit.h:42
PndRichHit::GetSensorId
Int_t GetSensorId()
Definition:
PndRichHit.h:45
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndRichHit::fSensorId
Int_t fSensorId
Definition:
PndRichHit.h:51
PndRichHit::PndRichHit
PndRichHit()
Definition:
PndRichHit.cxx:15
PndRichHit::fThetaC
Double_t fThetaC
Definition:
PndRichHit.h:52
fY
Double_t fY
Definition:
PndCaloDraw.cxx:34
PndRichHit
Definition:
PndRichHit.h:13
PndRichHit::Print
virtual void Print(const Option_t *opt="") const
Definition:
PndRichHit.cxx:47
thetaC
Double_t thetaC
Definition:
plot_dirc.C:16
PndRichHit::~PndRichHit
virtual ~PndRichHit()
Definition:
PndRichHit.cxx:42
Generated on Sun Aug 18 2019 03:01:43 for FairRoot/PandaRoot by
1.8.8