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

Public Methods | |
| SiClusters (int nViews, int nPlanes, double stripPitch, double towerPitch) | |
| default constructor (ini the container). More... | |
| virtual | ~SiClusters () |
| destructor (delete the siclusters in the lists). More... | |
| virtual const CLID& | clID () const |
| void | addCluster (SiCluster* cl) |
| add a SiCluster into the list. More... | |
| int | nHits () const |
| number of total clusters. More... | |
| SiCluster* | getHit (int i) const |
| returns SiClusters pointer in i position (note i position = id of the cluster). More... | |
| void | flagHit (SiCluster::view v, int id, int iflag=1) |
| flag SiCluster with id (view obsolete). More... | |
| void | unflagHit (SiCluster::view v, int id) |
| unflag SiCluster with id (view obsolete). More... | |
| bool | hitFlagged (SiCluster::view v, int id) |
| returns if the SiCluster with id is flagged (view obsolete). More... | |
| SiCluster* | getHit (SiCluster::view v, int id) |
| returns SiCluster pointer with id (view obsolete). More... | |
| Point const | position (SiCluster::view v, int id) |
| returns SiCluster space position with id (view obsolete). More... | |
| double const | size (SiCluster::view v, int id) |
| returns size of the cluster with id (view obsolete). More... | |
| double const | stripPitch () |
| Returns the strip pitch stored from geometry file. More... | |
| double const | towerPitch () |
| Returns the tray width stored from geometry file. More... | |
| std::vector<SiCluster*>& | getHits (SiCluster::view v, int iplane) |
| int | nHits (SiCluster::view v, int iplane) |
| returns the number of SiClusters in a given view and plane. More... | |
| void | flagHitsInPlane (SiCluster::view v, int iplane) |
| flag the list of SiCluster of a given view and plane. More... | |
| virtual void | clear () |
| delete the list of clusters. More... | |
| virtual void | make () |
| emty class. More... | |
| void | writeOut (MsgStream& log) const |
| write out the information of the SiLayers. More... | |
| void | update (gui::DisplayRep& v) |
| draws the SiClusters. More... | |
| Point | meanHit (SiCluster::view v, int iplane) |
| returns the mean point in the space for a given view and plane. More... | |
| Point | meanHitInside (SiCluster::view v, int iplane, double size, Point Pini) |
| returns the mean point in the space for a given plane, view, around a radius (size) of a given Point. More... | |
| Point | nearestHitOutside (SiCluster::view v, int iplane, double inRadius, Point centerX, int& id) |
| int | numberOfHitsNear ( int iPlane, double inRadius, Point& x0) |
| Finds the number of clusters near a given point. More... | |
| int | numberOfHitsNear ( int iPlane, double dX, double dY, Point& x0) |
| int | numberOfHitsNear ( SiCluster::view v, int iPlane, double inRadius, Point& x0) |
Static Public Methods | |
| const CLID& | classID () |
| GAUDI members to be use by the converters. More... | |
Private Methods | |
| virtual void | ini () |
| intialize the SiClusters. More... | |
| void | draw (gui::DisplayRep& v) |
| draws the SiClusters. More... | |
Private Attributes | |
| double | m_stripPitch |
| Strip pitch. More... | |
| double | m_towerPitch |
| Tray width. More... | |
| int | numViews |
| int | numPlanes |
| std::vector<SiCluster*> | m_clustersList |
| std::vector<SiCluster*> | m_clustersByPlaneList [NVIEWS][NPLANES] |
|
|
default constructor (ini the container).
Definition at line 112 of file SiClusters.cpp. |
|
|
destructor (delete the siclusters in the lists).
Definition at line 122 of file SiClusters.cpp. |
|
|
add a SiCluster into the list.
Definition at line 130 of file SiClusters.cpp. Referenced by SiClustersAlg::execute(). |
|
|
Definition at line 152 of file SiClusters.h. |
|
|
GAUDI members to be use by the converters.
Definition at line 151 of file SiClusters.h. Referenced by clID(). |
|
|
delete the list of clusters.
Definition at line 138 of file SiClusters.cpp. Referenced by ~SiClusters(). |
|
|
draws the SiClusters.
Definition at line 361 of file SiClusters.cpp. Referenced by update(). |
|
|
flag SiCluster with id (view obsolete).
Definition at line 163 of file SiClusters.h. |
|
|
flag the list of SiCluster of a given view and plane.
Definition at line 343 of file SiClusters.cpp. |
|
|
returns SiCluster pointer with id (view obsolete).
Definition at line 170 of file SiClusters.h. |
|
|
returns SiClusters pointer in i position (note i position = id of the cluster).
Definition at line 160 of file SiClusters.h. Referenced by flagHit(), hitFlagged(), position(), size(), unflagHit(), and TkrClustersRep::update(). |
|
|
returns a reference to a vector of SiClusters pointer with the list of SiClusters pointer that belong to a given view and plane Definition at line 183 of file SiClusters.h. Referenced by nHits(). |
|
|
returns if the SiCluster with id is flagged (view obsolete).
Definition at line 167 of file SiClusters.h. |
|
|
intialize the SiClusters.
Definition at line 148 of file SiClusters.cpp. Referenced by SiClusters(). |
|
|
emty class.
Definition at line 196 of file SiClusters.h. |
|
|
returns the mean point in the space for a given view and plane.
Definition at line 161 of file SiClusters.cpp. |
|
|
returns the mean point in the space for a given plane, view, around a radius (size) of a given Point.
Definition at line 178 of file SiClusters.cpp. |
|
|
returns the number of SiClusters in a given view and plane.
Definition at line 187 of file SiClusters.h. |
|
|
number of total clusters.
Definition at line 158 of file SiClusters.h. Referenced by TkrTupleValues::calcTupleValues(), and TkrClustersRep::update(). |
|
|
returns the nearest point around a view and a plane, inside a inner radius centered in a Point. It also returns the id of the cluser (a reference to the id) Definition at line 226 of file SiClusters.cpp. |
|
|
Definition at line 317 of file SiClusters.cpp. |
|
|
Definition at line 284 of file SiClusters.cpp. |
|
|
Finds the number of clusters near a given point.
Definition at line 277 of file SiClusters.cpp. Referenced by RecTupleValues::calcExtraHits(). |
|
|
returns SiCluster space position with id (view obsolete).
Definition at line 172 of file SiClusters.h. |
|
|
returns size of the cluster with id (view obsolete).
Definition at line 174 of file SiClusters.h. Referenced by GFtutor::okClusterSize(). |
|
|
Returns the strip pitch stored from geometry file.
Definition at line 177 of file SiClusters.h. Referenced by TkrClustersRep::update(). |
|
|
Returns the tray width stored from geometry file.
Definition at line 179 of file SiClusters.h. Referenced by TkrClustersRep::update(). |
|
|
unflag SiCluster with id (view obsolete).
Definition at line 165 of file SiClusters.h. |
|
|
draws the SiClusters.
Definition at line 201 of file SiClusters.h. |
|
|
write out the information of the SiLayers.
Definition at line 351 of file SiClusters.cpp. Referenced by SiClustersAlg::execute(). |
|
|
Definition at line 241 of file SiClusters.h. |
|
|
Definition at line 239 of file SiClusters.h. |
|
|
Strip pitch.
Definition at line 229 of file SiClusters.h. |
|
|
Tray width.
Definition at line 231 of file SiClusters.h. |
|
|
Definition at line 238 of file SiClusters.h. |
|
|
the clusters are organized in two lists: a) One containes the list of all clusters, b) the other one has them ordered by plane and view to facilitate access to Pattern Recognition functions. This needs to be change into vectors<vector<T>> and not use NVIEWs and NPLANES! Definition at line 237 of file SiClusters.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000