CbmRoot
CbmPsdMCbmHit.cxx
Go to the documentation of this file.
1 
6 #include "CbmPsdMCbmHit.h"
7 
8 #include <TObject.h> // for TObject
9 
10 #include <sstream>
11 
12 using namespace std;
13 
14 // ----- Default constructor
16  : TObject(), fuModuleId(0), fuSectionId(0), fdEdep(-1.), fdTime(-1.) {}
17 
18 
19 // ----- Constructor with parameters
21  UInt_t SectionId,
22  Double_t Edep,
23  Double_t Time)
24  : TObject()
25  , fuModuleId(ModuleId)
26  , fuSectionId(SectionId)
27  , fdEdep(Edep)
28  , fdTime(Time) {}
29 
30 
31 // ----- Destructor
33 
34 
35 // --- String output
36 string CbmPsdMCbmHit::ToString() const {
37  stringstream ss;
38  //ss << "PsdHit: address " << GetAddress() << " | time " << GetTime()
39  // << " +- " << GetTimeError();
40  return ss.str();
41 }
42 
43 
CbmPsdMCbmHit::ToString
virtual std::string ToString() const
Definition: CbmPsdMCbmHit.cxx:36
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmPsdMCbmHit.h
CbmPsdMCbmHit
data class for hit information in PSD
Definition: CbmPsdMCbmHit.h:24
CbmPsdMCbmHit::CbmPsdMCbmHit
CbmPsdMCbmHit()
Definition: CbmPsdMCbmHit.cxx:15
CbmPsdMCbmHit::~CbmPsdMCbmHit
virtual ~CbmPsdMCbmHit()
Definition: CbmPsdMCbmHit.cxx:32