File indexing completed on 2025-08-05 08:17:38
0001 #ifndef TRIGGERVALID_TRIGGERVALID_H
0002 #define TRIGGERVALID_TRIGGERVALID_H
0003
0004 #include <ffarawobjects/Gl1Packet.h>
0005 #include <fun4all/SubsysReco.h>
0006
0007 #include <string>
0008 #include <vector>
0009
0010
0011 class Fun4AllHistoManager;
0012 class PHCompositeNode;
0013 class TFile;
0014 class TNtuple;
0015 class TTree;
0016 class TH2F;
0017 class TH1F;
0018 class TH1;
0019 class TProfile2D;
0020
0021 class TriggerValid : public SubsysReco
0022 {
0023 public:
0024
0025 TriggerValid(const std::string& name = "TriggerValid");
0026
0027
0028 ~TriggerValid() override = default;
0029
0030
0031 int Init(PHCompositeNode*) override;
0032
0033
0034 int process_event(PHCompositeNode*) override;
0035
0036 int process_towers(PHCompositeNode*);
0037 int process_ll1out(PHCompositeNode*);
0038
0039 void set_debug(bool debug) { m_debug = debug; }
0040
0041 private:
0042 int Getpeaktime(TH1* h);
0043
0044 bool m_debug{0};
0045 int _eventcounter{0};
0046 int _range{1};
0047 };
0048
0049 #endif