Create a Calibrations hierarchy
St_DataSet *CreateTable() {
// -----------------------------------------------------------------
// param_hierarchy Allocated rows: 4 Used rows: 4 Row size: 60 bytes
// Table: tables_hierarchy_st[0]--> tables_hierarchy_st[3]
// ====================================================================
// ------ Test whether this table share library was loaded ------
if (!gROOT->GetClass("St_tables_hierarchy")) return 0;
tables_hierarchy_st row;
St_tables_hierarchy *tableSet = new St_tables_hierarchy("Calib_hierarchy",4);
//
memset(&row,0,tableSet->GetRowSize());
memcpy(&row.tabname,"tpc",3);//
memcpy(&row.tabtype,".node",5);//
memcpy(&row.parname,"Calibrations",12);//
tableSet->AddAt(&row,0);
memset(&row,0,tableSet->GetRowSize());
memcpy(&row.tabname,"tpcSlowControlSim",17);//
memcpy(&row.tabtype,"tpcSlowControlSim",17);//
memcpy(&row.parname,"tpc",3);//
tableSet->AddAt(&row,1);
memset(&row,0,tableSet->GetRowSize());
memcpy(&row.tabname,"tpcDedxPidAmpDb",15);//
memcpy(&row.tabtype,"tpcDedxPidAmpDb",15);//
memcpy(&row.parname,"tpc",3);//
tableSet->AddAt(&row,2);
memset(&row,0,tableSet->GetRowSize());
memcpy(&row.tabname,"tpcDriftVelocity",16);//
memcpy(&row.tabtype,"tpcDriftVelocity",16);//
memcpy(&row.parname,"tpc",3);//
tableSet->AddAt(&row,3);
// ----------------- end of code ---------------
return (St_DataSet *)tableSet;
}
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.