Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DbUpSpill.h
Go to the documentation of this file.
1 #ifndef _DB_UP_SPILL__H_
2 #define _DB_UP_SPILL__H_
3 #include <fun4all/SubsysReco.h>
4 class SQSpill;
5 
6 class DbUpSpill: public SubsysReco {
7  public:
8  DbUpSpill(const std::string &name = "DbUpSpill");
9  virtual ~DbUpSpill() {}
10  int Init(PHCompositeNode *topNode);
11  int InitRun(PHCompositeNode *topNode);
12  int process_event(PHCompositeNode *topNode);
13  int End(PHCompositeNode *topNode);
14 
15  private:
16  void ClearTable(const char* table_name, const int run_id);
17  void UploadToSpillTable(SQSpill* spi);
18  void UploadToScalerTable(SQSpill* spi, const std::string boseos);
19  void UploadToSlowContTable(SQSpill* spi);
20  void PrintSpill(SQSpill* spi);
21 };
22 
23 #endif /* _DB_UP_SPILL__H_ */
int process_event(PHCompositeNode *topNode)
Definition: DbUpSpill.cc:47
int Init(PHCompositeNode *topNode)
Definition: DbUpSpill.cc:27
virtual ~DbUpSpill()
Definition: DbUpSpill.h:9
An SQ interface class to hold the data of one spill.
Definition: SQSpill.h:19
int End(PHCompositeNode *topNode)
Called at the end of all processing.
Definition: DbUpSpill.cc:67
int InitRun(PHCompositeNode *topNode)
Definition: DbUpSpill.cc:32
DbUpSpill(const std::string &name="DbUpSpill")
Definition: DbUpSpill.cc:22