HLT::HLTExtraData Class Reference

#include <HLTExtraData.h>

List of all members.

Public Member Functions

 HLTExtraData ()
 HLTExtraData (const std::vector< uint32_t > &storage)
 HLTExtraData (const HLTExtraData &)
 copy ctor
 HLTExtraData (HLTExtraData &&)
 move ctor
HLTExtraDataoperator= (HLTExtraData)
 unified assignement op
void serialize (std::vector< uint32_t > &storage)
void deserialize (const std::vector< uint32_t > &storage)

Public Attributes

std::string appName
 application name
uint32_t statusCode
 various status codes (for prescale/COOL updates)
std::vector< uint32_t > anonymous
 For future use-cases (only use as last resort).

Friends

void swap (HLTExtraData &, HLTExtraData &)

Detailed Description

Class representing the HLT extra payload stored in HLT::HLTResult::getExtras()

The members storing the data are public. New members should be added whenever additional storage is needed. The reserved anonymous member should only be used as a last resort.

If all members of this class are set to their default values (see empty()) a call to serialize() will do nothing. A deserialization from empty storage will result in a default constructed object.

Whenever you modify this class run 'make check'.


Constructor & Destructor Documentation

HLTExtraData::HLTExtraData (  ) 

Construct empty object

HLTExtraData::HLTExtraData ( const std::vector< uint32_t > &  storage  ) 

Construct from storage and fill members


Member Function Documentation

void HLT::HLTExtraData::deserialize ( const std::vector< uint32_t > &  storage  ) 

Deserialize storage into members

void HLT::HLTExtraData::serialize ( std::vector< uint32_t > &  storage  ) 

Serialize the data and append it to the vector


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1