PandaRoot
PndDrcPDPoint.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
// -------------------------------------------------------------------------
14
// ----- PndDrcPDPoint header file -----
15
// ----- Created 09/04/08 by E. Fioravanti and A. Cecchi -----
16
// -------------------------------------------------------------------------
17
21
#ifndef PNDDRCPDPOINT_H
22
#define PNDDRCPDPOINT_H
23
24
#include "TObject.h"
25
#include "TVector3.h"
26
#include "FairMCPoint.h"
27
28
class
PndDrcPDPoint
:
public
FairMCPoint {
29
30
public
:
32
PndDrcPDPoint
();
33
44
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,
45
Int_t pdgCode, Int_t eventID);
46
48
// PndDrcPDPoint(const PndDrcPDPoint& point) { *this = point; }; // not needed
49
51
virtual
~PndDrcPDPoint
();
52
54
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
55
TVector3
GetMomAtEV
()
const
{
return
fmomAtEV
; };
56
Double_t
GetTimeAtEV
()
const
{
return
ftimeAtEV
; };
57
Int_t
GetDetectorID
()
const
{
return
fDetectorID; };
58
Int_t
GetBarPointID
()
const
{
return
fBarPointId
; };
59
Int_t
GetMcpId
()
const
{
return
fMcpId
; };
60
62
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
63
65
// virtual void Print(const Option_t* opt = 0) const = 0;
66
virtual
void
Print
(
const
Option_t *opt)
const
;
67
68
protected
:
69
Int_t
fPdgCode
;
70
Int_t
fMcpId
;
71
Int_t
fBarPointId
;
72
TVector3
fmomAtEV
;
73
Double_t
ftimeAtEV
;
74
75
ClassDef(
PndDrcPDPoint
, 3)
76
};
77
78
#endif
PndDrcPDPoint::fmomAtEV
TVector3 fmomAtEV
Definition:
PndDrcPDPoint.h:72
PndDrcPDPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcPDPoint.h:69
PndDrcPDPoint::ftimeAtEV
Double_t ftimeAtEV
Definition:
PndDrcPDPoint.h:73
PndDrcPDPoint
Definition:
PndDrcPDPoint.h:28
PndDrcPDPoint::GetMcpId
Int_t GetMcpId() const
Definition:
PndDrcPDPoint.h:59
PndDrcPDPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcPDPoint.h:62
PndDrcPDPoint::Print
virtual void Print(const Option_t *opt) const
PndDrcPDPoint::PndDrcPDPoint
PndDrcPDPoint()
PndDrcPDPoint::GetMomAtEV
TVector3 GetMomAtEV() const
Definition:
PndDrcPDPoint.h:55
PndDrcPDPoint::fBarPointId
Int_t fBarPointId
Definition:
PndDrcPDPoint.h:71
PndDrcPDPoint::GetTimeAtEV
Double_t GetTimeAtEV() const
Definition:
PndDrcPDPoint.h:56
PndDrcPDPoint::GetDetectorID
Int_t GetDetectorID() const
Definition:
PndDrcPDPoint.h:57
PndDrcPDPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcPDPoint.h:54
PndDrcPDPoint::fMcpId
Int_t fMcpId
Definition:
PndDrcPDPoint.h:70
PndDrcPDPoint::GetBarPointID
Int_t GetBarPointID() const
Definition:
PndDrcPDPoint.h:58
PndDrcPDPoint::~PndDrcPDPoint
virtual ~PndDrcPDPoint()
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcPDPoint.h
Generated on Fri Nov 29 2024 06:04:40 for PandaRoot by
1.8.13