File indexing completed on 2025-04-02 08:47:06
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
0011 #define INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
0012
0013 #include "eicsmear/smear/Detector.h"
0014 #include "eicsmear/smear/EventSmear.h"
0015 #include "eicsmear/smear/EventFactory.h"
0016
0017 class TBranch;
0018
0019 namespace erhic {
0020
0021 class EventDis;
0022
0023 }
0024
0025 namespace Smear {
0026
0027
0028
0029
0030 class EventDisFactory : public EventFactory<Smear::Event> {
0031 public:
0032
0033
0034
0035 virtual ~EventDisFactory();
0036
0037
0038
0039
0040
0041
0042 EventDisFactory(const Detector&, TBranch&);
0043
0044
0045
0046
0047
0048
0049
0050 virtual Event* Create();
0051
0052 erhic::VirtualEvent* GetEvBufferPtr();
0053
0054 protected:
0055 Detector mDetector;
0056 erhic::EventDis* mMcEvent;
0057 };
0058
0059 inline erhic::VirtualEvent* EventDisFactory::GetEvBufferPtr() {
0060 return mMcEvent;
0061 }
0062
0063 }
0064
0065 #endif