Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ComplexEventInterface.cxx
1/*
2 * ComplexEventInterface.cxx
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#include "ComplexEventInterface.h"
10
11namespace Hal {
12
13 ComplexEventInterface::ComplexEventInterface(EventInterface* real, EventInterface* img) : fReal(real), fImag(img) {}
14
15 ComplexEventInterface::~ComplexEventInterface() {
16 if (fReal) delete fReal;
17 if (fImag) delete fImag;
18 }
19
20 void ComplexEventInterface::ConnectToTreeInternal(Hal::EventInterface::eMode mode) {
21 fReal->ConnectToTree(mode);
22 fImag->ConnectToTree(mode);
23 }
24
25} /* namespace Hal */