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;
70  Double_t fVeloPhoton;
71  TVector3 fNormal;
72  // TVector3 fmomAtEV;
73 
74  ClassDef(PndDrcEVPoint, 1)
75 };
76 
77 #endif
Int_t GetDetectorID() const
Definition: PndDrcEVPoint.h:54
Double_t fVeloPhoton
Definition: PndDrcEVPoint.h:70
TVector3 fNormal
Definition: PndDrcEVPoint.h:71
Double_t fTimeAtEVEntrance
Definition: PndDrcEVPoint.h:69
virtual Double_t GetTimeStart()
Definition: PndDrcEVPoint.h:55
virtual Double_t GetVeloPhoton()
Definition: PndDrcEVPoint.h:57
Int_t GetPdgCode() const
Definition: PndDrcEVPoint.h:51
virtual ~PndDrcEVPoint()
virtual Double_t GetTimeAtEVEntrance()
Definition: PndDrcEVPoint.h:56
TVector3 GetNormal()
Definition: PndDrcEVPoint.h:53
Double_t fTimeStart
Definition: PndDrcEVPoint.h:68
void SetPdgCode(Int_t id)
Definition: PndDrcEVPoint.h:60
virtual void Print(const Option_t *opt) const