fmssim
|
Describes the entire FMS detector as of 2011. More...
#include <Detector2011.h>
Public Member Functions | |
Detector2011 () | |
Default constructor. | |
virtual | ~Detector2011 () |
Destructor. | |
virtual Cell * | Find (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 Detector * | Get (ESubDetector) const |
Returns a sub-detector. | |
Protected Types | |
typedef std::map< char, Detector * > | Table |
Protected Attributes | |
Table | mSubSystems |
A collection of sub-detectors. |
Describes the entire FMS detector as of 2011.
It is composed of two small-cell sub-detectors and two large-cell subdetectors.
typedef std::map<char, Detector*> fms::geometry::Detector2011::Table [protected] |
fms::geometry::Detector2011::Detector2011 | ( | ) |
Default constructor.
fms::geometry::Detector2011::~Detector2011 | ( | ) | [virtual] |
Destructor.
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.
Table fms::geometry::Detector2011::mSubSystems [protected] |
A collection of sub-detectors.