File indexing completed on 2025-08-06 08:18:07
0001 #ifndef TPCHITTRACKDISPLAY_TPCHITTRACKDISPLAY_H
0002 #define TPCHITTRACKDISPLAY_TPCHITTRACKDISPLAY_H
0003
0004 #include <fun4all/SubsysReco.h>
0005
0006 #include <string>
0007
0008
0009 class PHCompositeNode;
0010
0011
0012
0013 class TPCHitTrackDisplay : public SubsysReco
0014 {
0015 public:
0016
0017 TPCHitTrackDisplay(const std::string &name = "TPCHitTrackDisplay" );
0018
0019
0020 int process_event(PHCompositeNode *) override;
0021
0022 void set_pdgcode(const int thispdgcode) { _pdgcode = thispdgcode; }
0023
0024
0025 void setCutADC(float value) { m_cut_ADC = value; }
0026
0027
0028 void setIncludeTracklessClusters(float value) { m_trackless_clusters = value; }
0029
0030 private:
0031 float m_cut_ADC;
0032 bool m_trackless_clusters;
0033
0034
0035 int _event{0};
0036 int _pdgcode{0};
0037 std::string _fileName;
0038
0039
0040
0041
0042 void SimulationOut(PHCompositeNode *);
0043
0044 };
0045
0046 #endif