1#include "GaudiKernel/MsgStream.h"
11#include "GaudiKernel/CnvFactory.h"
12#include "GaudiKernel/IOpaqueAddress.h"
13#include "GaudiKernel/DataObject.h"
14#include "GaudiKernel/IAddressCreator.h"
15#include "GaudiKernel/IDataProviderSvc.h"
16#include "GaudiKernel/IConversionSvc.h"
17#include "GaudiKernel/GenericAddress.h"
41 DataObject*& refpObject) {
43 MsgStream log(
msgSvc(),
"RootInjSigIntervalCnv");
44 log<<MSG::DEBUG<<
"SetProperty"<<endreq;
48 { log<<MSG::ERROR<<
"unable to open files"<<endreq;
58 TTree *tree = (TTree*)
m_inFile -> Get(
"interval");
59 tree->SetBranchAddress(
"tInterval", &tInterval);
66 return StatusCode::SUCCESS;
72 MsgStream log(
msgSvc(),
"RootInjSigIntervalCnv");
77 { log<<MSG::ERROR<<
"unable to open files"<<endreq;
79 log<<MSG::INFO<<
"successfully create RootFile"<<endreq;
const CLID CLID_Calib_InjSigInterval
void setTInterval(int tInterval)
StatusCode openRead(const std::string &fname)
virtual StatusCode openWrite(const std::string &fname)
const CLID & objType() const
virtual StatusCode i_createObj(const std::string &fname, DataObject *&refpObject)
virtual StatusCode createRoot(const std::string &fname, CalibData::CalibBase1 *pTDSObj)
RootInjSigIntervalCnv(ISvcLocator *svc)
static const CLID & classID()