Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Tower Class Reference

Tower: class which represents an entire GLAST tower module and all active detectors therein. More...

#include <Tower.h>

Inheritance diagram for Tower:

GlastDetector DetectorVisitor xml::PersistentObject List of all members.

Public Types

typedef Calorimeter CalorimeterType
typedef SiTracker TrackerType
enum  Skirt_bit { E = 1, N = 2, W = 4, S = 8 }

Public Methods

 Tower ()
 Tower (idents::ModuleId id)
 Tower (const Tower&)
virtual ~Tower ()
const SiTrackertracker () const
const Calorimetercalorimeter () const
SiTrackertracker ()
Calorimetercalorimeter ()
const idents::ModuleId& getId () const
virtual void accept (DetectorVisitor& v)
virtual void accept (DetectorConverter& v) const
void printOn (std::ostream&) const
const char* nameOf () const
virtual void visit (SiTracker*)
virtual void visit (Calorimeter*)
virtual DOM_Element persist (DOM_Element&) const

Static Public Methods

void loadParameters (xml::IFile& ini)

Static Public Attributes

const GlastDetector::_PersistKey classPersistKey = GlastDetector::_PersistKey("Tower")
double mod_width
double wall_thickness
double wall_width
double wall_gap
const char* wall_material
const char* wall_color
double tray_spacing
double cal_tracker_gap
int num_trays
int align

Protected Methods

 Tower (const DOM_Element& elem)
const GlastDetector::_PersistKey& persistKey () const
void tracker (SiTracker* s)
void calorimeter (Calorimeter* c)

Private Attributes

idents::ModuleId m_module_id
SiTrackerm_tracker
Calorimeterm_calorimeter

Friends

class  _Factory
class  GlastRecon
class  Glast

Detailed Description

Tower: class which represents an entire GLAST tower module and all active detectors therein.

Each instance has its own SiTracker, Calorimeter, and a list of attached Scintillator (veto tiles). which are accessable through methods described below. These are still managed by GlastDetector, the pointers must be used for access only!

Version:
Id:
Tower.h,v 1.7 2000/12/11 19:40:48 burnett Exp

Definition at line 33 of file Tower.h.


Member Typedef Documentation

typedef Calorimeter Tower::CalorimeterType
 

Definition at line 48 of file Tower.h.

typedef SiTracker Tower::TrackerType
 

Definition at line 49 of file Tower.h.


Member Enumeration Documentation

enum Tower::Skirt_bit
 

Enumeration values:
E  
N  
W  
S  

Definition at line 52 of file Tower.h.


Constructor & Destructor Documentation

Tower::Tower ( )
 

Definition at line 44 of file Tower.cxx.

Tower::Tower ( idents::ModuleId id )
 

Definition at line 48 of file Tower.cxx.

Tower::Tower ( const Tower & t )
 

Definition at line 53 of file Tower.cxx.

Tower::~Tower ( ) [virtual]
 

Definition at line 77 of file Tower.cxx.

Tower::Tower ( const DOM_Element & elem ) [protected]
 

Definition at line 62 of file Tower.cxx.


Member Function Documentation

void Tower::accept ( DetectorConverter & v ) const [virtual]
 

Reimplemented from GlastDetector.

Definition at line 106 of file Tower.cxx.

void Tower::accept ( DetectorVisitor & v ) [virtual]
 

Reimplemented from GlastDetector.

Definition at line 100 of file Tower.cxx.

void Tower::calorimeter ( Calorimeter * c ) [inline, protected]
 

Definition at line 110 of file Tower.h.

Calorimeter * Tower::calorimeter ( ) [inline]
 

Definition at line 61 of file Tower.h.

const Calorimeter * Tower::calorimeter ( ) const [inline]
 

Definition at line 59 of file Tower.h.

const idents::ModuleId & Tower::getId ( ) const [inline]
 

Definition at line 64 of file Tower.h.

void Tower::loadParameters ( xml::IFile & ini ) [static]
 

Definition at line 113 of file Tower.cxx.

const char * Tower::nameOf ( ) const [inline, virtual]
 

Reimplemented from GlastDetector.

Definition at line 72 of file Tower.h.

DOM_Element Tower::persist ( DOM_Element & parent ) const [virtual]
 

Reimplemented from GlastDetector.

Definition at line 70 of file Tower.cxx.

const GlastDetector::_PersistKey & Tower::persistKey ( ) const [inline, protected]
 

Definition at line 105 of file Tower.h.

void Tower::printOn ( std::ostream & out ) const [virtual]
 

Reimplemented from GlastDetector.

Definition at line 91 of file Tower.cxx.

void Tower::tracker ( SiTracker * s ) [inline, protected]
 

Definition at line 109 of file Tower.h.

SiTracker * Tower::tracker ( ) [inline]
 

Definition at line 60 of file Tower.h.

const SiTracker * Tower::tracker ( ) const [inline]
 

Definition at line 56 of file Tower.h.

void Tower::visit ( Calorimeter * c ) [virtual]
 

Reimplemented from DetectorVisitor.

Definition at line 81 of file Tower.cxx.

void Tower::visit ( SiTracker * s ) [virtual]
 

Reimplemented from DetectorVisitor.

Definition at line 85 of file Tower.cxx.


Friends And Related Function Documentation

class Glast [friend]
 

Definition at line 122 of file Tower.h.

class GlastRecon [friend]
 

Definition at line 121 of file Tower.h.

class _Factory [friend]
 

Definition at line 113 of file Tower.h.


Member Data Documentation

int Tower::align [static]
 

Definition at line 30 of file Tower.cxx.

double Tower::cal_tracker_gap [static]
 

Definition at line 28 of file Tower.cxx.

const GlastDetector::_PersistKey Tower::classPersistKey = GlastDetector::_PersistKey("Tower") [static]
 

Definition at line 31 of file Tower.cxx.

Calorimeter * Tower::m_calorimeter [private]
 

Definition at line 118 of file Tower.h.

idents::ModuleId Tower::m_module_id [private]
 

Definition at line 116 of file Tower.h.

SiTracker * Tower::m_tracker [private]
 

Definition at line 117 of file Tower.h.

double Tower::mod_width [static]
 

Definition at line 21 of file Tower.cxx.

int Tower::num_trays [static]
 

Definition at line 29 of file Tower.cxx.

double Tower::tray_spacing [static]
 

Definition at line 27 of file Tower.cxx.

const char * Tower::wall_color [static]
 

Definition at line 26 of file Tower.cxx.

double Tower::wall_gap [static]
 

Definition at line 24 of file Tower.cxx.

const char * Tower::wall_material [static]
 

Definition at line 25 of file Tower.cxx.

double Tower::wall_thickness [static]
 

Definition at line 22 of file Tower.cxx.

double Tower::wall_width [static]
 

Definition at line 23 of file Tower.cxx.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:41 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000