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(),
"TreeInjSigIntervalCnv");
45 log<<MSG::DEBUG<<
"SetProperty"<<endreq;
49 TBufferFile *buf1 =
new TBufferFile(TBuffer::kRead);
50 buf1->SetBuffer((*records)[
"SigInterval"],512000,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* Testtree=
new TTree();
57 Testtree->Streamer(*buf1);
66 Testtree->GetEntry(0);
72 return StatusCode::SUCCESS;
const CLID CLID_Calib_InjSigInterval
void setTInterval(int tInterval)
virtual DatabaseRecord * pp()
static const CLID & classID()
virtual StatusCode i_createObj(IOpaqueAddress *address, DataObject *&refpObject)
const CLID & objType() const
TreeInjSigIntervalCnv(ISvcLocator *svc)
curve SetBranchAddress("CurveSize",&CurveSize)