Go to the documentation of this file.
8 #include <boost/python/extract.hpp>
12 namespace payloadInspector {
18 auto im =
m.find(
key);
27 : m_plotAnnotations(),
72 size_t nt = boost::python::len(tagsWithTimeBoundaries);
75 std::vector<std::tuple<std::string, cond::Time_t, cond::Time_t> >
tags;
77 for (
size_t i = 0;
i <
nt;
i++) {
78 boost::python::tuple
entry = boost::python::extract<boost::python::tuple>(tagsWithTimeBoundaries[
i]);
83 cond::Time_t time1 = boost::lexical_cast<cond::Time_t>(time1s);
93 const std::vector<std::tuple<std::string, cond::Time_t, cond::Time_t> >& tagsWithTimeBoundaries) {
99 std::vector<edm::ParameterSet> psets;
102 psets.push_back(pSet);
106 size_t nt = tagsWithTimeBoundaries.size();
114 for (
size_t i = 0;
i <
nt;
i++) {
ret
prodAgent to be discontinued
bool process(const std::string &connectionString, const boost::python::list &tagsWithTimeBoundaries)
std::string payloadType() const
cond::persistency::Session m_dbSession
std::vector< std::pair< cond::Time_t, cond::Time_t > > m_tagBoundaries
static constexpr const char *const PLOT_TYPE_K
IOVArray selectRange(const cond::Time_t &begin, const cond::Time_t &end)
std::string get(const std::string &key) const
static ServiceToken createSet(std::vector< ParameterSet > &)
const std::map< std::string, std::string > & inputParamValues() const
boost::python::list inputParams() const
Session createSession(const std::string &connectionString, bool writeCapable=false)
bool exec_process(const std::string &connectionString, const std::vector< std::tuple< std::string, cond::Time_t, cond::Time_t >> &tagsWithTimeBoundaries)
std::map< std::string, std::string > m
unsigned int ntags() const
std::vector< std::string > m_tagNames
cond::persistency::Session dbSession()
std::map< std::string, std::string > m_inputParamValues
cond::Tag_t getTagInfo(const std::string &tag)
static constexpr const char *const label
IOVProxy readIov(const std::string &tag)
std::string title() const
void setInputParamValues(const boost::python::dict &values)
unsigned long long Time_t
static constexpr const char *const TITLE_K
void addParameter(std::string const &name, T const &value)
std::set< std::string > m_inputParams
static constexpr const char *const PAYLOAD_TYPE_K
std::vector< std::vector< std::tuple< cond::Time_t, cond::Hash > > > m_tagIovs
virtual std::string processData()
Transaction & transaction()
void start(bool readOnly=true)
const boost::posix_time::ptime time0
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
void addInputParam(const std::string ¶mName)
cond::Tag_t tagInfo() const
PlotAnnotations m_plotAnnotations