File indexing completed on 2024-04-06 12:12:04
0001
0002
0003
0004
0005
0006
0007 #include "DataFormats/Provenance/interface/ParameterSetID.h"
0008
0009 namespace edm {
0010 namespace eventsetup {
0011
0012 class ParameterSetIDHolder {
0013 public:
0014 ParameterSetIDHolder(ParameterSetID const& psetID) : psetID_(psetID) {}
0015 ParameterSetID const& psetID() const { return psetID_; }
0016 bool operator<(ParameterSetIDHolder const& other) const { return psetID() < other.psetID(); }
0017 bool operator==(ParameterSetIDHolder const& other) const { return psetID() == other.psetID(); }
0018
0019 private:
0020 ParameterSetID psetID_;
0021 };
0022 }
0023 }