Ejemplo n.º 1
0
void BkgFitterTracker::DumpBkgModelRegionInfo (char *results_folder, int flow, bool last_flow, 
    FlowBlockSequence::const_iterator flow_block) const
{
  // get some regional data for the entire chip as debug
  // should be triggered by bkgmodel
  if ( last_flow || flow + 1 == flow_block->end() )
  {
    DumpBkgModelRegionParameters (results_folder, flow, flow_block->size() );
    DumpBkgModelDarkMatter (results_folder,  flow);
    DumpBkgModelEmphasisTiming (results_folder, flow);
    DumpBkgModelEmptyTrace (results_folder, flow, flow_block->size() );
    DumpBkgModelInitVals (results_folder, flow);
  }
}
Ejemplo n.º 2
0
void BkgFitterTracker::DumpBkgModelRegionInfo (char *results_folder, int flow, bool last_flow)
{
  // get some regional data for the entire chip as debug
  // only do this every 20 flows as this is the block
  // should be triggered by bkgmodel
  if (CheckFlowForWrite (flow,last_flow))
  {
    DumpBkgModelRegionParameters (results_folder, flow);
    DumpBkgModelDarkMatter (results_folder,  flow);
    DumpBkgModelEmphasisTiming (results_folder, flow);
    DumpBkgModelEmptyTrace (results_folder,flow);
    DumpBkgModelInitVals (results_folder, flow);
  }
}