PandaRoot
PndDrcEVPoint.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
// ----- PndDrcEVPoint header file -----
15
// ----- Created 16/06/13 by H. Kumawat -----
16
// -------------------------------------------------------------------------
17
18
#ifndef PNDDRCEVPOINT_H
19
#define PNDDRCEVPOINT_H
20
21
#include "TObject.h"
22
#include "TVector3.h"
23
#include "FairMCPoint.h"
24
25
class
PndDrcEVPoint
:
public
FairMCPoint {
26
27
public
:
29
PndDrcEVPoint
();
30
41
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,
42
Double_t VeloPhoton, TVector3 normal = TVector3(0, 0, 0));
43
45
// PndDrcEVPoint(const PndDrcEVPoint& point) { *this = point; }; // not needed
46
48
virtual
~PndDrcEVPoint
();
49
51
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
52
// TVector3 GetMomAtEV() const{ return fmomAtEV; };
53
TVector3
GetNormal
() {
return
fNormal
; };
54
Int_t
GetDetectorID
()
const
{
return
fDetectorID; };
55
virtual
Double_t
GetTimeStart
() {
return
fTimeStart
; }
56
virtual
Double_t
GetTimeAtEVEntrance
() {
return
fTimeAtEVEntrance
; }
57
virtual
Double_t
GetVeloPhoton
() {
return
fVeloPhoton
; }
58
60
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
61
63
// virtual void Print(const Option_t* opt = 0) const = 0;
64
virtual
void
Print
(
const
Option_t *opt)
const
;
65
66
protected
:
67
Int_t
fPdgCode
;
68
Double_t
fTimeStart
;
69
Double_t
fTimeAtEVEntrance
;
70
Double_t
fVeloPhoton
;
71
TVector3
fNormal
;
72
// TVector3 fmomAtEV;
73
74
ClassDef(
PndDrcEVPoint
, 1)
75
};
76
77
#endif
PndDrcEVPoint
Definition:
PndDrcEVPoint.h:25
PndDrcEVPoint::GetDetectorID
Int_t GetDetectorID() const
Definition:
PndDrcEVPoint.h:54
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:55
PndDrcEVPoint::PndDrcEVPoint
PndDrcEVPoint()
PndDrcEVPoint::GetVeloPhoton
virtual Double_t GetVeloPhoton()
Definition:
PndDrcEVPoint.h:57
PndDrcEVPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcEVPoint.h:51
PndDrcEVPoint::~PndDrcEVPoint
virtual ~PndDrcEVPoint()
PndDrcEVPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcEVPoint.h:67
PndDrcEVPoint::GetTimeAtEVEntrance
virtual Double_t GetTimeAtEVEntrance()
Definition:
PndDrcEVPoint.h:56
PndDrcEVPoint::GetNormal
TVector3 GetNormal()
Definition:
PndDrcEVPoint.h:53
PndDrcEVPoint::fTimeStart
Double_t fTimeStart
Definition:
PndDrcEVPoint.h:68
PndDrcEVPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcEVPoint.h:60
PndDrcEVPoint::Print
virtual void Print(const Option_t *opt) const
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcEVPoint.h
Generated on Fri Nov 29 2024 06:04:40 for PandaRoot by
1.8.13