File indexing completed on 2025-12-17 09:21:17
0001 #ifndef QA_INTT_BCOCHECK_H
0002 #define QA_INTT_BCOCHECK_H
0003
0004
0005 #include <fun4all/SubsysReco.h>
0006
0007 #include <string>
0008
0009 class PHCompositeNode;
0010 class TFile;
0011 class TH1;
0012
0013 class bcocheck : public SubsysReco
0014 {
0015 public:
0016 explicit bcocheck(const std::string &name = "bcocheck", const int run_num = 0, const int felix_num = 0);
0017
0018 ~bcocheck() override = default;
0019
0020 int Init(PHCompositeNode *) override;
0021
0022 int InitRun(PHCompositeNode *) override;
0023
0024
0025 int process_event(PHCompositeNode *) override;
0026
0027 int End(PHCompositeNode *) override;
0028
0029
0030 private:
0031
0032 void DrawHists();
0033
0034 int run_num_{0};
0035 int felix_num_{0};
0036 static constexpr int kFelix_num_{8};
0037 static constexpr int kFee_num_{14};
0038 static constexpr int kChip_num_{26};
0039 static constexpr int kChan_num_{128};
0040 static constexpr int kFirst_pid_{3001};
0041 static constexpr int divimul{10};
0042
0043 int ievent_{0};
0044 TFile *tf_output_[kFelix_num_]{};
0045
0046 TH1 *h_full_bco[kFelix_num_]{};
0047 };
0048 #endif