PandaRoot
PndSciTPoint.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // ----- PndSciTpoint header file -----
3 // ----- created by A. Sanchez -----
4 // ----- modified by D. Steinschaden -----
5 // ----- last update 04.2015 -----
6 // --------------------------------------------------------------------------
7 
8 #ifndef PNDSCITPOINT_H
9 #define PNDSCITPOINT_H
10 
11 #include "TObject.h"
12 #include "TVector3.h"
13 #include "TLorentzVector.h"
14 #include "PndMCPoint.h"
15 #include "TString.h"
16 
17 class PndSciTPoint : public PndMCPoint {
18 
19  public:
20  //** Default constructor **/
21  PndSciTPoint();
22 
23  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,
24  Double_t eLoss);
25 
26  //** Copy constructor **/
27  PndSciTPoint(const PndSciTPoint &point) : PndMCPoint(point), fDetName(point.fDetName) { *this = point; };
28 
29  //** Destructor **/
30  virtual ~PndSciTPoint();
31 
32  //** Accessors **/
33 
34  TString GetDetName() const { return fDetName; };
35 
37  virtual void Print(const Option_t *opt) const;
38 
39  protected:
40  TString fDetName;
41 
43 };
44 
45 #endif
TString fDetName
Definition: PndSciTPoint.h:40
TString GetDetName() const
Definition: PndSciTPoint.h:34
virtual ~PndSciTPoint()
ClassDef(PndMCPoint, 1)
virtual void Print(const Option_t *opt) const
PndSciTPoint(const PndSciTPoint &point)
Definition: PndSciTPoint.h:27