Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-19 07:38: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   
0013  public:
0014   RootSetupWrapper(){};
0015   RootSetupWrapper(Setup* s);
0016   virtual ~RootSetupWrapper() {}
0017   
0018  private:
0019   
0020   bool isInit;
0021   //key is CellID
0022   std::map<int, TString> assemblyID;
0023   std::map<int, int>     ROunit;
0024   std::map<int, int>     ROchannel;
0025   std::map<int, int>     Board;
0026   //key is module number
0027   std::map<int, std::pair<float,float>> ModPos;
0028   //Inverse mapping
0029   std::map< std::pair<int, int>, int> CellIDfromRO;
0030   // key is layerNr
0031   std::map<int,int>     SegmentSum;
0032   int nMaxLayer;
0033   int nMaxRow;
0034   int nMaxColumn;
0035   int nMaxModule;
0036   int nMaxROUnit;
0037   int maxCellID;
0038   int sumOpt;
0039   
0040   friend class Setup;
0041   ClassDef(RootSetupWrapper,2)
0042 };
0043 
0044 
0045 #endif