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"
42 DataObject*& refpObject) {
44 MsgStream log(
msgSvc(),
"RootInjSigTimeCnv");
45 log<<MSG::DEBUG<<
"SetProperty"<<endreq;
49 { log<<MSG::ERROR<<
"unable to open files"<<endreq;
65 TTree *tree = (TTree*)
m_inFile -> Get(
"ist");
66 tree->SetBranchAddress(
"IST", &IST);
67 tree->SetBranchAddress(
"flag", &
flag);
69 TTree *tree = (TTree*)
m_inFile -> Get(
"ist");
70 no = tree->GetEntries();
80 return StatusCode::SUCCESS;
86 MsgStream log(
msgSvc(),
"RootInjSigTimeCnv");
91 { log<<MSG::ERROR<<
"unable to open files"<<endreq;
94 log<<MSG::INFO<<
"successfully create RootFile"<<endreq;
const CLID CLID_Calib_InjSigTime
void setIST(const ULong64_t Ist)
void setFlag(const int flag)
void setNpar(const int npar)
StatusCode openRead(const std::string &fname)
virtual StatusCode openWrite(const std::string &fname)
virtual StatusCode i_createObj(const std::string &fname, DataObject *&refpObject)
static const CLID & classID()
virtual StatusCode createRoot(const std::string &fname, CalibData::CalibBase1 *pTDSObj)
RootInjSigTimeCnv(ISvcLocator *svc)
const CLID & objType() const