/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/geometry/GassiplexStripChip.cpp

Go to the documentation of this file.
00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */
00002 
00003 #include "geometry/GassiplexStripChip.hh"
00004 #include "geometry/GassiplexStripChannel.hh"
00005 #include "geometry/Board.hh"
00006 
00007 #include <iostream>
00008 #include "tools/Log.hh"
00009 
00010 #define NBCHANNEL 96
00011 
00012 using namespace std;
00013 
00014 //--------------------------//
00015 GassiplexStripChip::GassiplexStripChip(const Board& aBoard, const i32 aCol, const i32 aRow, const ui32 nbColumns,const ui32 nbRows ,const i32 aId ,const ui32 aSerialNumber )
00016 :Chip(aBoard, aCol, aRow, nbColumns, nbRows, aId, aSerialNumber)
00017 {       
00018   init();
00019   type = GASSIPLEX_TYPE;
00020 };
00021 
00022 //--------------------------//
00023 void GassiplexStripChip::init()
00024 {
00025   i32 channelId = id ;  /** Gassiplex -> chip Id == Channel Id ) **/
00026   GassiplexStripChannel* channel = new GassiplexStripChannel(*this, 0, 0, channelId);
00027   channels.insert(make_pair(channelId,channel));
00028 };

Generated on Mon Jan 7 13:15:22 2013 for MicromegasFramework by  doxygen 1.4.7