#include <emcClusterContainerT.h>
Inherits emcClusterContainer.
Inheritance diagram for emcClusterContainerT< T >:
Definition at line 15 of file emcClusterContainerT.h.
Public Member Functions | |
emcClusterContainerT () | |
emcClusterContainerT (unsigned int defaultsize) | |
emcClusterContainerT (const emcClusterContainerT &) | |
emcClusterContainerT & | operator= (const emcClusterContainerT &) |
unsigned int | capacity (void) const |
emcClusterContainerT * | clone (void) const |
emcClusterContainerT * | create (void) const |
virtual | ~emcClusterContainerT () |
T * | addCluster (unsigned int i) |
Add a new cluster (using default emcClusterContentv# ctor). | |
T * | addCluster (unsigned int i, const emcClusterContent &c) |
Add a new cluster (using copy ctor). | |
T * | findCluster (int clusterid) const |
T * | getCluster (unsigned int i) const |
void | identify (std::ostream &os=std::cout) const |
int | isValid () const |
bool | removeCluster (unsigned int i) |
void | Reset () |
bool | resize (unsigned int newsize) |
unsigned int | size (void) const |
Protected Attributes | |
TClonesArray * | fEmcClusters |
Private Member Functions | |
void | allocate (unsigned int thesize) |
void | copy (emcClusterContainerT< T > &dest) const |
void | clear (TClonesArray &array) |
bool | expand (unsigned int) |
bool | expand_for (unsigned int) |
Static Private Attributes | |
static const unsigned int | fgDefaultSize = 1000 |
static const unsigned int | fgMaxSize = 24768 |
|
Definition at line 86 of file emcClusterContainerT.h. References emcClusterContainerT< T >::allocate(). |
|
Definition at line 93 of file emcClusterContainerT.h. References emcClusterContainerT< T >::allocate(). |
|
|
|
Definition at line 121 of file emcClusterContainerT.h. References emcClusterContainerT< T >::clear(), and emcClusterContainerT< T >::fEmcClusters. |
|
Add a new cluster (using copy ctor). c must be of compatible type, otherwise this will return 0. Reimplemented from emcClusterContainer. Definition at line 148 of file emcClusterContainerT.h. References emcClusterContainerT< T >::capacity(), emcClusterContainerT< T >::expand_for(), and test(). |
|
Add a new cluster (using default emcClusterContentv# ctor).
Reimplemented from emcClusterContainer. Definition at line 130 of file emcClusterContainerT.h. References emcClusterContainerT< T >::capacity(), and emcClusterContainerT< T >::expand_for(). Referenced by emcClusterContainerT< T >::copy(). |
|
Definition at line 176 of file emcClusterContainerT.h. References emcClusterContainerT< T >::clear(), and emcClusterContainerT< T >::fEmcClusters. Referenced by emcClusterContainerT< T >::copy(), and emcClusterContainerT< T >::emcClusterContainerT(). |
|
Reimplemented from emcClusterContainer. Definition at line 189 of file emcClusterContainerT.h. References emcClusterContainerT< T >::fEmcClusters. Referenced by emcClusterContainerT< T >::addCluster(), and emcClusterContainerT< T >::expand_for(). |
|
Definition at line 197 of file emcClusterContainerT.h. Referenced by emcClusterContainerT< T >::allocate(), emcClusterContainerT< T >::Reset(), and emcClusterContainerT< T >::~emcClusterContainerT(). |
|
Reimplemented from emcClusterContainer. Definition at line 210 of file emcClusterContainerT.h. |
|
|
Reimplemented from emcClusterContainer. Definition at line 218 of file emcClusterContainerT.h. |
|
Definition at line 251 of file emcClusterContainerT.h. References emcClusterContainerT< T >::fEmcClusters, and emcClusterContainerT< T >::fgMaxSize. Referenced by emcClusterContainerT< T >::expand_for(), and emcClusterContainerT< T >::resize(). |
|
Definition at line 273 of file emcClusterContainerT.h. References emcClusterContainerT< T >::capacity(), emcClusterContainerT< T >::expand(), emcClusterContainerT< T >::fgMaxSize, and min. Referenced by emcClusterContainerT< T >::addCluster(). |
|
Reimplemented from emcClusterContainer. Definition at line 295 of file emcClusterContainerT.h. References emcClusterContainerT< T >::getCluster(), and emcClusterContainerT< T >::size(). |
|
Reimplemented from emcClusterContainer. Definition at line 310 of file emcClusterContainerT.h. References emcClusterContainerT< T >::fEmcClusters. Referenced by emcClusterContainerT< T >::copy(), and emcClusterContainerT< T >::findCluster(). |
|
Reimplemented from emcClusterContainer. |
|
Reimplemented from emcClusterContainer. Definition at line 328 of file emcClusterContainerT.h. |
|
|
|
Reimplemented from emcClusterContainer. Definition at line 344 of file emcClusterContainerT.h. References emcClusterContainerT< T >::fEmcClusters, and emcClusterContainerT< T >::size(). |
|
Reimplemented from emcClusterContainer. Definition at line 336 of file emcClusterContainerT.h. References emcClusterContainerT< T >::clear(), and emcClusterContainerT< T >::fEmcClusters. Referenced by emcClusterContainerT< T >::copy(), and emcClusterContainerT< T >::resize(). |
|
Reimplemented from emcClusterContainer. Definition at line 361 of file emcClusterContainerT.h. References emcClusterContainerT< T >::expand(), emcClusterContainerT< T >::fEmcClusters, emcClusterContainerT< T >::Reset(), and emcClusterContainerT< T >::size(). |
|
Reimplemented from emcClusterContainer. Definition at line 378 of file emcClusterContainerT.h. References emcClusterContainerT< T >::fEmcClusters. Referenced by emcClusterContainerT< T >::copy(), emcClusterContainerT< T >::findCluster(), emcClusterContainerT< T >::removeCluster(), and emcClusterContainerT< T >::resize(). |
|
|
Definition at line 62 of file emcClusterContainerT.h. |
|
Definition at line 63 of file emcClusterContainerT.h. Referenced by emcClusterContainerT< T >::expand(), and emcClusterContainerT< T >::expand_for(). |