25 #include "GaudiKernel/IInterface.h"
26 #include "GaudiKernel/MsgStream.h"
37 return IID_IZdcRecNoiseTool;
44 const std::string&
name,
45 const IInterface*
parent) :
52 declareInterface<ZdcRecNoiseTool>(
this);
55 "Pedestal files directory");
57 "Pedestal file name");
81 infile.open(
str.data(), std::ifstream::in);
83 msg(MSG::ERROR) <<
"ZDC ---> No pedestal file available - aborting ";
109 msg(MSG::INFO) <<
"ZDC ---> Read " <<
i <<
" pedestal channels from file" ;
134 msg(MSG::ERROR) <<
"ZDC ---> Cannot create Pedestal File - aborting ";
146 id =
p->identify().get_identifier32().get_compact();
149 fadc00 =
p->get_digits_gain0_delay0();
150 fadc01 =
p->get_digits_gain0_delay1();
151 fadc10 =
p->get_digits_gain1_delay0();
152 fadc11 =
p->get_digits_gain1_delay1();
175 return StatusCode::SUCCESS;
183 return StatusCode::SUCCESS;