CbmRoot
Loading...
Searching...
No Matches
CbmMediaList.h
Go to the documentation of this file.
1/* Copyright (C) 2020-2021 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
16#ifndef CBMMEDIALIST_H_
17#define CBMMEDIALIST_H_
18
19#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
20#include <TObject.h> // for TObject
21#include <TString.h> // for TString
22
23#include <utility> // for pair
24#include <vector> // for vector
25
26class CbmMediaList : public TObject {
27public:
29 CbmMediaList() = default;
30
31
36 void AddEntry(TString, TString);
37
41 const std::vector<std::pair<TString, TString>>& GetVector() { return fMatList; }
42
43private:
44 std::vector<std::pair<TString, TString>> fMatList;
45
46 ClassDef(CbmMediaList, 1)
47};
48
49#endif
CbmMediaList.
const std::vector< std::pair< TString, TString > > & GetVector()
Get the stored information.
void AddEntry(TString, TString)
add new pair of geometry path and media information
CbmMediaList()=default
std::vector< std::pair< TString, TString > > fMatList