CbmRoot
CbmMediaList.h
Go to the documentation of this file.
1
12
#ifndef CBMMEDIALIST_H_
13
#define CBMMEDIALIST_H_
14
15
#include <Rtypes.h>
// for THashConsistencyHolder, ClassDef
16
#include <TObject.h>
// for TObject
17
#include <TString.h>
// for TString
18
19
#include <utility>
// for pair
20
#include <vector>
// for vector
21
22
class
CbmMediaList
:
public
TObject {
23
public
:
25
CbmMediaList
() =
default
;
26
27
32
void
AddEntry
(TString, TString);
33
37
const
std::vector<std::pair<TString, TString>>&
GetVector
() {
38
return
fMatList
;
39
}
40
41
private
:
42
std::vector<std::pair<TString, TString>>
fMatList
;
43
44
ClassDef(
CbmMediaList
, 1)
45
};
46
47
#endif
CbmMediaList
CbmMediaList.
Definition:
CbmMediaList.h:22
CbmMediaList::AddEntry
void AddEntry(TString, TString)
add new pair of geometry path and media information
Definition:
CbmMediaList.cxx:3
CbmMediaList::CbmMediaList
CbmMediaList()=default
CbmMediaList::fMatList
std::vector< std::pair< TString, TString > > fMatList
Definition:
CbmMediaList.h:42
CbmMediaList::GetVector
const std::vector< std::pair< TString, TString > > & GetVector()
Get the stored information.
Definition:
CbmMediaList.h:37
core
base
utils
CbmMediaList.h
Generated on Wed Oct 28 2020 15:11:41 for CbmRoot by
1.8.18