22 for (std::vector<ParameterSet>::const_iterator
i = vpset.begin(),
e = vpset.end();
i !=
e; ++
i) {
28 tracked_(rep[0] ==
'+'),
31 assert(rep[0] ==
'+' || rep[0] ==
'-');
32 std::vector<std::string>
temp;
34 std::string bracketedRepr(rep.begin()+2, rep.end());
35 split(std::back_inserter(temp), bracketedRepr,
'{',
',',
'}');
37 for (std::vector<std::string>::const_iterator
i = temp.begin(),
e = temp.end();
i !=
e; ++
i) {
51 for (std::vector<ParameterSetID>::const_iterator
i =
theIDs_->begin(),
e =
theIDs_->end();
i !=
e; ++
i) {
64 for (std::vector<ParameterSetID>::const_iterator
i =
theIDs_->begin(),
e =
theIDs_->end();
i !=
e; ++
i) {
95 std::unique_ptr<std::vector<ParameterSet> >
tmp(
new std::vector<ParameterSet>);
97 for (
auto const& theID : *
theIDs_) {
101 if(
theVPSet_.compare_exchange_strong(expected, tmp.get())) {
122 if (!
i->isRegistered()) {
131 std::ostringstream os;
132 std::vector<ParameterSet>
const& vps =
vpset();
133 os <<
"VPSet "<<(
isTracked()?
"tracked":
"untracked")<<
" = ({" << std::endl;
136 for(std::vector<ParameterSet>::const_iterator
i = vps.begin(),
e = vps.end();
i !=
e; ++
i) {
137 os << start << indentation <<
i->dump(indent);
143 os << indentation <<
"})";
148 os << vpsetEntry.
dump();
tuple start
Check for commandline option errors.
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< std::vector< double > > tmp
ParameterSet & psetInVector(int i)
volatile std::atomic< bool > shutdown_flag false
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
void append(std::string const &s)