er  dev
ERDigi.cxx
1 /********************************************************************************
2  * Copyright (C) Joint Institute for Nuclear Research *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #include "ERDigi.h"
10 
11 #include "FairLogger.h"
12 //--------------------------------------------------------------------------------
13 ERDigi::ERDigi(float edep, float time, unsigned short channel)
14  : fEdep(edep), fTime(time), fChannel(channel)
15 {}
16 //--------------------------------------------------------------------------------
17 void ERDigi::Print() const {
18  LOG(INFO) << "ERDigi: edep = " << fEdep << ", time = " << fTime
19  << ", channel = " << fChannel << FairLogger::endl;
20 }
21 //--------------------------------------------------------------------------------
22 ClassImp(ERDigi)
Definition: ERDigi.h:15
void Print() const
Definition: ERDigi.cxx:17