Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:21:23

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