Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Source.h
1
/*
2
* Source.h
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
#ifndef HAL_ANALYSIS_BASE_STEER_HALSOURCE_H_
10
#define HAL_ANALYSIS_BASE_STEER_HALSOURCE_H_
11
12
#include <TObject.h>
13
#include <TString.h>
14
22
namespace
Hal
{
23
class
IOManager;
24
class
RootIOManager;
25
class
Source
:
public
TObject {
26
protected
:
27
IOManager
* fManager = {
nullptr
};
28
Source
(
IOManager
* manager) : fManager(manager) {};
29
30
public
:
35
Source
(TString name =
""
) {};
40
virtual
void
AddFile
(TString file =
""
);
45
virtual
void
AddFriend
(TString friendName, Int_t level);
50
TString
GetSourceName
()
const
;
55
virtual
IOManager
*
GetIOManager
()
const
;
60
virtual
Bool_t
Init
() = 0;
61
virtual
~Source
();
62
ClassDef(
Source
, 1)
63
};
67
class
RootSource
:
public
Source
{
68
protected
:
69
public
:
70
RootSource
(TString name =
""
);
71
virtual
Bool_t
Init
();
72
virtual
~RootSource
() {};
73
ClassDef(
RootSource
, 1)
74
};
75
}
// namespace Hal
76
77
#endif
/* HAL_ANALYSIS_BASE_STEER_HALSOURCE_H_ */
Hal::IOManager
Definition
IOManager.h:52
Hal::RootSource
Definition
Source.h:67
Hal::RootSource::Init
virtual Bool_t Init()
Definition
Source.cxx:33
Hal::Source
Definition
Source.h:25
Hal::Source::Init
virtual Bool_t Init()=0
Hal::Source::GetIOManager
virtual IOManager * GetIOManager() const
Definition
Source.cxx:29
Hal::Source::AddFriend
virtual void AddFriend(TString friendName, Int_t level)
Definition
Source.cxx:25
Hal::Source::Source
Source(TString name="")
Definition
Source.h:35
Hal::Source::AddFile
virtual void AddFile(TString file="")
Definition
Source.cxx:23
Hal::Source::GetSourceName
TString GetSourceName() const
Definition
Source.cxx:27
Hal
Definition
EventAnaChain.cxx:28
data
io
Source.h
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0