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

Glast Class Reference

Glast: represents the Glast instrument as a whole, from a detector standpoint. More...

#include <Glast.h>

Inheritance diagram for Glast:

GlastDetector DetectorVisitor xml::PersistentObject List of all members.

Public Types

typedef std::vector<Tower*> _towerList
typedef _childList::const_iterator const_iterator
typedef Tower TowerType
 declare the storage classes underneath Glast. More...

typedef Scintillator ACDTileType

Public Methods

 Glast ()
 constructors. More...

virtual ~Glast ()
 destructor. More...

const_iterator begin () const
 access. More...

const_iterator end () const
const Towertower (const unsigned int& i) const
virtual void printOn (std::ostream&) const
 GlastDetector overrides. More...

virtual void read (std::istream&)
virtual void write (std::ostream&) const
virtual const char* nameOf () const
void visit (Tower*)
void visit (Scintillator*)
virtual void accept (DetectorVisitor&)
void abortVisit ()
virtual DOM_Element persist (DOM_Element&) const

Static Public Methods

void loadParameters (xml::IFile&)
 setup parameters, done once. More...

short x_acd_across ()
short y_acd_across ()
Glast* instance ()

Static Public Attributes

int xNum = 1
int yNum = 1
double wall_gap = 0
double ke_cutoff = .0005
double zModDepth
double zModCntr
double Width
const GlastDetector::_PersistKey classPersistKey = GlastDetector::_PersistKey("Glast")

Protected Types

typedef _towerList::iterator iterator

Protected Methods

 Glast ( const DOM_Element& in )
const GlastDetector::_PersistKey& persistKey () const
iterator begin ()
iterator end ()

Private Attributes

bool m_visit_flag
MCTruth m_truth

Static Private Attributes

Glast* s_instance = 0

Friends

class  _Factory

Detailed Description

Glast: represents the Glast instrument as a whole, from a detector standpoint.

All active detectors within the instrument are contained within this Glast detector.

Definition at line 23 of file Glast.h.


Member Typedef Documentation

typedef Scintillator Glast::ACDTileType
 

Definition at line 42 of file Glast.h.

typedef Tower Glast::TowerType
 

declare the storage classes underneath Glast.

Definition at line 41 of file Glast.h.

typedef std::vector<Tower*> Glast::_towerList
 

Definition at line 37 of file Glast.h.

typedef _childList::const_iterator Glast::const_iterator
 

Reimplemented from GlastDetector.

Definition at line 38 of file Glast.h.

Referenced by begin(), and end().

typedef _towerList::iterator Glast::iterator [protected]
 

Reimplemented from GlastDetector.

Definition at line 88 of file Glast.h.

Referenced by begin(), and end().


Constructor & Destructor Documentation

Glast::Glast ( )
 

constructors.

Definition at line 39 of file Glast.cxx.

Glast::~Glast ( ) [virtual]
 

destructor.

Definition at line 43 of file Glast.cxx.

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

Definition at line 48 of file Glast.cxx.


Member Function Documentation

void Glast::abortVisit ( ) [inline]
 

Definition at line 62 of file Glast.h.

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

Reimplemented from GlastDetector.

Definition at line 78 of file Glast.cxx.

Glast::iterator Glast::begin ( ) [protected]
 

Reimplemented from GlastDetector.

Definition at line 110 of file Glast.cxx.

Glast::const_iterator Glast::begin ( ) const
 

access.

Reimplemented from GlastDetector.

Definition at line 116 of file Glast.cxx.

Referenced by begin(), and tower().

Glast::iterator Glast::end ( ) [protected]
 

Reimplemented from GlastDetector.

Definition at line 113 of file Glast.cxx.

Glast::const_iterator Glast::end ( ) const
 

Reimplemented from GlastDetector.

Definition at line 119 of file Glast.cxx.

Referenced by end().

Glast * Glast::instance ( ) [inline, static]
 

Definition at line 78 of file Glast.h.

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

setup parameters, done once.

Definition at line 62 of file Glast.cxx.

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

Reimplemented from GlastDetector.

Definition at line 56 of file Glast.h.

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

Reimplemented from GlastDetector.

Definition at line 55 of file Glast.cxx.

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

Definition at line 94 of file Glast.h.

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

GlastDetector overrides.

Reimplemented from GlastDetector.

Definition at line 73 of file Glast.cxx.

void Glast::read ( std::istream & is ) [virtual]
 

Reimplemented from GlastDetector.

Definition at line 93 of file Glast.cxx.

const Tower * Glast::tower ( const unsigned int & i ) const
 

Definition at line 122 of file Glast.cxx.

void Glast::visit ( Scintillator * s ) [virtual]
 

Reimplemented from DetectorVisitor.

Definition at line 105 of file Glast.cxx.

void Glast::visit ( Tower * t ) [virtual]
 

Reimplemented from DetectorVisitor.

Definition at line 99 of file Glast.cxx.

void Glast::write ( std::ostream & os ) const [virtual]
 

Reimplemented from GlastDetector.

Definition at line 88 of file Glast.cxx.

short Glast::x_acd_across ( ) [inline, static]
 

Definition at line 65 of file Glast.h.

short Glast::y_acd_across ( ) [inline, static]
 

Definition at line 66 of file Glast.h.


Friends And Related Function Documentation

class _Factory [friend]
 

Definition at line 102 of file Glast.h.


Member Data Documentation

double Glast::Width [static]
 

Definition at line 21 of file Glast.cxx.

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

Definition at line 26 of file Glast.cxx.

double Glast::ke_cutoff = .0005 [static]
 

Definition at line 18 of file Glast.cxx.

MCTruth Glast::m_truth [private]
 

Definition at line 107 of file Glast.h.

bool Glast::m_visit_flag [private]
 

Definition at line 105 of file Glast.h.

Glast * Glast::s_instance = 0 [static, private]
 

Definition at line 23 of file Glast.cxx.

double Glast::wall_gap = 0 [static]
 

Definition at line 17 of file Glast.cxx.

int Glast::xNum = 1 [static]
 

Definition at line 15 of file Glast.cxx.

int Glast::yNum = 1 [static]
 

Definition at line 16 of file Glast.cxx.

double Glast::zModCntr [static]
 

Definition at line 20 of file Glast.cxx.

double Glast::zModDepth [static]
 

Definition at line 19 of file Glast.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