FACT++  1.0
bool DataDump::Open ( const RUN_HEAD h,
const FAD::RunDescription &  d 
)
virtual

Implements DataProcessorImp.

Definition at line 48 of file DataProcessorImp.cc.

References Debug, RUN_HEAD::NBoard, RUN_HEAD::NPix, RUN_HEAD::Nroi, RUN_HEAD::NTm, str, and RUN_HEAD::Version.

49 {
50  fFileName = "/dev/null";
51 
52  ostringstream str;
53  str << this << " - "
54  << "OPEN_FILE #" << GetRunId() << ":"
55  << " Ver=" << h.Version
56  << " Nb=" << h.NBoard
57  << " Np=" << h.NPix
58  << " NTm=" << h.NTm
59  << " roi=" << h.Nroi
60  << " Typ=" << d.name;
61 
62  Debug(str);
63 
64  fTime = Time();
65 
66  return true;
67 }
uint16_t NTm
Definition: FAD.h:100
int Debug(const std::string &str)
Definition: MessageImp.h:45
Adds some functionality to boost::posix_time::ptime for our needs.
Definition: Time.h:30
char str[80]
Definition: test_client.c:7
uint32_t GetRunId() const
std::string fFileName
uint32_t Version
Definition: FAD.h:94
uint16_t Nroi
Definition: FAD.h:101
uint16_t NBoard
Definition: FAD.h:98
uint16_t NPix
Definition: FAD.h:99