fmssim
Public Member Functions | Static Protected Attributes
fms::geometry::SmallCell Class Reference

A small FMS cell. More...

#include <SmallCell.h>

List of all members.

Public Member Functions

 SmallCell (Double_t xmin=0., Double_t xmax=0., Double_t ymin=0., Double_t ymax=0.)
 A small FMS cell.
 SmallCell (Int_t column, Int_t row, Bool_t south)
 Initialise a cell with column and row number.
virtual ~SmallCell ()
virtual void Draw (Option_t *="")
virtual UInt_t Channel () const
 Returns the channel number of the cell.
virtual void SetChannel (UInt_t)
 Sets the channel number of the cell.
virtual Double_t Width () const
 The width of the cell in cm.
virtual Double_t Height () const
 The height of the cell in cm.
virtual Int_t GetQtBoard () const
 Returns the number of the QT board to which this cell is connected.
virtual void SetQtBoard (Int_t)
 Set the QT board to which this cell belongs.

Static Protected Attributes

static Double_t smWidth
static Double_t smHeight

Detailed Description

A small FMS cell.


Constructor & Destructor Documentation

fms::geometry::SmallCell::SmallCell ( Double_t  xmin = 0.,
Double_t  xmax = 0.,
Double_t  ymin = 0.,
Double_t  ymax = 0. 
)

A small FMS cell.

fms::geometry::SmallCell::SmallCell ( Int_t  column,
Int_t  row,
Bool_t  south 
)

Initialise a cell with column and row number.

Cell edge coordinates are calculated automatically from the cell widths and heights.

fms::geometry::SmallCell::~SmallCell ( ) [virtual]

Member Function Documentation

UInt_t fms::geometry::SmallCell::Channel ( ) const [inline, virtual]

Returns the channel number of the cell.

This is a unique identifier for the cell in the detector to which it belongs.

Reimplemented from fms::geometry::Cell.

void fms::geometry::SmallCell::Draw ( Option_t *  o = "") [virtual]
Int_t fms::geometry::SmallCell::GetQtBoard ( ) const [inline, virtual]

Returns the number of the QT board to which this cell is connected.

Returns a value < 0 if the QT board is unkown.

Reimplemented from fms::geometry::Cell.

Double_t fms::geometry::SmallCell::Height ( ) const [inline, virtual]

The height of the cell in cm.

Implements fms::geometry::Cell.

void fms::geometry::SmallCell::SetChannel ( UInt_t  c) [inline, virtual]

Sets the channel number of the cell.

This should be a unique identifier for the cell in the detector to which it belongs.

Reimplemented from fms::geometry::Cell.

void fms::geometry::SmallCell::SetQtBoard ( Int_t  i) [inline, virtual]

Set the QT board to which this cell belongs.

Use a value < 0 to indicate that the QT board is unknown.

Reimplemented from fms::geometry::Cell.

Double_t fms::geometry::SmallCell::Width ( ) const [inline, virtual]

The width of the cell in cm.

Implements fms::geometry::Cell.


Member Data Documentation

Double_t fms::geometry::SmallCell::smHeight [static, protected]
Double_t fms::geometry::SmallCell::smWidth [static, protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines