#include <emcGeometry.h>
Inherits emcManageable.
Inheritance diagram for emcGeometry:
Definition at line 18 of file emcGeometry.h.
Public Member Functions | |
emcGeometry () | |
default ctor. | |
emcGeometry (const std::vector< SecGeom > §ors) | |
ctor with given sectors. | |
emcGeometry (const emcGeometry &obj) | |
copy ctor. | |
emcGeometry & | operator= (const emcGeometry &obj) |
assignment operator. | |
virtual | ~emcGeometry () |
dtor. | |
virtual const char * | GetCategory (void) const |
Category = "geom.emc.Sectors". | |
const PHTimeStamp & | GetEndValTime (void) const |
End-of-validity time. | |
const PHTimeStamp & | GetStartValTime (void) const |
Start-of-validity time. | |
bool | IsValid (const PHTimeStamp &when) const |
Tells if geometry is valid at a given time. | |
size_t | NumberOfSectors (void) const |
Actual number of sectors. | |
void | Print (void) const |
Output on screen. | |
void | PrintCorners (void) const |
Only output the sector corners. | |
void | Set (const std::vector< SecGeom > §ors) |
Itinialize geometry from sectors. | |
void | Reset (void) |
Reset the object. | |
const SecGeom & | Sector (size_t iS) const |
Get an handle to a sector, given its number. | |
void | SetValidityPeriod (const PHTimeStamp &t1, const PHTimeStamp &t2) |
Static Public Member Functions | |
static size_t | MaxNumberOfSectors (void) |
Returns the maximum number of sectors handled by this geometry. | |
Protected Member Functions | |
void | Copy (emcGeometry &) const |
Private Attributes | |
std::vector< SecGeom > | fSectors |
PHTimeStamp | fStart |
PHTimeStamp | fEnd |
Static Private Attributes | |
static size_t | fgNumberOfSectors = 8 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const emcGeometry &obj) |
output stream. |
|
default ctor.
Definition at line 12 of file emcGeometry.C. |
|
ctor with given sectors.
Definition at line 31 of file emcGeometry.h. References Set(). |
|
copy ctor.
Definition at line 24 of file emcGeometry.C. References Copy(). |
|
dtor.
Definition at line 18 of file emcGeometry.C. |
|
Definition at line 39 of file emcGeometry.C. References emcManageable::Copy(), and fSectors. Referenced by emcGeometry(), and operator=(). |
|
Category = "geom.emc.Sectors".
Implements emcManageable. Definition at line 47 of file emcGeometry.h. Referenced by emcOMGeometryT< BM >::Read(). |
|
End-of-validity time.
Definition at line 53 of file emcGeometry.h. References fEnd. |
|
Start-of-validity time.
Definition at line 59 of file emcGeometry.h. References fStart. |
|
Tells if geometry is valid at a given time.
Reimplemented from emcManageable. Definition at line 54 of file emcGeometry.C. Referenced by emcOMGeometryT< BM >::Collect(). |
|
Returns the maximum number of sectors handled by this geometry.
Definition at line 68 of file emcGeometry.h. References fgNumberOfSectors. Referenced by emcOMGeometryT< BM >::Read(). |
|
Actual number of sectors.
Definition at line 74 of file emcGeometry.h. References fSectors. Referenced by mEmcGeometryModule::readFromDB(). |
|
assignment operator.
Definition at line 30 of file emcGeometry.C. References Copy(). |
|
Output on screen.
Definition at line 80 of file emcGeometry.h. |
|
Only output the sector corners.
Definition at line 90 of file emcGeometry.C. |
|
Reset the object.
Reimplemented from emcManageable. Definition at line 95 of file emcGeometry.C. References fSectors. Referenced by emcOMGeometryT< BM >::Read(). |
|
Get an handle to a sector, given its number.
Definition at line 62 of file emcGeometry.C. References fSectors. Referenced by mEmcGeometryModule::readFromDB(). |
|
Itinialize geometry from sectors.
Definition at line 90 of file emcGeometry.h. References fSectors. Referenced by emcGeometry(). |
|
Definition at line 103 of file emcGeometry.h. |
|
output stream.
|
|
Definition at line 117 of file emcGeometry.h. Referenced by GetEndValTime(), IsValid(), and SetValidityPeriod(). |
|
Definition at line 115 of file emcGeometry.h. Referenced by MaxNumberOfSectors(). |
|
Definition at line 114 of file emcGeometry.h. Referenced by Copy(), NumberOfSectors(), operator<<(), Reset(), Sector(), and Set(). |
|
Definition at line 116 of file emcGeometry.h. Referenced by GetStartValTime(), IsValid(), and SetValidityPeriod(). |