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,
101 unsigned int reserveSize);
104 unsigned int inputSize,
105 std::vector<unsigned char> &outputBuffer,
107 unsigned int reserveSize,
108 bool addHeader =
true);
111 unsigned int inputSize,
112 std::vector<unsigned char> &outputBuffer,
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
unsigned int currentEventSize() const
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
static constexpr int init_size
std::vector< unsigned char > comp_buf_
unsigned int curr_event_size_
int serializeEvent(SerializeDataBuffer &data_buffer, EventForOutput const &event, ParameterSetID const &selectorConfig, StreamerCompressionAlgo compressionAlgo, int compression_level, unsigned int reserveSize) const
int serializeRegistry(SerializeDataBuffer &data_buffer, const BranchIDLists &branchIDLists, ThinnedAssociationsHelper const &thinnedAssociationsHelper)
unsigned char const * bufferPointer() const
unsigned int curr_space_used_
unsigned int currentSpaceUsed() const
static unsigned int compressBufferLZMA(unsigned char *inputBuffer, unsigned int inputSize, std::vector< unsigned char > &outputBuffer, int compressionLevel, unsigned int reserveSize, bool addHeader=true)
uint32_t adler32_chksum() const
unsigned char *& bufferPointer()
SelectedProducts const * selections_
static unsigned int compressBuffer(unsigned char *inputBuffer, unsigned int inputSize, std::vector< unsigned char > &outputBuffer, int compressionLevel, unsigned int reserveSize)
static constexpr unsigned int reserve_size
edm::propagate_const< unsigned char * > ptr_
StreamSerializer(SelectedProducts const *selections)
edm::propagate_const< TClass * > tc_