File indexing completed on 2025-08-06 08:17:49
0001 #ifndef KFPARTICLESPHENIX_KFPARTICLETRIGGERINFO_H
0002 #define KFPARTICLESPHENIX_KFPARTICLETRIGGERINFO_H
0003
0004 #include <calotrigger/TriggerAnalyzer.h>
0005
0006 #include <limits>
0007
0008 class Gl1Packet;
0009 class TTree;
0010
0011 class KFParticle_triggerInfo
0012 {
0013 public:
0014 KFParticle_triggerInfo();
0015
0016 virtual ~KFParticle_triggerInfo();
0017
0018 protected:
0019 TriggerAnalyzer *triggeranalyzer{nullptr};
0020
0021 bool buildTriggerBranches(PHCompositeNode *topNode, TTree *m_tree);
0022 void fillTriggerBranches(PHCompositeNode *topNode);
0023 void resetTriggerBranches();
0024
0025 private:
0026 static const int nTriggerBits = 64;
0027 bool m_trigger_bit[nTriggerBits] = {std::numeric_limits<bool>::quiet_NaN()};
0028
0029 };
0030
0031 #endif