Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-14 08:14:26

0001 
0002 #ifndef LASERQA_H
0003 #define LASERQA_H
0004 
0005 
0006 #include <fun4all/SubsysReco.h>
0007 
0008 #include <tpc/TpcDistortionCorrection.h>
0009 #include <tpc/TpcDistortionCorrectionContainer.h>
0010 
0011 #include <string>
0012 
0013 class PHCompositeNode;
0014 class LaserClusterContainer;
0015 class EventHeader;
0016 
0017 class TFile;
0018 class TH1D;
0019 class TH2D;
0020 
0021 class laserQA : public SubsysReco
0022 {
0023     
0024 public:
0025   laserQA(const std::string &name = "laserQA");
0026   
0027   ~laserQA() override = default;
0028   
0029   void setOutfile(const std::string &outname)
0030   {
0031     m_output = outname;
0032   }
0033   
0034   int InitRun(PHCompositeNode *topNode) override;
0035   
0036   int process_event(PHCompositeNode *topNode) override;
0037   
0038   int End(PHCompositeNode *topNode) override;
0039   
0040 private:
0041 
0042   TH1D *m_nLaserEvents{nullptr};
0043   
0044   TH2D *m_TPCWheel[2]{nullptr, nullptr};
0045   
0046   std::string m_output = "laserQA.root";
0047   
0048   TpcDistortionCorrection m_distortionCorrection;
0049   
0050   TpcDistortionCorrectionContainer *m_dcc_in_module_edge{nullptr};
0051   TpcDistortionCorrectionContainer *m_dcc_in_static{nullptr};
0052   
0053 };
0054 
0055 #endif