Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:16:42

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef FFARAWMODULES_TPCCHECK_H
0004 #define FFARAWMODULES_TPCCHECK_H
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <set>
0009 #include <string>
0010 
0011 class Fun4AllInputManager;
0012 class PHCompositeNode;
0013 
0014 class TpcCheck : public SubsysReco
0015 {
0016  public:
0017   TpcCheck(const std::string &name = "TpcCheck");
0018 
0019   ~TpcCheck() override {}
0020 
0021   int Init(PHCompositeNode *topNode) override;
0022 
0023   int process_event(PHCompositeNode *topNode) override;
0024 
0025   //  int ResetEvent(PHCompositeNode *topNode) override;
0026 
0027   void MyEvtNode(const std::string &name) { m_EvtNodeName = name; }
0028 
0029   void SetBcoRange(const unsigned int i) { bcorange = i; }
0030 
0031  private:
0032   unsigned int bcorange{0};
0033   std::string m_EvtNodeName = "TPCRAWHIT";
0034   std::set<uint64_t> bclk_seen;
0035 };
0036 
0037 #endif  // FFARAWMODULES_EVENTCOMBINER_H