Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ComplexEventInterface.h
1/*
2 * ComplexEventInterface.h
3 *
4 * Created on: 10 wrz 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HAL_DATA_DATAFORMAT_COMPOUND_COMPLEXEVENTINTERFACE_H_
10#define HAL_DATA_DATAFORMAT_COMPOUND_COMPLEXEVENTINTERFACE_H_
11
12#include "EventInterface.h"
13namespace Hal {
14
16 EventInterface* fReal;
17 EventInterface* fImag;
18
19 protected:
20 virtual void ConnectToTreeInternal(Hal::EventInterface::eMode mode);
21
22 public:
23 ComplexEventInterface(EventInterface* real = nullptr, EventInterface* img = nullptr);
24 ComplexEventInterface(const ComplexEventInterface& other) = delete;
25 EventInterface* GetReal() const { return fReal; }
26 EventInterface* GetImag() const { return fImag; }
27 virtual ~ComplexEventInterface();
28 ClassDef(ComplexEventInterface, 1)
29 };
30
31} /* namespace Hal */
32
33#endif /* HAL_DATA_DATAFORMAT_COMPOUND_COMPLEXEVENTINTERFACE_H_ */