/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Provenance/interface/EventProcessHistoryID.h
27 строк
984 B
W. David Dagenhart
From scram b code-format-all (clang-format)
10 май 2019, 17:51
10 май 2019, 17:51
82e0ab0
Код
Авторство
О чём код?
#ifndef DataFormats_Provenance_EventProcessHistoryID_h #define DataFormats_Provenance_EventProcessHistoryID_h #include "DataFormats/Provenance/interface/EventID.h" #include "DataFormats/Provenance/interface/ProcessHistoryID.h" // This class needed for backward compatibility only. // It is relevant if and only if fileFormatVersion.eventHistoryBranch() is true. namespace edm { class EventProcessHistoryID { public: EventProcessHistoryID() : eventID_(), processHistoryID_() {} EventProcessHistoryID(EventID const& id, ProcessHistoryID const& ph) : eventID_(id), processHistoryID_(ph) {} EventID const& eventID() const { return eventID_; } ProcessHistoryID const& processHistoryID() const { return processHistoryID_; } private: EventID eventID_; ProcessHistoryID processHistoryID_; }; inline bool operator<(EventProcessHistoryID const& lh, EventProcessHistoryID const& rh) { return lh.eventID() < rh.eventID(); } } // namespace edm #endif