CMS 3D CMS Logo

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  noexcept(false);
39 
40  void writeDB(const EcalLogicID* ecid, const MonRunDat* item, MonRunIOV* iov )
41  noexcept(false);
42 
43  void fetchData(std::map< EcalLogicID, MonRunDat >* fillMap, MonRunIOV* iov)
44  noexcept(false);
45 
46  // User data
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
#define noexcept
int getTaskOutcome() const
Definition: MonRunDat.h:34
void prepareWrite() noexcept(false)
Definition: MonRunDat.cc:34
void fetchData(std::map< EcalLogicID, MonRunDat > *fillMap, MonRunIOV *iov) noexcept(false)
Definition: MonRunDat.cc:86
void writeDB(const EcalLogicID *ecid, const MonRunDat *item, MonRunIOV *iov) noexcept(false)
Definition: MonRunDat.cc:52
MonRunOutcomeDef getMonRunOutcomeDef() const
Definition: MonRunDat.h:25
void setRootfileName(std::string name)
Definition: MonRunDat.h:27
int m_taskList
Definition: MonRunDat.h:50
void setTaskOutcome(int outcome)
Definition: MonRunDat.h:33
int m_numEvents
Definition: MonRunDat.h:47
MonRunOutcomeDef m_outcomeDef
Definition: MonRunDat.h:48
std::string m_rootfileName
Definition: MonRunDat.h:49
int m_taskOutcome
Definition: MonRunDat.h:51
~MonRunDat()
Definition: MonRunDat.cc:28
std::string getRootfileName() const
Definition: MonRunDat.h:28
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