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
0010
0011
0012 class PHCompositeNode;
0013 class TH1;
0014 class TH2;
0015 class InttRawHitContainer;
0016
0017 class InttStreamQA : public SubsysReco
0018 {
0019 public:
0020
0021
0022
0023
0024
0025 InttStreamQA(const std::string& name = "InttStreamQA");
0026
0027
0028 virtual ~InttStreamQA() = default;
0029
0030
0031 int InitRun(PHCompositeNode*);
0032
0033
0034 int process_event(PHCompositeNode*);
0035
0036
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};
0048
0049 TH1* h_bcogl1diff_felix[8]{nullptr};
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
0059 TH1* h_bunch_all{nullptr};
0060 TH1* h_bunch_gl1{nullptr};
0061
0062
0063 TH2* h_bunch_evt_bcodiff[8]{nullptr};
0064 TH2* h_bunch_bco[8]{nullptr};
0065
0066
0067 };
0068
0069 #endif