1 #ifndef IOPool_Streamer_StreamSerializer_h
2 #define IOPool_Streamer_StreamSerializer_h
11 #include "TBufferFile.h"
69 class ModuleCallingContext;
70 class ThinnedAssociationsHelper;
90 unsigned int reserveSize)
const;
98 unsigned int inputSize,
99 std::vector<unsigned char> &outputBuffer,
100 int compressionLevel,
101 unsigned int reserveSize);
104 unsigned int inputSize,
105 std::vector<unsigned char> &outputBuffer,
106 int compressionLevel,
107 unsigned int reserveSize,
108 bool addHeader =
true);
111 unsigned int inputSize,
112 std::vector<unsigned char> &outputBuffer,
113 int compressionLevel,
114 unsigned int reserveSize,
115 bool addHeader =
true);
static unsigned int compressBufferZSTD(unsigned char *inputBuffer, unsigned int inputSize, std::vector< unsigned char > &outputBuffer, int compressionLevel, unsigned int reserveSize, bool addHeader=true)
std::vector< BranchIDList > BranchIDLists
std::vector< char > SBuffer
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
unsigned int currentSpaceUsed() const
static constexpr int init_size
std::vector< unsigned char > comp_buf_
unsigned int curr_event_size_
unsigned char const * bufferPointer() const
int serializeRegistry(SerializeDataBuffer &data_buffer, const BranchIDLists &branchIDLists, ThinnedAssociationsHelper const &thinnedAssociationsHelper)
unsigned int curr_space_used_
static unsigned int compressBufferLZMA(unsigned char *inputBuffer, unsigned int inputSize, std::vector< unsigned char > &outputBuffer, int compressionLevel, unsigned int reserveSize, bool addHeader=true)
unsigned char *& bufferPointer()
SelectedProducts const * selections_
int serializeEvent(SerializeDataBuffer &data_buffer, EventForOutput const &event, ParameterSetID const &selectorConfig, StreamerCompressionAlgo compressionAlgo, int compression_level, unsigned int reserveSize) const
static unsigned int compressBuffer(unsigned char *inputBuffer, unsigned int inputSize, std::vector< unsigned char > &outputBuffer, int compressionLevel, unsigned int reserveSize)
uint32_t adler32_chksum() const
static constexpr unsigned int reserve_size
unsigned int currentEventSize() const
edm::propagate_const< unsigned char * > ptr_
StreamSerializer(SelectedProducts const *selections)
edm::propagate_const< TClass * > tc_