Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
DbgSource.cxx
1/*
2 * DbgSource.cxx
3 *
4 * Created on: 28 maj 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#include "DbgSource.h"
10
11#include "DbgIOManager.h"
12#include "Source.h"
13
14namespace HalDbg {
15 Source::Source(Int_t events) : Hal::Source("root_virtual.root") {
16 fEvents = events;
17 fManager = new HalDbg::IOManager("root_virtual.root", fEvents);
18 }
19
20 Hal::IOManager* Source::GetIOManager() const { return fManager; }
21
22 Source::~Source() {
23 if (fManager) delete fManager;
24 }
25
26} // namespace HalDbg