GassiplexStripChannel Class Reference

#include <GassiplexStripChannel.hh>

Inheritance diagram for GassiplexStripChannel:

Inheritance graph
[legend]
Collaboration diagram for GassiplexStripChannel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GassiplexStripChannel (const Chip &, const i32 aX, const i32 aY, const i32 aId)
 ~GassiplexStripChannel ()
const ui32 getXLength () const
const ui32 getYLength () const

Private Attributes

ui32 xLenght
ui32 yLenght

Detailed Description

CLASS GassiplexStripChannel //

Definition at line 20 of file GassiplexStripChannel.hh.


Constructor & Destructor Documentation

GassiplexStripChannel::GassiplexStripChannel ( const Chip ,
const i32  aX,
const i32  aY,
const i32  aId 
)

Definition at line 18 of file GassiplexStripChannel.cpp.

00018                                                                                                               :Channel(aChip, "GassiplexStripChannel channel",aColumn,aRow,aId), xLenght(0), yLenght(0)
00019 {
00020   //FILE_LOG(logDEBUG) << "------GassiplexStripChannel constructor.:hardId: "<< hardId << " ,column: " << column << " ,row: " << row  << endl;
00021  try
00022   {
00023     const GassiplexStripChamber1 &chamber = dynamic_cast< const GassiplexStripChamber1 &> (this->getChip().getBoard().getChamber());
00024     if  (chamber.getHorizontal() == true )
00025     { // Strip horizontal
00026       this->xLenght =   250; // in micrometer
00027       this->yLenght =   100000; // in micrometer
00028     }
00029     else
00030     { // Strip vertical
00031       this->xLenght =   100000; ;// in micrometer => 10 cm
00032       this->yLenght =   250; ;// in micrometer => 10 cm
00033     }
00034   }
00035   catch (...)
00036   {
00037     exit(-1);
00038   }
00039 
00040 
00041 }

GassiplexStripChannel::~GassiplexStripChannel (  ) 

Definition at line 43 of file GassiplexStripChannel.cpp.

00044 {
00045   FILE_LOG(logDEBUG1) << "------GassiplexStripChannel destructeur"  << endl;
00046 }


Member Function Documentation

const ui32 GassiplexStripChannel::getXLength (  )  const [inline, virtual]

Implements Channel.

Definition at line 32 of file GassiplexStripChannel.hh.

00032 { return xLenght;} ; 

const ui32 GassiplexStripChannel::getYLength (  )  const [inline, virtual]

Implements Channel.

Definition at line 33 of file GassiplexStripChannel.hh.

00033 { return yLenght;} ; 


Member Data Documentation

ui32 GassiplexStripChannel::xLenght [private]

Definition at line 33 of file GassiplexStripChannel.hh.

Referenced by GassiplexStripChannel(), and getXLength().

ui32 GassiplexStripChannel::yLenght [private]

Definition at line 38 of file GassiplexStripChannel.hh.

Referenced by GassiplexStripChannel().


The documentation for this class was generated from the following files:
Generated on Mon Jan 7 13:18:26 2013 for MicromegasFramework by  doxygen 1.4.7