16 for (std::vector<ParameterSet>::const_iterator
i = vpset.begin(),
e = vpset.end();
i !=
e; ++
i) {
23 assert(rep[0] ==
'+' || rep[0] ==
'-');
24 std::vector<std::string>
temp;
26 std::string bracketedRepr(rep.begin() + 2, rep.end());
27 split(std::back_inserter(temp), bracketedRepr,
'{',
',',
'}');
29 for (std::vector<std::string>::const_iterator
i = temp.begin(),
e = temp.end();
i !=
e; ++
i) {
40 for (std::vector<ParameterSetID>::const_iterator
i =
theIDs_->begin(),
e =
theIDs_->end();
i !=
e; ++
i) {
52 for (std::vector<ParameterSetID>::const_iterator
i =
theIDs_->begin(),
e =
theIDs_->end();
i !=
e; ++
i) {
83 auto tmp = std::make_unique<std::vector<ParameterSet>>();
85 for (
auto const& theID : *
theIDs_) {
89 if (
theVPSet_.compare_exchange_strong(expected,
tmp.get())) {
112 if (!
i->isRegistered()) {
121 std::ostringstream os;
122 std::vector<ParameterSet>
const& vps =
vpset();
123 os <<
"VPSet " << (
isTracked() ?
"tracked" :
"untracked") <<
" = ({" << std::endl;
126 for (std::vector<ParameterSet>::const_iterator
i = vps.begin(),
e = vps.end();
i !=
e; ++
i) {
127 os << start << indentation <<
i->dump(indent);
133 os << indentation <<
"})";
138 os << vpsetEntry.
dump();
std::string dump(unsigned int indent=0) const
void fillVPSet() const
reconstitutes the VPSet from the registry
std::vector< ParameterSet > VParameterSet
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::vector< ParameterSet > & vpsetForUpdate()
void toDigest(cms::Digest &digest) const
value_ptr< std::vector< ParameterSetID > > theIDs_
atomic_value_ptr< std::vector< ParameterSet > > theVPSet_
std::vector< ParameterSet > const & vpset() const
returns the VPSet
bool split(OutIter result, std::string const &string_to_split, char first, char sep, char last)
Hash< ParameterSetType > ParameterSetID
std::string toString() const
void registerPsetsAndUpdateIDs()
std::vector< ParameterSet >::size_type size() const
ParameterSet & psetInVector(int i)
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
void append(std::string const &s)