PandaRoot
PndDrcPDPoint.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndDrcPDPoint header file -----
3
// ----- Created 09/04/08 by E. Fioravanti and A. Cecchi -----
4
// -------------------------------------------------------------------------
5
9
#ifndef PNDDRCPDPOINT_H
10
#define PNDDRCPDPOINT_H
11
12
#include "TObject.h"
13
#include "TVector3.h"
14
#include "FairMCPoint.h"
15
16
class
PndDrcPDPoint
:
public
FairMCPoint {
17
18
public
:
20
PndDrcPDPoint
();
21
32
PndDrcPDPoint
(Int_t trackID, Int_t detID, Int_t mcpId, Int_t barPintId, TVector3 pos, TVector3 mom, TVector3 momAtEV, Double_t timeAtEV, Double_t tof, Double_t length,
33
Int_t pdgCode, Int_t eventID);
34
36
// PndDrcPDPoint(const PndDrcPDPoint& point) { *this = point; }; // not needed
37
39
virtual
~PndDrcPDPoint
();
40
42
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
43
TVector3
GetMomAtEV
()
const
{
return
fmomAtEV
; };
44
Double_t
GetTimeAtEV
()
const
{
return
ftimeAtEV
; };
45
Int_t
GetDetectorID
()
const
{
return
fDetectorID; };
46
Int_t
GetBarPointID
()
const
{
return
fBarPointId
; };
47
Int_t
GetMcpId
()
const
{
return
fMcpId
; };
48
50
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
51
53
// virtual void Print(const Option_t* opt = 0) const = 0;
54
virtual
void
Print
(
const
Option_t *opt)
const
;
55
56
protected
:
57
Int_t
fPdgCode
;
58
Int_t
fMcpId
;
59
Int_t
fBarPointId
;
60
TVector3
fmomAtEV
;
61
Double_t
ftimeAtEV
;
62
63
ClassDef(
PndDrcPDPoint
, 3)
64
};
65
66
#endif
PndDrcPDPoint::fmomAtEV
TVector3 fmomAtEV
Definition:
PndDrcPDPoint.h:60
PndDrcPDPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcPDPoint.h:57
PndDrcPDPoint::ftimeAtEV
Double_t ftimeAtEV
Definition:
PndDrcPDPoint.h:61
PndDrcPDPoint
Definition:
PndDrcPDPoint.h:16
PndDrcPDPoint::GetMcpId
Int_t GetMcpId() const
Definition:
PndDrcPDPoint.h:47
PndDrcPDPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcPDPoint.h:50
PndDrcPDPoint::Print
virtual void Print(const Option_t *opt) const
PndDrcPDPoint::PndDrcPDPoint
PndDrcPDPoint()
PndDrcPDPoint::GetMomAtEV
TVector3 GetMomAtEV() const
Definition:
PndDrcPDPoint.h:43
PndDrcPDPoint::fBarPointId
Int_t fBarPointId
Definition:
PndDrcPDPoint.h:59
PndDrcPDPoint::GetTimeAtEV
Double_t GetTimeAtEV() const
Definition:
PndDrcPDPoint.h:44
PndDrcPDPoint::GetDetectorID
Int_t GetDetectorID() const
Definition:
PndDrcPDPoint.h:45
PndDrcPDPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcPDPoint.h:42
PndDrcPDPoint::fMcpId
Int_t fMcpId
Definition:
PndDrcPDPoint.h:58
PndDrcPDPoint::GetBarPointID
Int_t GetBarPointID() const
Definition:
PndDrcPDPoint.h:46
PndDrcPDPoint::~PndDrcPDPoint
virtual ~PndDrcPDPoint()
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcPDPoint.h
Generated on Fri Oct 21 2022 07:03:58 for PandaRoot by
1.8.13