Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcCheck.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcCheck.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FFARAWMODULES_TPCCHECK_H
4 #define FFARAWMODULES_TPCCHECK_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <set>
9 #include <string>
10 
12 class PHCompositeNode;
13 
14 class TpcCheck : public SubsysReco
15 {
16  public:
17  TpcCheck(const std::string &name = "TpcCheck");
18 
19  ~TpcCheck() override {}
20 
21  int Init(PHCompositeNode *topNode) override;
22 
23  int process_event(PHCompositeNode *topNode) override;
24 
25 // int ResetEvent(PHCompositeNode *topNode) override;
26 
28 
29  void SetBcoRange(const unsigned int i) {bcorange = i;}
30  private:
31  unsigned int bcorange {0};
32  std::string m_EvtNodeName = "TPCRAWHIT";
33  std::set<uint64_t> bclk_seen;
34 };
35 
36 #endif // FFARAWMODULES_EVENTCOMBINER_H