Project
Loading...
Searching...
No Matches
Materials.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
16
17#ifndef O2_MID_SIMULATION_MATERIALS_H
18#define O2_MID_SIMULATION_MATERIALS_H
19
20#include <TGeoMedium.h>
21
22namespace o2
23{
24
25namespace mid
26{
27
38
39// Return a pointer to the mid medium number imed.
40// Throws an exception if imed is not within Medium enum
41// and / or medium has not been defined yet.
42TGeoMedium* assertMedium(int imed);
43
44void createMaterials();
45
46} // namespace mid
47} // namespace o2
48
49#endif // O2_MID_SIMULATION_MATERIALS_H
void createMaterials()
Definition Materials.cxx:88
TGeoMedium * assertMedium(int imed)
@ Styrofoam
Definition Materials.h:35
@ Bakelite
Definition Materials.h:30
@ Aluminium
Definition Materials.h:32
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...