Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tpc_hits.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file tpc_hits.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef TPC_HITS_H
4 #define TPC_HITS_H
5 
6 #include "TPCMap.h"
7 #include "TPC_RawHit.h"
8 
9 #include <trackbase/TrkrDefs.h>
10 #include <trackbase/TrkrHitSet.h>
11 
12 #include <fun4all/SubsysReco.h>
13 
14 #include <memory>
15 #include <string>
16 
17 class PHCompositeNode;
19 //class TrkrHitSetContainer;
20 //class TrkrHitSet;
21 //class TrkrHit;
22 class TH2;
23 
24 class tpc_hits : public SubsysReco
25 {
26  public:
27  tpc_hits(const std::string &name = "tpc_hits");
28 
29  ~tpc_hits() override;
30 
31  int Init(PHCompositeNode *topNode) override;
32 
38  int InitRun(PHCompositeNode *topNode) override;
39 
43  int process_event(PHCompositeNode *topNode) override;
44 
46  //int ResetEvent(PHCompositeNode *topNode) override;
47 
49  //int EndRun(const int runnumber) override;
50 
52  int End(PHCompositeNode *topNode) override;
53 
55  //int Reset(PHCompositeNode * /*topNode*/) override;
56 
57  //void Print(const std::string &what = "ALL") const override;
58 
59  protected:
60  Fun4AllHistoManager *hm = nullptr;
62 
63  static const int layercount = 16;
64  static const int layeroffset = 7 + 16;
65 
66  //TrkrHitSetContainer *m_hits = nullptr;
68  //TrkrHit *m_hit = nullptr;
69 
70  // RawHitSetContainer *m_rawhits __attribute__ ((unused)) = nullptr;
71 
73 
77 
78  private:
79 
80  TH2* _h_hit_XY = nullptr;
81 
82 };
83 
84 #endif // TPC_HITS_H