Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Source.cxx
1/*
2 * Source.cxx
3 *
4 * Created on: 5 maj 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#include "Source.h"
11
12#include "InputDataInfo.h"
13#include "RootIOManager.h"
14
15#include <TString.h>
16
17namespace Hal {
18
19 Source::~Source() {
20 if (fManager) delete fManager;
21 }
22
23 void Source::AddFile(TString file) { fManager->AddFile(file); };
24
25 void Source::AddFriend(TString friendName, Int_t level) { fManager->AddFriend(friendName, level); };
26
27 TString Source::GetSourceName() const { return fManager->GetSourceName(); };
28
29 IOManager* Source::GetIOManager() const { return fManager; };
30
31 RootSource::RootSource(TString name) { fManager = new RootIOManager(name); }
32
33 Bool_t RootSource::Init() { return kTRUE; }
34
35} // namespace Hal
void AddFriend(TString friendName, Int_t level)
void AddFile(TString name)
TString GetSourceName() const
virtual Bool_t Init()
Definition Source.cxx:33
virtual IOManager * GetIOManager() const
Definition Source.cxx:29
virtual void AddFriend(TString friendName, Int_t level)
Definition Source.cxx:25
virtual void AddFile(TString file="")
Definition Source.cxx:23
TString GetSourceName() const
Definition Source.cxx:27