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

A large FMS cell. More...

#include <LargeCell.h>

List of all members.

Public Member Functions

 LargeCell (Double_t xmin=0., Double_t xmax=0., Double_t ymin=0., Double_t ymax=0.)
 LargeCell (Int_t column, Int_t row, Bool_t south)
 Initialise a cell with column and row number.
virtual ~LargeCell ()
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.

Static Protected Attributes

static Double_t smWidth
static Double_t smHeight

Detailed Description

A large FMS cell.


Constructor & Destructor Documentation

fms::geometry::LargeCell::LargeCell ( Double_t  xmin = 0.,
Double_t  xmax = 0.,
Double_t  ymin = 0.,
Double_t  ymax = 0. 
)
fms::geometry::LargeCell::LargeCell ( 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::LargeCell::~LargeCell ( ) [virtual]

Member Function Documentation

UInt_t fms::geometry::LargeCell::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::LargeCell::Draw ( Option_t *  o = "") [virtual]
Double_t fms::geometry::LargeCell::Height ( ) const [inline, virtual]

The height of the cell in cm.

Implements fms::geometry::Cell.

void fms::geometry::LargeCell::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.

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

The width of the cell in cm.

Implements fms::geometry::Cell.


Member Data Documentation

Double_t fms::geometry::LargeCell::smHeight [static, protected]
Double_t fms::geometry::LargeCell::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