File indexing completed on 2025-10-21 08:07:43
0001 #ifndef ROOTSETUPWRAPPER_H
0002 #define ROOTSETUPWRAPPER_H
0003
0004 #include <cstddef>
0005 #include <map>
0006 #include "TString.h"
0007
0008 class Setup;
0009
0010 class RootSetupWrapper{
0011
0012 public:
0013 RootSetupWrapper(){};
0014 RootSetupWrapper(Setup* s);
0015 virtual ~RootSetupWrapper() {}
0016
0017 private:
0018
0019 bool isInit;
0020
0021 std::map<int, TString> assemblyID;
0022 std::map<int, int> ROunit;
0023 std::map<int, int> ROchannel;
0024 std::map<int, int> Board;
0025
0026 std::map<int, std::pair<float,float>> ModPos;
0027
0028 std::map< std::pair<int, int>, int> CellIDfromRO;
0029 int nMaxLayer;
0030 int nMaxRow;
0031 int nMaxColumn;
0032 int nMaxModule;
0033 int nMaxROUnit;
0034 int maxCellID;
0035
0036 friend class Setup;
0037 ClassDef(RootSetupWrapper,1)
0038 };
0039
0040
0041 #endif