FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
DrcData
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
8
#ifndef PNDDRCHIT_H
9
#define PNDDRCHIT_H
10
11
#include "FairHit.h"
12
13
class
PndDrcHit
:
public
FairHit {
14
15
public
:
16
18
PndDrcHit
();
19
20
PndDrcHit
(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
//PndDrcHit(const PndDrcHit& hit) { *this = hit; }; // not needed
31
33
virtual
~PndDrcHit
();
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(
PndDrcHit
,1)
55
};
56
57
#endif //PNDDRCHIT_H
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
PndDrcHit::GetPosition
TVector3 GetPosition() const
Definition:
PndDrcHit.h:47
PndDrcHit::PndDrcHit
PndDrcHit()
Definition:
PndDrcHit.cxx:15
PndDrcHit::~PndDrcHit
virtual ~PndDrcHit()
Definition:
PndDrcHit.cxx:42
fX
Double_t fX
Definition:
PndCaloDraw.cxx:34
PndDrcHit
Definition:
PndDrcHit.h:13
fZ
Double_t fZ
Definition:
PndCaloDraw.cxx:34
PndDrcHit::fThetaC
Double_t fThetaC
Definition:
PndDrcHit.h:52
PndDrcHit::fErrThetaC
Double_t fErrThetaC
Definition:
PndDrcHit.h:52
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndDrcHit::GetErrThetaC
virtual Double_t GetErrThetaC()
Definition:
PndDrcHit.h:43
PndDrcHit::fSensorId
Int_t fSensorId
Definition:
PndDrcHit.h:51
PndDrcHit::GetSensorId
Int_t GetSensorId()
Definition:
PndDrcHit.h:45
fY
Double_t fY
Definition:
PndCaloDraw.cxx:34
PndDrcHit::GetRefIndex
virtual Int_t GetRefIndex()
Definition:
PndDrcHit.h:44
PndDrcHit::Print
virtual void Print(const Option_t *opt="") const
Definition:
PndDrcHit.cxx:47
thetaC
Double_t thetaC
Definition:
plot_dirc.C:16
PndDrcHit::GetThetaC
virtual Double_t GetThetaC()
Definition:
PndDrcHit.h:42
Generated on Wed Apr 3 2019 10:02:49 for FairRoot/PandaRoot by
1.8.5