PandaRoot
PndSdsRadDamHit.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  * PndSdsRadDamHit.h
15  *
16  * Created on: Dec 16, 2008
17  * Author: stockman
18  */
19 
20 #ifndef PNDSDSRADDAMHIT_H_
21 #define PNDSDSRADDAMHIT_H_
22 
23 #include <TObject.h>
24 #include <TString.h>
25 #include <TVector3.h>
26 
27 class PndSdsRadDamHit : public TObject {
28  public:
30  PndSdsRadDamHit(Int_t trackID, Int_t hitID, TString detName, Int_t pdgCode, Double_t energy, TVector3 pos, TVector3 mom, Double_t radDam);
31  virtual ~PndSdsRadDamHit(){};
32 
33  void SetRadDam(Double_t radDam) { fRadDam = radDam; };
34  Double_t GetRadDam() { return fRadDam; };
35 
36  private:
37  Int_t fTrackID;
38  Int_t fHitID;
39  TString fDetName;
40  Int_t fPdgCode;
41  Double_t fEnergy;
42  TVector3 fPos;
43  TVector3 fMom;
44  Double_t fRadDam;
45 
46  ClassDef(PndSdsRadDamHit, 2);
47 };
48 
49 #endif /* PNDSDSRADDAMHIT_H_ */
virtual ~PndSdsRadDamHit()
void SetRadDam(Double_t radDam)
Double_t GetRadDam()