Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:45

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   //key is CellID
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   //Inverse mapping
0026   std::map< std::pair<int, int>, int> CellIDfromRO;
0027   int nMaxLayer;
0028   int nMaxRow;
0029   int nMaxColumn;
0030   int nMaxModule;
0031   int nMaxROUnit;
0032   int maxCellID;
0033   
0034   friend class Setup;
0035   ClassDef(RootSetupWrapper,1)
0036 };
0037 
0038 
0039 #endif