CbmRoot
Loading...
Searching...
No Matches
HalCbmSource.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2023 Warsaw University of Technology, Warsaw
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Daniel Wielanek [committer] */
4#ifndef CBMROOT_2023_ANALYSIS_PWGC2F_FEMTOSCOPY_HAL_HELPERS_HALCBMSOURCE_H_
5#define CBMROOT_2023_ANALYSIS_PWGC2F_FEMTOSCOPY_HAL_HELPERS_HALCBMSOURCE_H_
6
7#include <RtypesCore.h>
8#include <TChain.h>
9#include <TFile.h>
10#include <TString.h>
11
12#include <vector>
13
14#include <Hal/IOManager.h>
15#include <Hal/RootIOManager.h>
16#include <Hal/Source.h>
17
23
24class HalCbmATIOManager : public Hal::RootIOManager {
25 protected:
26 virtual void FillBranches();
29
30 public:
31 HalCbmATIOManager(TString name = "") : Hal::RootIOManager(name){};
32 virtual ~HalCbmATIOManager();
33 ClassDef(HalCbmATIOManager, 1)
34};
35
36class HalCbmSource : public Hal::Source {
37 protected:
39
40 public:
41 HalCbmSource(TString filename = "");
42 virtual void AddFile(TString fileName = "");
43 virtual void AddFriend(TString friendName = "", Int_t level = 0);
44 Hal::IOManager* GetIOManager() const { return fManager; };
45 virtual ~HalCbmSource();
46 ClassDef(HalCbmSource, 1)
47};
48
49#endif /* CBMROOT_2023_ANALYSIS_PWGC2F_FEMTOSCOPY_HAL_HELPERS_HALCBMSOURCE_H_ */
CbmAnaTreeRecoSourceContainer * fRecoContainer
virtual void FillBranches()
HalCbmATIOManager(TString name="")
virtual ~HalCbmATIOManager()
CbmAnaTreeMcSourceContainer * fSimContainer
HalCbmSource(TString filename="")
HalCbmATIOManager * fManager
Hal::IOManager * GetIOManager() const
virtual void AddFriend(TString friendName="", Int_t level=0)
virtual void AddFile(TString fileName="")
virtual ~HalCbmSource()