Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TPCGemGainCalb.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TPCGemGainCalb.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef TPCGEMGAINCALB_H
4 #define TPCGEMGAINCALB_H
5 
6 #include <string>
7 
8 #include <fun4all/SubsysReco.h>
9 
10 #include <trackbase/TrkrDefs.h>
12 
13 class PHCompositeNode;
14 class SvtxTrackMap;
15 class SvtxTrack;
16 class SvtxVertexMap;
17 
18 class TF1;
19 class TNtuple;
20 class TFile;
21 
22 class TPCGemGainCalb : public SubsysReco
23 {
24  public:
25 
26  TPCGemGainCalb(const std::string &name = "TPCGemGainCalb");
27 
28  virtual ~TPCGemGainCalb();
29 
30  void set_track_map_name(const std::string &map_name) { _track_map_name = map_name; }
31 
33  int InitRun(PHCompositeNode *topNode);
34 
36  int process_event(PHCompositeNode *topNode);
37 
38  int EndRun(PHCompositeNode *topNode);
39 
41 int End(PHCompositeNode *topNode);
42 
43  protected:
44 
45  private:
46 
47  int GetNodes(PHCompositeNode* topNode);
48 
50 
51  SvtxTrackMap *_track_map{nullptr};
52  SvtxTrack *_track{nullptr};
55 
56  TNtuple *ntp{nullptr};
57  TFile *fout;
58 
59 };
60 
61 #endif // TPCGEMGAINCALB_H