File indexing completed on 2025-01-18 10:01:40
0001
0002
0003
0004
0005
0006 #pragma once
0007 #include <JANA/JEventProcessor.h>
0008
0009 using std::vector;
0010 using std::string;
0011 using std::pair;
0012
0013 class JAutoActivator : public JEventProcessor {
0014
0015 public:
0016 JAutoActivator();
0017 static std::pair<std::string, std::string> Split(std::string factory_name);
0018 void AddAutoActivatedFactory(string factory_name, string factory_tag);
0019 void Init() override;
0020 void Process(const JEvent&) override;
0021
0022 private:
0023 vector<pair<string,string>> m_auto_activated_factories;
0024 };
0025
0026