GassiplexStripChamber1 Class Reference

#include <GassiplexStripChamber1.hh>

Inheritance diagram for GassiplexStripChamber1:

Inheritance graph
[legend]
Collaboration diagram for GassiplexStripChamber1:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GassiplexStripChamber1 (const float xPos, const float yPos, const float zPos, const bool xRotation, const bool yRotation, const i16 zRotation, const ui32 nbColumns, const ui32 nbRows, const i32 id, const bool horizontal)
 ~GassiplexStripChamber1 ()
unsigned int getNumberOfBoards () const
bool getHorizontal () const
unsigned int getNumberOfGassiplexBoards () const
const float getXGap () const
const float getYGap () const

Private Member Functions

void init ()

Private Attributes

bool horizontal

Detailed Description

Definition at line 17 of file GassiplexStripChamber1.hh.


Constructor & Destructor Documentation

GassiplexStripChamber1::GassiplexStripChamber1 ( const float  xPos,
const float  yPos,
const float  zPos,
const bool  xRotation,
const bool  yRotation,
const i16  zRotation,
const ui32  nbColumns,
const ui32  nbRows,
const i32  id,
const bool  horizontal 
)

Definition at line 15 of file GassiplexStripChamber1.cpp.

00016 : Chamber(aX, aY , aZ ,  xRotation,yRotation,zRotation, nbColumns, nbRows , id )
00017 //
00018 {
00019   FILE_LOG(logDEBUG) << "---GassiplexStripChamber1 contructor id["<< id << "]" << endl;
00020   description = "GassiplexStripChamber1";
00021   type = GASSIPLEXSTRIPCHAMBER1;
00022   myIsValid = true;
00023   horizontal = _horizontal;
00024   init();
00025 }

GassiplexStripChamber1::~GassiplexStripChamber1 (  ) 

Definition at line 28 of file GassiplexStripChamber1.cpp.

00029 {
00030   //FILE_LOG(logDEBUG) << "---GassiplexStripChamber1 destructor"<< endl;
00031 }


Member Function Documentation

unsigned int GassiplexStripChamber1::getNumberOfBoards (  )  const [inline]

Reimplemented from Chamber.

Definition at line 26 of file GassiplexStripChamber1.hh.

Referenced by getNumberOfGassiplexBoards().

00026 { return 1; }

bool GassiplexStripChamber1::getHorizontal (  )  const [inline]

Definition at line 27 of file GassiplexStripChamber1.hh.

Referenced by GassiplexStripChannel::GassiplexStripChannel().

00027 { return horizontal; }

unsigned int GassiplexStripChamber1::getNumberOfGassiplexBoards (  )  const [inline, virtual]

Reimplemented from Chamber.

Definition at line 28 of file GassiplexStripChamber1.hh.

00028 { return getNumberOfBoards(); }; // only reimplement in GassioplexBoard* class

const float GassiplexStripChamber1::getXGap (  )  const [inline, virtual]

Implements Chamber.

Definition at line 31 of file GassiplexStripChamber1.hh.

00031 { return(0); }; // in centimeter

const float GassiplexStripChamber1::getYGap (  )  const [inline, virtual]

Implements Chamber.

Definition at line 32 of file GassiplexStripChamber1.hh.

00032 { return(0);};

void GassiplexStripChamber1::init (  )  [private]

Definition at line 36 of file GassiplexStripChamber1.cpp.

Referenced by GassiplexStripChamber1().

00037 {
00038   // the board ID is used to make the channel Id (see GassiplexChip.init())  PAD Side
00039                 
00040 
00041   if ( horizontal )
00042   {
00043     boards.insert(make_pair(1, new GassiplexBoardStrip(*this, 0, 0, 1, 96 , 1)));  // Strip horizontal
00044   }
00045   else
00046   {
00047     boards.insert(make_pair(1, new GassiplexBoardStrip(*this, 0, 0, 96, 1 , 1)));  // Strip vertical
00048   }
00049 }


Member Data Documentation

bool GassiplexStripChamber1::horizontal [private]

Definition at line 32 of file GassiplexStripChamber1.hh.

Referenced by GassiplexStripChamber1(), and init().


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