Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:42

0001 #ifndef INTTSTREAMQA_H__
0002 #define INTTSTREAMQA_H__
0003 
0004 #include <TObject.h>
0005 #include <fun4all/SubsysReco.h>
0006 
0007 #include <string>
0008 
0009 //#include <intt/InttMapping.h>
0010 
0011 /// Class declarations for use in the analysis module
0012 class PHCompositeNode;
0013 class TH1;
0014 class TH2;
0015 class InttRawHitContainer;
0016 /// Definition of this analysis module class
0017 class InttStreamQA : public SubsysReco
0018 {
0019  public:
0020   /*!
0021   @brief Constructor
0022   @param name Used to initialize Subsysreco
0023   @param fname It's assigned to fname_
0024   */
0025   InttStreamQA(const std::string& name = "InttStreamQA");
0026 
0027   // Destructor
0028   virtual ~InttStreamQA() = default;
0029 
0030   /// SubsysReco initialize processing method
0031   int InitRun(PHCompositeNode*);
0032 
0033   /// SubsysReco event processing method
0034   int process_event(PHCompositeNode*);
0035 
0036   /// SubsysReco end processing method
0037   int End(PHCompositeNode*);
0038 
0039  private:
0040   void createHistos();
0041   std::string getHistoPrefix() const;
0042   std::vector<InttRawHitContainer*> m_rawhit_containers;
0043 
0044   TH2* h_bco[8]{nullptr};
0045   TH2* h_hit[8]{nullptr};
0046 
0047   TH1* h_bco_felix[8]{nullptr};         // FPHX bco
0048                                         //   TH1* h_bco_all{nullptr};
0049   TH1* h_bcogl1diff_felix[8]{nullptr};  // bcofull - gl1bco for all hits
0050 
0051   TH1* h_bcoreco_diff[8]{nullptr};
0052   TH1* h_bcoreco_evt_diff[8]{nullptr};
0053   TH1* h_bcoreco_evt_diff_all{nullptr};
0054 
0055   TH1* h_bcorecointt_diff[8]{nullptr};
0056   TH1* h_bcointtgl1_diff{nullptr};
0057 
0058   //   TH1* h_bunch[8]{nullptr};
0059   TH1* h_bunch_all{nullptr};
0060   TH1* h_bunch_gl1{nullptr};
0061 
0062   //   TH1* h_bunch_strb[8]{nullptr};
0063   TH2* h_bunch_evt_bcodiff[8]{nullptr};
0064   TH2* h_bunch_bco[8]{nullptr};
0065 
0066   //   TH1* h_bcoprediff[8]{nullptr};
0067 };
0068 
0069 #endif