46 DataObject*& refpObject) {
48 MsgStream log(
msgSvc(),
"TreeEmcCalibDataCnv");
49 log<<MSG::DEBUG<<
"SetProperty"<<endreq;
55 TBufferFile *buf1 =
new TBufferFile(TBuffer::kRead);
56 buf1->SetBuffer((*records)[
"DigiCalibConst"],512000,kFALSE);
58 std::cout<<
" SftVer is "<<(*records)[
"SftVer"];
59 std::cout<<
" CalVerSft is "<<(*records)[
"CalParVer"];
60 std::cout<<
" File name is "<<(*records)[
"FileName"]<<std::endl;
62 TTree* Digitree=
new TTree();
64 Digitree->Streamer(*buf1);
81 double EmcCalibConst[6240];
82 int EmcIxtalNumber[6240];
83 vector<double> DigiCalibConst;
84 vector<int> IxtalNumber;
85 Digitree->SetBranchAddress(
"DigiCalibConst", EmcCalibConst);
88 for(i=0; i<6240; i++){
89 DigiCalibConst.push_back(EmcCalibConst[i]);
90 IxtalNumber.push_back(EmcIxtalNumber[i]);
92 tmpObject -> setDigiCalibConst(&DigiCalibConst);
93 tmpObject -> setIxtalNumber(&IxtalNumber);
97 return StatusCode::SUCCESS;