File indexing completed on 2025-08-05 08:16:10
0001
0002
0003 #ifndef FUN4ALL_FUN4ALLDUMMYINPUTMANAGER_H
0004 #define FUN4ALL_FUN4ALLDUMMYINPUTMANAGER_H
0005
0006 #include "Fun4AllInputManager.h"
0007
0008 #include "Fun4AllReturnCodes.h"
0009
0010 #include <string> // for string
0011
0012 class Fun4AllSyncManager;
0013 class SyncObject;
0014
0015 class Fun4AllDummyInputManager : public Fun4AllInputManager
0016 {
0017 public:
0018 Fun4AllDummyInputManager(const std::string& name = "DUMMY", const std::string& nodename = "DST");
0019 ~Fun4AllDummyInputManager() override {}
0020 int fileopen(const std::string&) override { return 0; }
0021 int fileclose() override { return 0; }
0022 int IsOpen() const override { return 1; }
0023 int run(const int ) override;
0024 int GetSyncObject(SyncObject** ) override { return Fun4AllReturnCodes::SYNC_NOOBJECT; }
0025 int SyncIt(const SyncObject* ) override { return Fun4AllReturnCodes::SYNC_OK; }
0026 void setSyncManager(Fun4AllSyncManager* master) override;
0027 int PushBackEvents(const int nevt) override;
0028 int NoSyncPushBackEvents(const int nevt) override { return PushBackEvents(nevt); }
0029 int ResetFileList() override;
0030
0031 private:
0032 int m_NumEvents = 0;
0033 int m_SumEvents = 0;
0034 };
0035
0036 #endif