CbmRoot
|
#include <CbmMediaList.h>
Public Member Functions | |
CbmMediaList ()=default | |
void | AddEntry (TString, TString) |
add new pair of geometry path and media information More... | |
const std::vector< std::pair< TString, TString > > & | GetVector () |
Get the stored information. More... | |
Private Attributes | |
std::vector< std::pair< TString, TString > > | fMatList |
Class to allow to stream a vector of pairs needed by the check_media.C macro. The information is needed to check if there are changes in the media of TGeoNodes between the geometries of the detectors at creation of the ROOT geometry files and the final CbmRoot geometry.
Definition at line 22 of file CbmMediaList.h.
|
default |
Constructor
void CbmMediaList::AddEntry | ( | TString | path, |
TString | medium | ||
) |
add new pair of geometry path and media information
Full | geometry path for the TGeoNode |
Media | information of the TGeoNode |
Definition at line 3 of file CbmMediaList.cxx.
References fMatList.
|
inline |
Get the stored information.
Definition at line 37 of file CbmMediaList.h.
References fMatList.
|
private |
Definition at line 42 of file CbmMediaList.h.
Referenced by AddEntry(), and GetVector().