FACT++  1.0
bool EventBuilderWrapper::IncreaseRunNumber ( uint32_t  run)
inline

Definition at line 1102 of file EventBuilderWrapper.h.

References MessageImp::Error(), and run.

1103  {
1104  if (!InitRunNumber())
1105  return false;
1106 
1107  if (run<fRunNumber)
1108  {
1109  ostringstream msg;
1110  msg <<
1111  "Run number " << run << " smaller than next available "
1112  "run number " << fRunNumber << " in " << fPath << " [" << fNightAsInt << "]";
1113  fMsg.Error(msg);
1114  return false;
1115  }
1116 
1117  fRunNumber = run;
1118 
1119  return true;
1120  }
int Error(const std::string &str)
Definition: MessageImp.h:49
static int run
Definition: dim_fork.cxx:9
bool InitRunNumber(const string &path="")

+ Here is the call graph for this function: