00001
00002
00003 #include "geometry/GassiplexChamber4.hh"
00004 #include "geometry/GassiplexBoardBeta24.hh"
00005
00006 #include "tools/Log.hh"
00007 #include <iostream>
00008
00009 using namespace std;
00010
00011 #define NBCHANNEL 384
00012
00013
00014
00015 GassiplexChamber4::GassiplexChamber4(const float aX, const float aY, const float aZ, const bool xRotation,const bool yRotation,const i16 zRotation, const ui32 nbColumns, const ui32 nbRows ,const i32 id)
00016 : Chamber(aX, aY , aZ , xRotation,yRotation,zRotation, nbColumns, nbRows , id )
00017
00018 {
00019 FILE_LOG(logDEBUG) << "---GassiplexChamber4 contructor id["<< id << "]" << endl;
00020 description = "GassiplexChamber4";
00021 type = GASSIPLEXCHAMBER4;
00022 myIsValid = true;
00023 init();
00024 }
00025
00026
00027 GassiplexChamber4::~GassiplexChamber4()
00028 {
00029
00030 }
00031
00032
00033
00034
00035 void GassiplexChamber4::init()
00036 {
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 int boardId = 1;
00053 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 0, 1, 16, 6 , boardId)));
00054
00055 boardId = 2;
00056 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 1, 1, 16 , 6 , boardId)));
00057
00058 boardId = 3;
00059 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 0, 0, 16, 6 , boardId)));
00060
00061 boardId = 4;
00062 boards.insert(make_pair(boardId, new GassiplexBoardBeta24(*this, 1, 0,16 ,6 , boardId)));
00063 }
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080