1#include "GaudiKernel/MsgStream.h"
12#include "GaudiKernel/CnvFactory.h"
13#include "GaudiKernel/IOpaqueAddress.h"
14#include "GaudiKernel/DataObject.h"
15#include "GaudiKernel/IAddressCreator.h"
16#include "GaudiKernel/IDataProviderSvc.h"
17#include "GaudiKernel/IConversionSvc.h"
18#include "GaudiKernel/GenericAddress.h"
42 DataObject*& refpObject) {
44 MsgStream log(
msgSvc(),
"TreeInjSigTimeCnv");
45 log<<MSG::DEBUG<<
"SetProperty"<<endreq;
49 TBufferFile *buf1 =
new TBufferFile(TBuffer::kRead);
50 buf1->SetBuffer((*records)[
"ist"],51200000,kFALSE);
52 std::cout<<
" SftVer is "<<(*records)[
"SftVer"];
53 std::cout<<
" CalVerSft is "<<(*records)[
"CalParVer"];
54 std::cout<<
" File name is "<<(*records)[
"FileName"]<<std::endl;
56 TTree* tree=
new TTree();
57 tree->Streamer(*buf1);
67 tree->SetBranchAddress(
"flag", &
flag);
68 tree->SetBranchAddress(
"IST", &IST);
70 no = tree->GetEntries();
81 return StatusCode::SUCCESS;
const CLID CLID_Calib_InjSigTime
void setIST(const ULong64_t Ist)
void setFlag(const int flag)
void setNpar(const int npar)
virtual DatabaseRecord * pp()
static const CLID & classID()
TreeInjSigTimeCnv(ISvcLocator *svc)
const CLID & objType() const
virtual StatusCode i_createObj(IOpaqueAddress *address, DataObject *&refpObject)