FACT++  1.0
bool DataWriteFits::Close ( const EVT_CTRL2 )
virtual

Closes the file, and before this it write the TAIL data

Parameters
rtthe pointer to the RUN_TAIL data structure

Implements DataProcessorImp.

Definition at line 285 of file DataWriteFits.cc.

Referenced by DataWriteFits().

286 {
287  if (!fFile.IsOpen())
288  return false;
289 
290  WriteFooter();
291 
292  fFile.Close();
293 
294  return true;
295 }
bool IsOpen() const
Definition: FitsFile.h:97
FitsFile fFile
Definition: DataWriteFits.h:15
void Close()
Definition: FitsFile.cc:428

+ Here is the caller graph for this function: