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 -------------------------------------------
18CbmPsdHit::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}
24CbmPsdHit::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 ----------------------------------------------------
36// -------------------------------------------------------------------------
37
38void CbmPsdHit::Print(Option_t*) const { LOG(info) << "module : " << fModuleID << " ELoss " << fEdep; }
39
ClassImp(CbmConverterManager)
virtual ~CbmPsdHit()
Definition CbmPsdHit.cxx:35
double fEdep
Definition CbmPsdHit.h:55
void Print(Option_t *="") const
Definition CbmPsdHit.cxx:38
int32_t fModuleID
Definition CbmPsdHit.h:54