PandaRoot
PndSciTPoint.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 // ----- PndSciTpoint header file -----
15 // ----- created by A. Sanchez -----
16 // ----- modified by D. Steinschaden -----
17 // ----- last update 04.2015 -----
18 // --------------------------------------------------------------------------
19 
20 #ifndef PNDSCITPOINT_H
21 #define PNDSCITPOINT_H
22 
23 #include "TObject.h"
24 #include "TVector3.h"
25 #include "TLorentzVector.h"
26 #include "PndMCPoint.h"
27 #include "TString.h"
28 
29 class PndSciTPoint : public PndMCPoint {
30 
31  public:
32  //** Default constructor **/
33  PndSciTPoint();
34 
35  PndSciTPoint(Int_t eventID, Int_t trackID, Int_t detectorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length,
36  Double_t eLoss);
37 
38  //** Copy constructor **/
39  PndSciTPoint(const PndSciTPoint &point) : PndMCPoint(point), fDetName(point.fDetName) { *this = point; };
40 
41  //** Destructor **/
42  virtual ~PndSciTPoint();
43 
44  //** Accessors **/
45 
46  TString GetDetName() const { return fDetName; };
47 
49  virtual void Print(const Option_t *opt) const;
50 
51  protected:
52  TString fDetName;
53 
55 };
56 
57 #endif
TString fDetName
Definition: PndSciTPoint.h:52
TString GetDetName() const
Definition: PndSciTPoint.h:46
virtual ~PndSciTPoint()
ClassDef(PndMCPoint, 1)
virtual void Print(const Option_t *opt) const
PndSciTPoint(const PndSciTPoint &point)
Definition: PndSciTPoint.h:39