FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
DrcData
PndDrcEVPoint.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndDrcEVPoint header file -----
3
// ----- Created 16/06/13 by H. Kumawat -----
4
// -------------------------------------------------------------------------
5
6
7
8
#ifndef PNDDRCEVPOINT_H
9
#define PNDDRCEVPOINT_H
10
11
#include "TObject.h"
12
#include "TVector3.h"
13
#include "FairMCPoint.h"
14
15
class
PndDrcEVPoint
:
public
FairMCPoint
16
{
17
18
public
:
19
21
PndDrcEVPoint
();
22
23
34
PndDrcEVPoint
(Int_t trackID, Int_t detID, TVector3
pos
, TVector3
mom
,
35
Double_t
tof,
Double_t
length, Int_t pdgCode, Int_t eventID,
Double_t
timestart,
Double_t
timestartEV,
Double_t
VeloPhoton,TVector3 normal=TVector3(0,0,0));
36
37
39
// PndDrcEVPoint(const PndDrcEVPoint& point) { *this = point; }; // not needed
40
41
43
virtual
~PndDrcEVPoint
();
44
45
47
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
48
// TVector3 GetMomAtEV() const{ return fmomAtEV; };
49
TVector3
GetNormal
() {
return
fNormal
; };
50
Int_t
GetDetectorID
()
const
{
return
fDetectorID; };
51
virtual
Double_t
GetTimeStart
() {
return
fTimeStart
;}
52
virtual
Double_t
GetTimeAtEVEntrance
() {
return
fTimeAtEVEntrance
;}
53
virtual
Double_t
GetVeloPhoton
() {
return
fVeloPhoton
;}
54
55
57
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
58
59
61
// virtual void Print(const Option_t* opt = 0) const = 0;
62
virtual
void
Print
(
const
Option_t* opt)
const
;
63
64
65
protected
:
66
67
Int_t
fPdgCode
;
68
Double_t
fTimeStart
;
69
Double_t
fTimeAtEVEntrance
;
70
Double_t
fVeloPhoton
;
71
TVector3
fNormal
;
72
// TVector3 fmomAtEV;
73
74
75
76
ClassDef(
PndDrcEVPoint
,1)
77
78
};
79
80
#endif
PndDrcEVPoint
Definition:
PndDrcEVPoint.h:15
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
PndDrcEVPoint::fVeloPhoton
Double_t fVeloPhoton
Definition:
PndDrcEVPoint.h:70
PndDrcEVPoint::fNormal
TVector3 fNormal
Definition:
PndDrcEVPoint.h:71
PndDrcEVPoint::fTimeAtEVEntrance
Double_t fTimeAtEVEntrance
Definition:
PndDrcEVPoint.h:69
PndDrcEVPoint::GetTimeStart
virtual Double_t GetTimeStart()
Definition:
PndDrcEVPoint.h:51
PndDrcEVPoint::GetDetectorID
Int_t GetDetectorID() const
Definition:
PndDrcEVPoint.h:50
mom
Double_t mom
Definition:
plot_dirc.C:14
PndDrcEVPoint::PndDrcEVPoint
PndDrcEVPoint()
Definition:
PndDrcEVPoint.cxx:15
PndDrcEVPoint::GetVeloPhoton
virtual Double_t GetVeloPhoton()
Definition:
PndDrcEVPoint.h:53
PndDrcEVPoint::~PndDrcEVPoint
virtual ~PndDrcEVPoint()
Definition:
PndDrcEVPoint.cxx:40
PndDrcEVPoint::Print
virtual void Print(const Option_t *opt) const
Definition:
PndDrcEVPoint.cxx:45
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndDrcEVPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcEVPoint.h:67
PndDrcEVPoint::GetTimeAtEVEntrance
virtual Double_t GetTimeAtEVEntrance()
Definition:
PndDrcEVPoint.h:52
PndDrcEVPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcEVPoint.h:47
PndDrcEVPoint::GetNormal
TVector3 GetNormal()
Definition:
PndDrcEVPoint.h:49
PndDrcEVPoint::fTimeStart
Double_t fTimeStart
Definition:
PndDrcEVPoint.h:68
PndDrcEVPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcEVPoint.h:57
Generated on Wed Apr 3 2019 10:02:49 for FairRoot/PandaRoot by
1.8.5