|
ATLAS Offline Software
|
Go to the documentation of this file.
26 #include "GaudiKernel/IInterface.h"
27 #include "GaudiKernel/MsgStream.h"
39 return IID_IZdcRecNoiseTool;
46 const std::string&
name,
47 const IInterface*
parent) :
54 declareInterface<ZdcRecNoiseTool>(
this);
57 "Pedestal files directory");
59 "Pedestal file name");
83 infile.open(
str.data(), std::ifstream::in);
85 msg(MSG::ERROR) <<
"ZDC ---> No pedestal file available - aborting ";
100 infile.read ((
char *)&fadc10[0],
sz);
101 infile.read ((
char *)&fadc11[0],
sz);
111 msg(MSG::INFO) <<
"ZDC ---> Read " <<
i <<
" pedestal channels from file" ;
136 msg(MSG::ERROR) <<
"ZDC ---> Cannot create Pedestal File - aborting ";
148 id =
p->identify().get_identifier32().get_compact();
151 fadc00 =
p->get_digits_gain0_delay0();
152 fadc01 =
p->get_digits_gain0_delay1();
153 fadc10 =
p->get_digits_gain1_delay0();
154 fadc11 =
p->get_digits_gain1_delay1();
177 return StatusCode::SUCCESS;
185 return StatusCode::SUCCESS;
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
::StatusCode StatusCode
StatusCode definition for legacy code.
void set_digits_gain1_delay0(const std::vector< int > &v)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
void set_digits_gain0_delay1(const std::vector< int > &v)
void set_digits_gain0_delay0(const std::vector< int > &v)