CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonRunDat.h
Go to the documentation of this file.
1 #ifndef MONRUNDAT_H
2 #define MONRUNDAT_H
3 
4 #include <vector>
5 #include <stdexcept>
6 
11 
12 class MonRunDat : public IDataItem {
13  public:
14  friend class EcalCondDBInterface;
15  MonRunDat();
16  ~MonRunDat();
17 
18  // User data methods
19  inline std::string getTable() { return "MON_RUN_DAT"; }
20 
21  inline void setNumEvents(int num) { m_numEvents = num; }
22  inline int getNumEvents() const { return m_numEvents; }
23 
24  inline void setMonRunOutcomeDef(const MonRunOutcomeDef& outcomeDef) { m_outcomeDef = outcomeDef; }
26 
28  inline std::string getRootfileName() const { return m_rootfileName; }
29 
30  inline void setTaskList(int list) { m_taskList = list; }
31  inline int getTaskList() const { return m_taskList; }
32 
33  inline void setTaskOutcome(int outcome) { m_taskOutcome = outcome; }
34  inline int getTaskOutcome() const { return m_taskOutcome; }
35 
36  private:
37  void prepareWrite()
38  throw(std::runtime_error);
39 
40  void writeDB(const EcalLogicID* ecid, const MonRunDat* item, MonRunIOV* iov )
41  throw(std::runtime_error);
42 
43  void fetchData(std::map< EcalLogicID, MonRunDat >* fillMap, MonRunIOV* iov)
44  throw(std::runtime_error);
45 
46  // User data
49  std::string m_rootfileName;
52 };
53 
54 #endif
void setTaskList(int list)
Definition: MonRunDat.h:30
void setNumEvents(int num)
Definition: MonRunDat.h:21
void setMonRunOutcomeDef(const MonRunOutcomeDef &outcomeDef)
Definition: MonRunDat.h:24
int getTaskList() const
Definition: MonRunDat.h:31
int getNumEvents() const
Definition: MonRunDat.h:22
int getTaskOutcome() const
Definition: MonRunDat.h:34
MonRunOutcomeDef getMonRunOutcomeDef() const
Definition: MonRunDat.h:25
void setRootfileName(std::string name)
Definition: MonRunDat.h:27
tuple iov
Definition: o2o.py:307
void writeDB(const EcalLogicID *ecid, const MonRunDat *item, MonRunIOV *iov)
Definition: MonRunDat.cc:52
int m_taskList
Definition: MonRunDat.h:50
void setTaskOutcome(int outcome)
Definition: MonRunDat.h:33
int m_numEvents
Definition: MonRunDat.h:47
void fetchData(std::map< EcalLogicID, MonRunDat > *fillMap, MonRunIOV *iov)
Definition: MonRunDat.cc:86
MonRunOutcomeDef m_outcomeDef
Definition: MonRunDat.h:48
std::string m_rootfileName
Definition: MonRunDat.h:49
string const
Definition: compareJSON.py:14
int m_taskOutcome
Definition: MonRunDat.h:51
~MonRunDat()
Definition: MonRunDat.cc:28
std::string getRootfileName() const
Definition: MonRunDat.h:28
void prepareWrite()
Definition: MonRunDat.cc:34
std::string getTable()
Definition: MonRunDat.h:19
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