fmssim
|
Defines properties shared between small- and large-cell sub-detectors. More...
#include <SubDetector.h>
Public Member Functions | |
virtual | ~SubDetector () |
virtual UInt_t | Size () const |
Returns the number of cells/channels in the detector. | |
virtual void | Draw (Option_t *="") |
virtual Cell * | Find (const TVector3 &) const |
Enum like this might be best in a general enums or geometry 'global' file. | |
Protected Attributes | |
std::list< Cell * > | mCells |
Defines properties shared between small- and large-cell sub-detectors.
Contains a collection of cells that can be searched and drawn.
fms::geometry::SubDetector::~SubDetector | ( | ) | [virtual] |
void fms::geometry::SubDetector::Draw | ( | Option_t * | o = "" | ) | [virtual] |
Cell * fms::geometry::SubDetector::Find | ( | const TVector3 & | ) | const [virtual] |
Enum like this might be best in a general enums or geometry 'global' file.
Could also collect various global properties like z locations of detectors, whether that detector was in for a given year... Returns a pointer to the cell containing a point. Returns NULL if there is no such cell.
Implements fms::geometry::Detector.
UInt_t fms::geometry::SubDetector::Size | ( | ) | const [inline, virtual] |
Returns the number of cells/channels in the detector.
Implements fms::geometry::Detector.
std::list<Cell*> fms::geometry::SubDetector::mCells [protected] |