CbmRoot
Loading...
Searching...
No Matches
CbmPsdHit.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2012-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Alla Maevskaya, Volker Friese [committer], Florian Uhlig */
4
11
#include "
CbmPsdHit.h
"
12
13
#include <Logger.h>
// for Logger, LOG
14
15
#include <TObject.h>
// for TObject
16
17
// ----- Default constructor -------------------------------------------
18
CbmPsdHit::CbmPsdHit
() : TObject(), fModuleID(-1), fEdep(-1)
// SELIM: simplification vector [49] -> simple double
19
{
20
21
//for (int32_t j=0; j<49; j++) // SELIM: simplification vector [49] -> simple double
22
// fEdep[j]=0;
23
}
24
CbmPsdHit::CbmPsdHit
(int32_t module,
double
edep)
25
: TObject()
26
, fModuleID(module)
27
, fEdep(edep)
// SELIM: simplification vector [49] -> simple double
28
{
29
//for (int32_t j=0; j<49; j++) // SELIM: simplification vector [49] -> simple double
30
//fEdep[j] = edep;
31
}
32
33
34
// ----- Destructor ----------------------------------------------------
35
CbmPsdHit::~CbmPsdHit
() {}
36
// -------------------------------------------------------------------------
37
38
void
CbmPsdHit::Print
(Option_t*)
const
{ LOG(info) <<
"module : "
<<
fModuleID
<<
" ELoss "
<<
fEdep
; }
39
40
ClassImp
(
CbmPsdHit
)
ClassImp
ClassImp(CbmConverterManager)
CbmPsdHit.h
CbmPsdHit
Definition
CbmPsdHit.h:25
CbmPsdHit::~CbmPsdHit
virtual ~CbmPsdHit()
Definition
CbmPsdHit.cxx:35
CbmPsdHit::CbmPsdHit
CbmPsdHit()
Definition
CbmPsdHit.cxx:18
CbmPsdHit::fEdep
double fEdep
Definition
CbmPsdHit.h:55
CbmPsdHit::Print
void Print(Option_t *="") const
Definition
CbmPsdHit.cxx:38
CbmPsdHit::fModuleID
int32_t fModuleID
Definition
CbmPsdHit.h:54
core
data
psd
CbmPsdHit.cxx
Generated on Sun Dec 22 2024 23:04:08 for CbmRoot by
1.12.0