Class Reference for E1039 Core & Analysis Software
AnaHardEvent.h
Go to the documentation of this file.
1 #ifndef _ANA_HARD_EVENT__H_
2 #define _ANA_HARD_EVENT__H_
3 #include <fstream>
4 #include <fun4all/SubsysReco.h>
5 class TFile;
6 class TH1;
7 class TH2;
8 class SQEvent;
9 class SQHardEvent;
10 
12 class AnaHardEvent: public SubsysReco {
13  SQEvent* m_evt;
14  SQHardEvent* m_hard_evt;
15 
16  std::ofstream m_ofs;
17  TFile* m_file;
18  TH1* m_h1_n_ttdc;
19 
20  public:
21  AnaHardEvent(const std::string& name="AnaHardEvent");
22  virtual ~AnaHardEvent() {;}
23  int Init(PHCompositeNode *topNode);
24  int InitRun(PHCompositeNode *topNode);
25  int process_event(PHCompositeNode *topNode);
26  int End(PHCompositeNode *topNode);
27 };
28 
29 #endif // _ANA_HARD_EVENT__H_
An example class to analyze the hardware-event info.
Definition: AnaHardEvent.h:12
virtual ~AnaHardEvent()
Definition: AnaHardEvent.h:22
int End(PHCompositeNode *topNode)
Called at the end of all processing.
Definition: AnaHardEvent.cc:73
int Init(PHCompositeNode *topNode)
Definition: AnaHardEvent.cc:27
int process_event(PHCompositeNode *topNode)
Definition: AnaHardEvent.cc:54
AnaHardEvent(const std::string &name="AnaHardEvent")
Definition: AnaHardEvent.cc:19
int InitRun(PHCompositeNode *topNode)
Definition: AnaHardEvent.cc:32
An SQ interface class to hold one event header.
Definition: SQEvent.h:17
An SQ interface class to hold one hardware-related event info.
Definition: SQHardEvent.h:7