ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTpcCentralMembraneClusterizer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHTpcCentralMembraneClusterizer.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef PHTPCCENTRALMEMBRANECLUSTERIZER_H
4 #define PHTPCCENTRALMEMBRANECLUSTERIZER_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;
20 
21 class TF1;
22 class TNtuple;
23 class TFile;
24 class TH1F;
25 class TH2F;
26 
28 {
29  public:
30 
31  PHTpcCentralMembraneClusterizer(const std::string &name = "PHTpcCentralMembraneClusterizer");
32 
34 
35  void set_process(const int proc) { _process = proc; }
36  void set_histos_on(const bool val) {_histos = val;}
37  void set_min_adc_value(const unsigned int val) {_min_adc_value = val;}
38 
40  int InitRun(PHCompositeNode *topNode);
41 
43  int process_event(PHCompositeNode *topNode);
44 
46  int End(PHCompositeNode * topNode);
47 
48  protected:
49 
50  private:
51 
52  int GetNodes(PHCompositeNode* topNode);
53 
54  std::string _track_map_name;
55 
60 
61  TH1F *henergy;
62  TH1F *hz;
63  TH2F *hxy;
64  TH1F *hDist;
65  TH2F *hDistRow;
66  TH1F *hDist2;
67  TH2F *hDistRowAdj;
68  TH1F *hDist2Adj;
69  TH1F *hClustE[3];
70 
71  int _process = 0;
72  unsigned int _min_adc_value = 180;
73  bool _histos = false;
74 
75  TFile *fout;
76 
77 };
78 
79 #endif // PHTPCCENTRALMEMBRANECLUSTERIZER_H