4 #ifndef tools_wroot_mpi_ntuple_column_wise
5 #define tools_wroot_mpi_ntuple_column_wise
13 #include "../S_STRING"
38 std::vector<icol*>& a_cols,
40 :
parent(a_mpi,a_dest,a_tag,a_id,a_icol)
47 :
branch::iadd_basket(a_from)
66 if(
m_cols.empty())
return false;
73 if(!(*it)->get_branch().pfill(_badd,
m_nev))
return false;
84 if(!(*it)->get_branch().end_pfill(_badd))
return false;
91 m_out <<
"tools::wroot::mpi_ntuple_column_wise::end_fill : it remained " << number <<
" baskets not written on file." << std::endl;
94 if(!status)
return false;
108 bool a_byte_swap,
uint32 a_compression,
seek a_seek_directory,
109 const std::string& a_name,
const std::string& a_title,
110 bool a_row_mode,
uint32 a_nev,
112 :
parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_name,a_title,a_verbose)
125 bool a_byte_swap,
uint32 a_compression,
seek a_seek_directory,
126 const std::vector<uint32>& a_basket_sizes,
const ntuple_booking& a_bkg,
127 bool a_row_mode,
uint32 a_nev,
129 :
parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_basket_sizes,a_bkg,a_verbose)
152 if(a_cols.empty())
return false;
154 branch& _branch = (*it)->get_branch();
162 if(!a_mpi.
pack(a_id))
return false;
167 branch& _branch = (*it)->get_branch();
173 delete _front_basket;
176 if(!status)
return false;
184 if(!
flush_baskets(a_mpi,a_dest,a_tag,a_id,a_cols))
return false;
188 branch& _branch = (*it)->get_branch();
192 branch& _branch = (*it)->get_branch();
203 bool set_done =
false;
205 TOOLS_WROOT_MPI_NTUPLE_LEAF_STRING_SET_LENGTH_MAX
209 if(!a_mpi.
pack((
int)0))
return false;
212 #undef TOOLS_WROOT_MPI_NTUPLE_SET_MAX
213 #undef TOOLS_WROOT_MPI_NTUPLE_STRING_SET_MAX