#include <SiClusters.h>
Public Types | |
| enum | view { X, Y, XY } |
| enumeration of the view of the cluster. More... | |
Public Methods | |
| SiCluster () | |
| default constructor. More... | |
| SiCluster (int id, int v, int ilayer, int istrip0, int istripf, double ToT, int tower = 0) | |
| constructor with parameters. More... | |
| virtual | ~SiCluster () |
| default destructor. More... | |
| void | setPosition (Point p) |
| set the position in space. More... | |
| void | setID (int id) |
| set ID of the cluster. More... | |
| void | flag (int flag=1) |
| set flag of the cluster (default 1). More... | |
| void | unflag () |
| unflag the cluster. More... | |
| int | tower () const |
| returns tower id. More... | |
| int | id () const |
| returns cluster id. More... | |
| int | plane () const |
| returns plane id. More... | |
| view | v () const |
| returns view X or Y. More... | |
| int | chip () const |
| returns chip id. More... | |
| double | strip () const |
| returns strip address. More... | |
| int | firstStrip () const |
| returns first strip. More... | |
| int | lastStrip () const |
| returns last strip. More... | |
| bool | hitFlagged () const |
| returns true if the cluster has been flagged returns true if the cluster has been flagged. More... | |
| Point | position () const |
| returns the position in space of the cluster. More... | |
| double | size () const |
| returns the size of the cluster. More... | |
| void | writeOut (MsgStream& log) const |
| write out the information of the cluster. More... | |
| void | draw (gui::DisplayRep& v, double pitch, double towerPitch) |
| draws the clusters (each strips). More... | |
Protected Methods | |
| void | ini () |
| initialize the member variables of the cluster. More... | |
Static Protected Methods | |
| enum view | intToView (int) |
| converts the a view integer to a enum view. More... | |
| int | viewToInt (view v) |
| converts the enum view into a integer. More... | |
Private Attributes | |
| int | m_tower |
| tower id. More... | |
| int | m_plane |
| plane id. More... | |
| SiCluster::view | m_view |
| view. More... | |
| int | m_chip |
| chip id. More... | |
| int | m_strip0 |
| initial strip address of the cluster. More... | |
| int | m_stripf |
| final strip address of the cluster. More... | |
| double | m_strip |
| central strip of the cluster. More... | |
| double | m_size |
| size of the clusters (number of strips). More... | |
| double | m_ToT |
| ToT value of the cluster. More... | |
| Point | m_position |
| space position of the cluster. More... | |
| int | m_id |
| id of the cluster. More... | |
| int | m_flag |
| flag of the cluster. More... | |
Friends | |
| class | SiClusters |
Definition at line 34 of file SiClusters.h.
|
|
enumeration of the view of the cluster.
Definition at line 40 of file SiClusters.h. |
|
|
default constructor.
Definition at line 47 of file SiClusters.h. |
|
|
constructor with parameters.
Definition at line 9 of file SiClusters.cpp. |
|
|
default destructor.
Definition at line 52 of file SiClusters.h. |
|
|
returns chip id.
Definition at line 72 of file SiClusters.h. |
|
|
draws the clusters (each strips).
Definition at line 44 of file SiClusters.cpp. |
|
|
returns first strip.
Definition at line 76 of file SiClusters.h. |
|
|
set flag of the cluster (default 1).
Definition at line 59 of file SiClusters.h. Referenced by SiClusters::flagHit(). |
|
|
returns true if the cluster has been flagged returns true if the cluster has been flagged.
Definition at line 81 of file SiClusters.h. Referenced by SiClusters::hitFlagged(). |
|
|
returns cluster id.
Definition at line 66 of file SiClusters.h. |
|
|
initialize the member variables of the cluster.
Definition at line 74 of file SiClusters.cpp. |
|
|
converts the a view integer to a enum view.
Definition at line 91 of file SiClusters.cpp. |
|
|
returns last strip.
Definition at line 78 of file SiClusters.h. |
|
|
returns plane id.
Definition at line 68 of file SiClusters.h. Referenced by SiClustersAlg::execute(). |
|
|
returns the position in space of the cluster.
Definition at line 84 of file SiClusters.h. Referenced by SiClusters::position(), and TkrClustersRep::update(). |
|
|
set ID of the cluster.
Definition at line 57 of file SiClusters.h. |
|
|
set the position in space.
Definition at line 55 of file SiClusters.h. Referenced by SiClustersAlg::execute(). |
|
|
returns the size of the cluster.
Definition at line 86 of file SiClusters.h. Referenced by SiClusters::nHits(), SiClusters::size(), and TkrClustersRep::update(). |
|
|
returns strip address.
Definition at line 74 of file SiClusters.h. Referenced by SiClustersAlg::execute(). |
|
|
returns tower id.
Definition at line 64 of file SiClusters.h. Referenced by SiClustersAlg::execute(). |
|
|
unflag the cluster.
Definition at line 61 of file SiClusters.h. Referenced by SiClusters::unflagHit(). |
|
|
returns view X or Y.
Definition at line 70 of file SiClusters.h. Referenced by SiClustersAlg::execute(), and TkrClustersRep::update(). |
|
|
converts the enum view into a integer.
Definition at line 101 of file SiClusters.cpp. Referenced by SiClusters::addCluster(), and SiClusters::getHits(). |
|
|
write out the information of the cluster.
Definition at line 33 of file SiClusters.cpp. |
|
|
Definition at line 42 of file SiClusters.h. |
|
|
ToT value of the cluster.
Definition at line 125 of file SiClusters.h. |
|
|
chip id.
Definition at line 113 of file SiClusters.h. |
|
|
flag of the cluster.
Definition at line 132 of file SiClusters.h. |
|
|
id of the cluster.
Definition at line 130 of file SiClusters.h. |
|
|
plane id.
Definition at line 109 of file SiClusters.h. |
|
|
space position of the cluster.
Definition at line 127 of file SiClusters.h. |
|
|
size of the clusters (number of strips).
Definition at line 123 of file SiClusters.h. |
|
|
central strip of the cluster.
Definition at line 120 of file SiClusters.h. |
|
|
initial strip address of the cluster.
Definition at line 116 of file SiClusters.h. |
|
|
final strip address of the cluster.
Definition at line 118 of file SiClusters.h. |
|
|
tower id.
Definition at line 107 of file SiClusters.h. |
|
|
view.
Definition at line 111 of file SiClusters.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000