#include <TowerArray.h>
Inheritance diagram for TowerArray:

Public Methods | |
| TowerArray ( int nx, int ny, float lx, float ly, float z, float eR) | |
| constructor. More... | |
| virtual | ~TowerArray () |
| destructor. More... | |
| virtual void | score (MCParticle* ) |
| deside whether to accumluate energy and calc. howmuch to accumulate. More... | |
| float | scoreTower (long, float) |
| accumulate some energy into a specific Tower. (return total energy). More... | |
| virtual void | clear () |
| remove the accumulated energy information. More... | |
| virtual void | draw (gui::DisplayRep&) const |
| construct and display boxes for each hit tower. More... | |
| int | hits () const |
| access to array of hit crystals. More... | |
| Point | xtalPos (unsigned i) const |
| long | xtalId (unsigned i) const |
| float | energy (unsigned i) const |
| virtual void | readData (std::istream&) |
| read or write data to an open stream. More... | |
| virtual void | writeData (std::ostream&) |
| virtual void | writeParameters (std::ostream&) const |
| write basic parameters to an open stream. More... | |
| virtual void | printOn (std::ostream&) const |
| print hist. More... | |
| const char* | nameOf () const |
| so subclasses don't have to implement (requirement from GeomObject). More... | |
| virtual void | generateResponse () |
| Called after propagation. More... | |
| Point* | meanEnergy (float, float *, int *) |
| float | displayScale () const |
| get the scale used to display deposited energy. More... | |
Static Public Attributes | |
| float | s_display_scale = 10. |
Protected Methods | |
| virtual long | calculateIndex (const Point&) const |
| virtual void | calculateBin (long,float&,float&) const |
| TowerElement* | towers (int i) |
| const TowerElement* | towers (int i) const |
Protected Attributes | |
| int | xSegmentation |
| int | ySegmentation |
| float | xWidth |
| float | yWidth |
| float | zPlane |
| float | energyResolution |
TowerElement is a private data structure.
Definition at line 48 of file TowerArray.h.
|
|
constructor.
Definition at line 53 of file TowerArray.h. |
|
|
destructor.
Definition at line 229 of file TowerArray.cxx. |
|
|
Definition at line 81 of file TowerArray.cxx. Referenced by meanEnergy(). |
|
|
Definition at line 65 of file TowerArray.cxx. Referenced by score(). |
|
|
remove the accumulated energy information.
Reimplemented from Detector. Definition at line 114 of file TowerArray.cxx. Referenced by readData(), and ~TowerArray(). |
|
|
get the scale used to display deposited energy.
Definition at line 96 of file TowerArray.h. |
|
|
construct and display boxes for each hit tower.
Reimplemented from Detector. Definition at line 161 of file TowerArray.cxx. |
|
|
Definition at line 93 of file TowerArray.cxx. |
|
|
Called after propagation.
Reimplemented from Detector. Definition at line 120 of file TowerArray.cxx. |
|
|
access to array of hit crystals.
Definition at line 90 of file TowerArray.cxx. |
|
|
Definition at line 133 of file TowerArray.cxx. |
|
|
so subclasses don't have to implement (requirement from GeomObject).
Reimplemented from Detector. Definition at line 90 of file TowerArray.h. |
|
|
print hist.
Reimplemented from Detector. Definition at line 204 of file TowerArray.cxx. |
|
|
read or write data to an open stream.
Reimplemented from Detector. Definition at line 184 of file TowerArray.cxx. |
|
|
deside whether to accumluate energy and calc. howmuch to accumulate.
Reimplemented from Detector. Definition at line 21 of file TowerArray.cxx. |
|
|
accumulate some energy into a specific Tower. (return total energy).
Definition at line 36 of file TowerArray.cxx. Referenced by score(). |
|
|
Definition at line 123 of file TowerArray.h. |
|
|
Definition at line 122 of file TowerArray.h. |
|
|
Reimplemented from Detector. Definition at line 196 of file TowerArray.cxx. |
|
|
write basic parameters to an open stream.
Definition at line 220 of file TowerArray.cxx. |
|
|
Definition at line 110 of file TowerArray.cxx. |
|
|
Definition at line 98 of file TowerArray.cxx. |
|
|
Definition at line 112 of file TowerArray.h. |
|
|
Definition at line 18 of file TowerArray.cxx. |
|
|
Definition at line 101 of file TowerArray.h. |
|
|
Definition at line 105 of file TowerArray.h. |
|
|
Definition at line 102 of file TowerArray.h. |
|
|
Definition at line 106 of file TowerArray.h. |
|
|
Definition at line 109 of file TowerArray.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000