1 #ifndef DataFormats_Provenance_CompactEventAuxiliaryVector_h
2 #define DataFormats_Provenance_CompactEventAuxiliaryVector_h
5 #include <unordered_set>
34 void write(std::ostream& os)
const;
49 extra.processHistoryID_.compactForm(), extra.isRealData_, extra.experimentType_, extra.storeNumber_);
53 using GUIDmemo = std::unordered_set<std::string>;
54 using extraMemo = std::unordered_set<CompactEventAuxiliaryExtra, ExtraHash>;
80 void write(std::ostream& os)
const;
109 template <
typename T,
typename C>
111 auto it = memopad.insert(item);
130 using iterator = std::vector<value_type>::iterator;
EventNumber_t event() const
std::vector< CompactEventAuxiliary > compactAuxiliaries_
const T & memoize(const T &item, C &memopad) const
std::unordered_set< std::string > GUIDmemo
const CompactEventAuxiliaryExtra & extra_
std::vector< value_type >::iterator iterator
void push_back(const EventAuxiliary &ea)
size_type extrasSize() const
std::vector< value_type >::size_type size_type
std::string const & processGUID() const
EventNumber_t event() const
unsigned long long EventNumber_t
void write(std::ostream &os) const
LuminosityBlockNumber_t luminosityBlock() const
std::unordered_set< CompactEventAuxiliaryExtra, ExtraHash > extraMemo
void reserve(std::size_t size)
LuminosityBlockNumber_t luminosityBlock() const
unsigned int LuminosityBlockNumber_t
ExperimentType experimentType() const
CompactEventAuxiliary(const EventAuxiliary &ea, GUIDmemo &guidmemo, extraMemo &extramemo)
std::vector< value_type >::const_iterator const_iterator
CompactEventAuxiliary(EventID const &theId, std::string const &processGUID, Timestamp const &theTime, int bunchXing, int orbitNum, CompactEventAuxiliaryExtra const &extra, GUIDmemo &guidmemo, extraMemo &extramemo)
size_type guidsSize() const
static int const invalidBunchXing
static int const invalidBunchXing
ProcessHistoryID const & processHistoryID() const
const_iterator cend() const
const_iterator end() const
const_iterator begin() const
EventID const & id() const
int bunchCrossing() const
std::size_t hash_value(const Types &...args)
void setProcessHistoryID(ProcessHistoryID const &phid)
static int const invalidStoreNumber
static int const invalidStoreNumber
Timestamp const & time() const
const std::string & processGUID_
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
const_iterator cbegin() const
EventAuxiliary eventAuxiliary() const