1#ifndef BES_RAWFILE_UTIL_H
2#define BES_RAWFILE_UTIL_H
35 uint32_t sizeLimit_dataBlocks;
36 uint32_t sizeLimit_MB;
47 void dump(std::ostream& os = std::cout)
const;
73 const std::string&
gerAppName()
const {
return m_appName; }
74 const std::string&
gerUsrTag()
const {
return m_usrTag; }
76 void dump(std::ostream& os = std::cout)
const;
80 std::string m_appName;
93 uint32_t trigger_type;
94 uint32_t detector_mask;
107 void dump(std::ostream& os = std::cout)
const;
120 uint32_t record_size;
121 uint32_t data_block_number;
122 uint32_t data_block_size;
133 void dump(std::ostream& os = std::cout)
const;
147 uint32_t record_size;
150 uint32_t events_in_file;
151 uint32_t data_in_file;
152 uint32_t events_in_run;
153 uint32_t data_in_run;
167 void dump(std::ostream& os = std::cout)
const;
const data_separator_record & getRecord() const
void dump(std::ostream &os=std::cout) const
void setDataBlockSize(uint32_t ds)
friend raw_ofstream & operator<<(raw_ofstream &os, DataSeparatorRecord &record)
friend raw_ifstream & operator>>(raw_ifstream &is, DataSeparatorRecord &record)
void setDataBlockNumber(uint32_t dn)
friend raw_ofstream & operator<<(raw_ofstream &os, FileEndRecord &record)
void setDataInFile(uint32_t file_size)
const file_end_record & getRecord() const
void setEventsInFile(uint32_t file_nevt)
void dump(std::ostream &os=std::cout) const
friend raw_ifstream & operator>>(raw_ifstream &is, FileEndRecord &record)
void setStatus(uint32_t status)
friend raw_ifstream & makeEndRecord(DataSeparatorRecord &sep, raw_ifstream &is, FileEndRecord &record)
void setDataInRun(uint32_t run_size)
void setEventsInRun(uint32_t run_nevt)
const std::string & gerUsrTag() const
friend raw_ifstream & operator>>(raw_ifstream &is, FileNameStrings &record)
const std::string & gerAppName() const
friend raw_ofstream & operator<<(raw_ofstream &os, FileNameStrings &record)
const file_name_strings & getRecord() const
void dump(std::ostream &os=std::cout) const
const file_start_record & getRecord() const
void setFileNumber(uint32_t fn)
friend raw_ifstream & operator>>(raw_ifstream &is, FileStartRecord &record)
void dump(std::ostream &os=std::cout) const
friend raw_ofstream & operator<<(raw_ofstream &os, FileStartRecord &record)
void dump(std::ostream &os=std::cout) const
void setRunNumber(uint32_t runId)
const run_parameters_record & getRecord() const
friend raw_ofstream & operator<<(raw_ofstream &os, RunParametersRecord &record)
friend raw_ifstream & operator>>(raw_ifstream &is, RunParametersRecord &record)
uint32_t data_block_number