#include <EventEntryDescription.h>
Public Member Functions | |
EventEntryDescription () | |
EntryDescriptionID | id () const |
std::vector< BranchID > const & | parents () const |
std::vector< BranchID > & | parents () |
void | write (std::ostream &os) const |
~EventEntryDescription () | |
Private Attributes | |
Hash< ModuleDescriptionType > | moduleDescriptionID_ |
std::vector< BranchID > | parents_ |
Definition at line 28 of file EventEntryDescription.h.
edm::EventEntryDescription::EventEntryDescription | ( | ) |
Definition at line 11 of file EventEntryDescription.cc.
: parents_() { }
edm::EventEntryDescription::~EventEntryDescription | ( | ) | [inline] |
Definition at line 32 of file EventEntryDescription.h.
{}
EntryDescriptionID edm::EventEntryDescription::id | ( | void | ) | const |
Definition at line 16 of file EventEntryDescription.cc.
References cms::Digest::digest(), alignCSCRings::e, i, moduleDescriptionID_, parents_, and AlCaHLTBitMon_QueryRunRegistry::string.
{ // This implementation is ripe for optimization. std::ostringstream oss; oss << moduleDescriptionID_ << ' '; for (std::vector<BranchID>::const_iterator i = parents_.begin(), e = parents_.end(); i != e; ++i) { oss << *i << ' '; } std::string stringrep = oss.str(); cms::Digest md5alg(stringrep); return EntryDescriptionID(md5alg.digest().toString()); }
std::vector<BranchID>& edm::EventEntryDescription::parents | ( | ) | [inline] |
std::vector<BranchID> const& edm::EventEntryDescription::parents | ( | ) | const [inline] |
Definition at line 39 of file EventEntryDescription.h.
References parents_.
Referenced by edm::operator==().
{return parents_;}
void edm::EventEntryDescription::write | ( | std::ostream & | os | ) | const |
Definition at line 37 of file EventEntryDescription.cc.
Referenced by edm::operator<<().
{ // This is grossly inadequate, but it is not critical for the // first pass. }
Hash<ModuleDescriptionType> edm::EventEntryDescription::moduleDescriptionID_ [private] |
Definition at line 47 of file EventEntryDescription.h.
Referenced by id().
std::vector<BranchID> edm::EventEntryDescription::parents_ [private] |
Definition at line 45 of file EventEntryDescription.h.