20 std::vector<std::string_view>
temp;
22 std::string_view bracketedRepr =
rep.substr(2);
23 split(std::back_inserter(
temp), bracketedRepr,
'{',
',',
'}');
25 for (
auto const&
id :
temp) {
36 for (std::vector<ParameterSetID>::const_iterator
i =
theIDs_->begin(),
e =
theIDs_->end();
i !=
e; ++
i) {
48 for (std::vector<ParameterSetID>::const_iterator
i =
theIDs_->begin(),
e =
theIDs_->end();
i !=
e; ++
i) {
79 auto tmp = std::make_unique<std::vector<ParameterSet>>();
81 for (
auto const& theID : *
theIDs_) {
85 if (
theVPSet_.compare_exchange_strong(expected,
tmp.get())) {
108 if (!
i->isRegistered()) {
117 std::ostringstream os;
118 std::vector<ParameterSet>
const& vps =
vpset();
119 os <<
"VPSet " << (
isTracked() ?
"tracked" :
"untracked") <<
" = ({" << std::endl;
122 for (std::vector<ParameterSet>::const_iterator
i = vps.begin(),
e = vps.end();
i !=
e; ++
i) {
134 os << vpsetEntry.
dump();
void toDigest(cms::Digest &digest) const
std::vector< ParameterSet > VParameterSet
std::vector< ParameterSet > const & vpset() const
returns the VPSet
std::vector< ParameterSet > & vpsetForUpdate()
std::string toString() const
value_ptr< std::vector< ParameterSetID > > theIDs_
atomic_value_ptr< std::vector< ParameterSet > > theVPSet_
void registerPsetsAndUpdateIDs()
void fillVPSet() const
reconstitutes the VPSet from the registry
bool split(OutIter result, std::string_view string_to_split, char first, char sep, char last)
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::string dump(unsigned int indent=0) const
ParameterSet & psetInVector(int i)
std::vector< ParameterSet >::size_type size() const
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.
void append(std::string const &s)