|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef BYTESTREAMCNVSVC_BYTESTREAMDATAWRITERV5_H
6 #define BYTESTREAMCNVSVC_BYTESTREAMDATAWRITERV5_H
28 const std::string& fileNameCore,
29 const EventStorage::run_parameters_record& rPar,
30 const std::vector<std::string>& fmdStrings,
31 unsigned int maxFileNE,
32 unsigned int maxFileMB,
33 unsigned int startIndex,
35 unsigned int compLevel);
38 boost::shared_ptr<EventStorage::FileNameCallback> theFNCB,
39 const EventStorage::run_parameters_record& rPar,
44 unsigned int lumiBlockNumber,
45 const std::string& applicationName,
46 const std::vector<std::string>& fmdStrings,
47 unsigned int maxFileNE,
48 unsigned int maxFileMB,
50 unsigned int compLevel);
60 virtual bool good()
const override;
64 std::unique_ptr<offline_EventStorage_v5::DataWriter>
m_writer;
68 #endif // BYTESTREAMCNVSVC_BYTESTREAMDATAWRITERV5_H
char data[hepevt_bytes_allocation_ATLAS]
ByteStreamDataWriterV5(const std::string &writingPath, const std::string &fileNameCore, const EventStorage::run_parameters_record &rPar, const std::vector< std::string > &fmdStrings, unsigned int maxFileNE, unsigned int maxFileMB, unsigned int startIndex, EventStorage::CompressionType compression, unsigned int compLevel)
virtual ~ByteStreamDataWriterV5()
ByteStreamDataWriterV5(const ByteStreamDataWriterV5 &)=delete
This file contains the class definition for the ByteStreamDataWriter class.
ByteStreamDataWriterV5 & operator=(const ByteStreamDataWriterV5 &)=delete
virtual EventStorage::DWError putData(unsigned int dataSize, const void *data) override
Write a single block of data.
std::unique_ptr< offline_EventStorage_v5::DataWriter > m_writer
size_t dataSize(TDA::PayloadIterator start)
Size in bytes of the buffer that is needed to decode next fragment data content.
Implementation of ByteStreamDataWriter for version 5 (run1) of EventStorage.
T_ResultType project(ParameterMapping::type< N > parameter_map, const T_Matrix &matrix)
virtual bool good() const override
Feedback to user, check if open and last write went OK.
This class defines abstract interface for data writing.