#include <DataFormats/Provenance/interface/RunLumiEntryInfo.h>
Definition at line 26 of file RunLumiEntryInfo.h.
typedef std::vector<RunLumiEntryInfo> edm::RunLumiEntryInfo::EntryInfoVector |
Definition at line 28 of file RunLumiEntryInfo.h.
edm::RunLumiEntryInfo::RunLumiEntryInfo | ( | ) |
Definition at line 13 of file RunLumiEntryInfo.cc.
00013 : 00014 branchID_(), 00015 productStatus_(productstatus::uninitialized()), 00016 moduleDescriptionID_() 00017 {}
edm::RunLumiEntryInfo::RunLumiEntryInfo | ( | BranchID const & | bid | ) | [explicit] |
Definition at line 25 of file RunLumiEntryInfo.cc.
00025 : 00026 branchID_(bid), 00027 productStatus_(productstatus::uninitialized()), 00028 moduleDescriptionID_() 00029 {}
edm::RunLumiEntryInfo::RunLumiEntryInfo | ( | EventEntryInfo const & | ei | ) | [explicit] |
Definition at line 19 of file RunLumiEntryInfo.cc.
00019 : 00020 branchID_(ei.branchID()), 00021 productStatus_(ei.productStatus()), 00022 moduleDescriptionID_(ei.moduleDescriptionID()) 00023 {}
edm::RunLumiEntryInfo::RunLumiEntryInfo | ( | BranchID const & | bid, | |
ProductStatus | status | |||
) |
Definition at line 31 of file RunLumiEntryInfo.cc.
00032 : 00033 branchID_(bid), 00034 productStatus_(status), 00035 moduleDescriptionID_() 00036 {}
edm::RunLumiEntryInfo::RunLumiEntryInfo | ( | BranchID const & | bid, | |
ProductStatus | status, | |||
ModuleDescriptionID const & | mid, | |||
ProductID const & | pid = ProductID() , |
|||
std::vector< BranchID > const & | parents = std::vector<BranchID>() | |||
) |
Definition at line 40 of file RunLumiEntryInfo.cc.
00044 : 00045 branchID_(bid), 00046 productStatus_(status), 00047 moduleDescriptionID_(mid) 00048 {}
edm::RunLumiEntryInfo::RunLumiEntryInfo | ( | BranchID const & | bid, | |
ProductStatus | status, | |||
ProductID const & | pid, | |||
EntryDescriptionID const & | edid | |||
) |
Definition at line 50 of file RunLumiEntryInfo.cc.
References edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::EventEntryDescription::moduleDescriptionID(), and moduleDescriptionID_.
00053 : 00054 branchID_(bid), 00055 productStatus_(status), 00056 moduleDescriptionID_() { 00057 EventEntryDescription ed; 00058 EntryDescriptionRegistry::instance()->getMapped(edid, ed); 00059 moduleDescriptionID_ = ed.moduleDescriptionID(); 00060 }
edm::RunLumiEntryInfo::~RunLumiEntryInfo | ( | ) | [inline] |
BranchID const& edm::RunLumiEntryInfo::branchID | ( | ) | const [inline] |
Definition at line 52 of file RunLumiEntryInfo.h.
References branchID_.
Referenced by edm::operator<(), edm::operator==(), and write().
00052 {return branchID_;}
EventEntryInfo edm::RunLumiEntryInfo::makeEntryInfo | ( | ) | const |
Definition at line 63 of file RunLumiEntryInfo.cc.
References branchID_, moduleDescriptionID_, and productStatus_.
00063 { 00064 return EventEntryInfo(branchID_, productStatus_, moduleDescriptionID_); 00065 }
ModuleDescriptionID const& edm::RunLumiEntryInfo::moduleDescriptionID | ( | ) | const [inline] |
Definition at line 54 of file RunLumiEntryInfo.h.
References moduleDescriptionID_.
Referenced by edm::operator==(), and write().
00054 {return moduleDescriptionID_;}
ProductID const& edm::RunLumiEntryInfo::productID | ( | ) | const [inline] |
ProductStatus const& edm::RunLumiEntryInfo::productStatus | ( | ) | const [inline] |
Definition at line 53 of file RunLumiEntryInfo.h.
References productStatus_.
Referenced by edm::operator==(), setNotPresent(), setPresent(), and write().
00053 {return productStatus_;}
void edm::RunLumiEntryInfo::setModuleDescriptionID | ( | ModuleDescriptionID const & | mdid | ) | [inline] |
Definition at line 56 of file RunLumiEntryInfo.h.
References moduleDescriptionID_.
00056 {moduleDescriptionID_ = mdid;}
void edm::RunLumiEntryInfo::setNotPresent | ( | ) |
Definition at line 75 of file RunLumiEntryInfo.cc.
References edm::productstatus::neverCreated(), productStatus(), setStatus(), and edm::productstatus::unknown().
00075 { 00076 if (productstatus::neverCreated(productStatus())) return; 00077 assert(productstatus::unknown(productStatus())); 00078 setStatus(productstatus::neverCreated()); 00079 }
void edm::RunLumiEntryInfo::setPresent | ( | ) |
Definition at line 68 of file RunLumiEntryInfo.cc.
References edm::productstatus::present(), productStatus(), setStatus(), and edm::productstatus::unknown().
00068 { 00069 if (productstatus::present(productStatus())) return; 00070 assert(productstatus::unknown(productStatus())); 00071 setStatus(productstatus::present()); 00072 }
void edm::RunLumiEntryInfo::setStatus | ( | ProductStatus | status | ) | [inline] |
Definition at line 55 of file RunLumiEntryInfo.h.
References productStatus_.
Referenced by setNotPresent(), and setPresent().
00055 {productStatus_ = status;}
void edm::RunLumiEntryInfo::write | ( | std::ostream & | os | ) | const |
Definition at line 82 of file RunLumiEntryInfo.cc.
References branchID(), moduleDescriptionID(), and productStatus().
Referenced by edm::operator<<().
00082 { 00083 os << "branch ID = " << branchID() << '\n'; 00084 os << "product status = " << productStatus() << '\n'; 00085 os << "module description ID = " << moduleDescriptionID() << '\n'; 00086 }
BranchID edm::RunLumiEntryInfo::branchID_ [private] |
Definition at line 63 of file RunLumiEntryInfo.h.
Referenced by makeEntryInfo(), moduleDescriptionID(), RunLumiEntryInfo(), and setModuleDescriptionID().
Definition at line 62 of file RunLumiEntryInfo.h.
Referenced by makeEntryInfo(), productStatus(), and setStatus().