Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:56

0001 //!    \file RegionInfo.h
0002 //!    \brief Declares structure to store region information data
0003 //!
0004 //!    \authors Author:  Andrei Gheata <andrei.gheata@cern.ch>
0005 //!
0006 
0007 #pragma once
0008 
0009 #ifndef RegionInfo_h
0010 #define RegionInfo_h
0011 
0012 #include <string>
0013 #include <list>
0014 #include <map>
0015 
0016 namespace vgdml {
0017 
0018 struct RegionCut {
0019   std::string name;
0020   double value;
0021   RegionCut(const std::string &n, double v) : name(n), value(v) {}
0022 };
0023 
0024 struct Region {
0025   std::string name;
0026   std::list<std::string> volNames;
0027   std::list<RegionCut> cuts;
0028 };
0029 
0030 } // namespace vgdml
0031 
0032 #endif