PandaRoot
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
#ifndef PNDDRCEVPOINT_H
7
#define PNDDRCEVPOINT_H
8
9
#include "TObject.h"
10
#include "TVector3.h"
11
#include "FairMCPoint.h"
12
13
class
PndDrcEVPoint
:
public
FairMCPoint {
14
15
public
:
17
PndDrcEVPoint
();
18
29
PndDrcEVPoint
(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Int_t pdgCode, Int_t eventID, Double_t timestart, Double_t timestartEV,
30
Double_t VeloPhoton, TVector3 normal = TVector3(0, 0, 0));
31
33
// PndDrcEVPoint(const PndDrcEVPoint& point) { *this = point; }; // not needed
34
36
virtual
~PndDrcEVPoint
();
37
39
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
40
// TVector3 GetMomAtEV() const{ return fmomAtEV; };
41
TVector3
GetNormal
() {
return
fNormal
; };
42
Int_t
GetDetectorID
()
const
{
return
fDetectorID; };
43
virtual
Double_t
GetTimeStart
() {
return
fTimeStart
; }
44
virtual
Double_t
GetTimeAtEVEntrance
() {
return
fTimeAtEVEntrance
; }
45
virtual
Double_t
GetVeloPhoton
() {
return
fVeloPhoton
; }
46
48
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
49
51
// virtual void Print(const Option_t* opt = 0) const = 0;
52
virtual
void
Print
(
const
Option_t *opt)
const
;
53
54
protected
:
55
Int_t
fPdgCode
;
56
Double_t
fTimeStart
;
57
Double_t
fTimeAtEVEntrance
;
58
Double_t
fVeloPhoton
;
59
TVector3
fNormal
;
60
// TVector3 fmomAtEV;
61
62
ClassDef(
PndDrcEVPoint
, 1)
63
};
64
65
#endif
PndDrcEVPoint
Definition:
PndDrcEVPoint.h:13
PndDrcEVPoint::GetDetectorID
Int_t GetDetectorID() const
Definition:
PndDrcEVPoint.h:42
PndDrcEVPoint::fVeloPhoton
Double_t fVeloPhoton
Definition:
PndDrcEVPoint.h:58
PndDrcEVPoint::fNormal
TVector3 fNormal
Definition:
PndDrcEVPoint.h:59
PndDrcEVPoint::fTimeAtEVEntrance
Double_t fTimeAtEVEntrance
Definition:
PndDrcEVPoint.h:57
PndDrcEVPoint::GetTimeStart
virtual Double_t GetTimeStart()
Definition:
PndDrcEVPoint.h:43
PndDrcEVPoint::PndDrcEVPoint
PndDrcEVPoint()
PndDrcEVPoint::GetVeloPhoton
virtual Double_t GetVeloPhoton()
Definition:
PndDrcEVPoint.h:45
PndDrcEVPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcEVPoint.h:39
PndDrcEVPoint::~PndDrcEVPoint
virtual ~PndDrcEVPoint()
PndDrcEVPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcEVPoint.h:55
PndDrcEVPoint::GetTimeAtEVEntrance
virtual Double_t GetTimeAtEVEntrance()
Definition:
PndDrcEVPoint.h:44
PndDrcEVPoint::GetNormal
TVector3 GetNormal()
Definition:
PndDrcEVPoint.h:41
PndDrcEVPoint::fTimeStart
Double_t fTimeStart
Definition:
PndDrcEVPoint.h:56
PndDrcEVPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcEVPoint.h:48
PndDrcEVPoint::Print
virtual void Print(const Option_t *opt) const
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcEVPoint.h
Generated on Fri Oct 21 2022 07:03:57 for PandaRoot by
1.8.13