fmssim
Public Member Functions | Protected Types | Protected Attributes
fms::geometry::Detector2011 Class Reference

Describes the entire FMS detector as of 2011. More...

#include <Detector2011.h>

List of all members.

Public Member Functions

 Detector2011 ()
 Default constructor.
virtual ~Detector2011 ()
 Destructor.
virtual CellFind (const TVector3 &point) const
 Returns a pointer to the cell containing a point.
virtual UInt_t Size () const
 Returns the number of sub-detectors.
virtual void Draw (Option_t *option="")
 Draws a x-y view of the detector cells.
virtual DetectorGet (ESubDetector) const
 Returns a sub-detector.

Protected Types

typedef std::map< char,
Detector * > 
Table

Protected Attributes

Table mSubSystems
 A collection of sub-detectors.

Detailed Description

Describes the entire FMS detector as of 2011.

It is composed of two small-cell sub-detectors and two large-cell subdetectors.


Member Typedef Documentation

typedef std::map<char, Detector*> fms::geometry::Detector2011::Table [protected]

Constructor & Destructor Documentation

fms::geometry::Detector2011::Detector2011 ( )

Default constructor.

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

Destructor.


Member Function Documentation

void fms::geometry::Detector2011::Draw ( Option_t *  option = "") [virtual]

Draws a x-y view of the detector cells.

By default cells are colour coded between large and small, with cells of the south detectors a paler shade than those of the north. If option contains "qt" the cells are instead colour coded by the QT board serving them. If options contains "c" the channel number is printed in each cell, or the QT board code if "qt" is also specified.

Cell * fms::geometry::Detector2011::Find ( const TVector3 &  point) const [virtual]

Returns a pointer to the cell containing a point.

Returns NULL if no cell is found.

Implements fms::geometry::Detector.

Detector * fms::geometry::Detector2011::Get ( ESubDetector  sub) const [virtual]

Returns a sub-detector.

Returns NULL if the argument is invalid.

UInt_t fms::geometry::Detector2011::Size ( ) const [inline, virtual]

Returns the number of sub-detectors.

Implements fms::geometry::Detector.


Member Data Documentation

A collection of sub-detectors.


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