FACT++  1.0
bool DataCalib::ResetTrgOff ( DimDescribedService dim,
DimDescribedService runs 
)
static

Definition at line 35 of file DataCalib.cc.

References fData, and i.

Referenced by EventBuilderWrapper::ResetSecondaryDrsBaseline().

36 {
37  if (fData.fStep!=3)
38  return false;
39 
40  for (int i=1024*1440*4+4; i<1440*1024*6+160*1024*2+4; i++)
41  fStats[i] = 0;
42 
43  reinterpret_cast<uint32_t*>(fStats.data())[0] = 0;
44  reinterpret_cast<uint32_t*>(fStats.data())[3] = 0;
45 
46  fData.fStep = 1;
47  fData.fDateRunBeg[2] = "1970-01-01T00:00:00";
48  fData.fDateRunEnd[2] = "1970-01-01T00:00:00";
50  Update(dim, runs);
51  fData.fStep = 2;
52 
53  return true;
54 }
static std::vector< float > fStats
Definition: DataCalib.h:15
std::string fDateEnd
Definition: DrsCalib.h:1324
int i
Definition: db_dim_client.c:21
static DrsCalibration fData
Definition: DataCalib.h:13
std::string fDateRunBeg[3]
Definition: DrsCalib.h:1322
std::string fDateRunEnd[3]
Definition: DrsCalib.h:1323
uint32_t fStep
Definition: DrsCalib.h:1317
static void Update(DimDescribedService &dim, DimDescribedService &runs)
Definition: DataCalib.cc:56

+ Here is the caller graph for this function: