00001
00002
00003 #include "geometry/GassiplexChamber1.hh"
00004 #include "geometry/GassiplexBoardBeta21.hh"
00005
00006 #include <iostream>
00007 #include "tools/Log.hh"
00008
00009 #define NBCHANNEL 96
00010
00011
00012
00013
00014
00015
00016
00017
00018 using namespace std;
00019
00020
00021 GassiplexChamber1::GassiplexChamber1(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)
00022 : Chamber(aX, aY , aZ , xRotation,yRotation,zRotation, nbColumns, nbRows , id )
00023 {
00024 FILE_LOG(logDEBUG) << "---GassiplexChamber1 contructor avec zPos =" << zPos << " id=" << id << endl;
00025 description = "GassiplexChamber1";
00026 type = GASSIPLEXCHAMBER1;
00027 myIsValid = true;
00028 init();
00029 }
00030
00031
00032 GassiplexChamber1::~GassiplexChamber1()
00033 {
00034
00035 }
00036
00037
00038 void GassiplexChamber1::init()
00039 {
00040
00041
00042 GassiplexBoardBeta21 *board = new GassiplexBoardBeta21(*this, 0, 0, 16, 6, 1);
00043 boards.insert(make_pair(1, board));
00044
00045 }
00046