File indexing completed on 2025-08-06 08:16:11
0001 #ifndef __TPCIntegratedCharge_H__
0002 #define __TPCIntegratedCharge_H__
0003
0004 #include <fun4all/SubsysReco.h>
0005
0006 #include <string>
0007
0008 class PHCompositeNode;
0009 class Fun4AllHistoManager;
0010
0011
0012 class TPCIntegratedCharge : public SubsysReco
0013 {
0014 public:
0015 TPCIntegratedCharge(
0016 unsigned int minLayer,
0017 unsigned int m_maxLayer,
0018 const std::string &outputfilename = "TPCIntegratedCharge.root");
0019
0020 virtual ~TPCIntegratedCharge();
0021
0022 int Init(PHCompositeNode *topNode);
0023 int InitRun(PHCompositeNode *topNode);
0024 int process_event(PHCompositeNode *topNode);
0025 int End(PHCompositeNode *topNode);
0026
0027 private:
0028 #if !defined(__CINT__) || defined(__CLING__)
0029
0030 Fun4AllHistoManager *getHistoManager();
0031
0032 std::string m_outputFileName;
0033
0034 unsigned int m_minLayer;
0035 unsigned int m_maxLayer;
0036
0037 #endif
0038 };
0039
0040 #endif