CbmRoot
CbmPsdHit.cxx
Go to the documentation of this file.
1 
8 #include "CbmPsdHit.h"
9 
10 #include <FairLogger.h> // for Logger, LOG
11 
12 #include <TObject.h> // for TObject
13 
14 // ----- Default constructor -------------------------------------------
16  : TObject()
17  , fModuleID(-1)
18  , fEdep(-1) // SELIM: simplification vector [49] -> simple double
19 {
20 
21  //for (Int_t j=0; j<49; j++) // SELIM: simplification vector [49] -> simple double
22  // fEdep[j]=0;
23 }
24 CbmPsdHit::CbmPsdHit(Int_t module, Double_t edep)
25  : TObject()
26  , fModuleID(module)
27  , fEdep(edep) // SELIM: simplification vector [49] -> simple double
28 {
29  //for (Int_t j=0; j<49; j++) // SELIM: simplification vector [49] -> simple double
30  //fEdep[j] = edep;
31 }
32 
33 
34 // ----- Destructor ----------------------------------------------------
36 // -------------------------------------------------------------------------
37 
38 void CbmPsdHit::Print(Option_t*) const {
39  LOG(info) << "module : " << fModuleID << " ELoss " << fEdep;
40 }
41 
CbmPsdHit::Print
void Print(Option_t *="") const
Definition: CbmPsdHit.cxx:38
CbmPsdHit.h
CbmPsdHit::CbmPsdHit
CbmPsdHit()
Definition: CbmPsdHit.cxx:15
CbmPsdHit::fModuleID
Int_t fModuleID
Definition: CbmPsdHit.h:51
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmPsdHit::fEdep
Double_t fEdep
Definition: CbmPsdHit.h:53
CbmPsdHit::~CbmPsdHit
virtual ~CbmPsdHit()
Definition: CbmPsdHit.cxx:35
CbmPsdHit
Definition: CbmPsdHit.h:20