emcClusterContainer Class Reference

#include <emcClusterContainer.h>

Inherited by emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Inheritance diagram for emcClusterContainer:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 18 of file emcClusterContainer.h.

Public Member Functions

virtual ~emcClusterContainer ()
virtual emcClusterContentaddCluster (unsigned int i)
 Add a new cluster (using default emcClusterContentv# ctor).
virtual emcClusterContentaddCluster (unsigned int i, const emcClusterContent &c)
 Add a new cluster (using copy ctor).
virtual emcClusterContentaddCluster (const emcClusterContent &c)
virtual unsigned int capacity (void) const
virtual emcClusterContainerclone (void) const
virtual emcClusterContainercreate (void) const
virtual emcClusterContentfindCluster (int clusterid) const
virtual emcClusterContentgetCluster (unsigned int i) const
virtual void identify (std::ostream &os=std::cout) const
virtual int isValid () const
virtual void print (std::ostream &os=std::cout) const
virtual bool removeCluster (unsigned int i)
virtual bool resize (unsigned int newsize)
virtual void Reset ()
virtual unsigned int size (void) const

Protected Member Functions

virtual TClonesArray * GetTCArray () const
emcClusterContaineroperator= (const emcClusterContainer &)
 This one is protected on purpose.


Constructor & Destructor Documentation

virtual emcClusterContainer::~emcClusterContainer  )  [inline, virtual]
 

Definition at line 22 of file emcClusterContainer.h.


Member Function Documentation

emcClusterContent * emcClusterContainer::addCluster const emcClusterContent c  )  [virtual]
 

Definition at line 25 of file emcClusterContainer.C.

References emcClusterContent::Copy(), and GetTCArray().

virtual emcClusterContent* emcClusterContainer::addCluster unsigned int  i,
const emcClusterContent c
[inline, virtual]
 

Add a new cluster (using copy ctor).

c must be of compatible type, otherwise this will return 0.

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 31 of file emcClusterContainer.h.

virtual emcClusterContent* emcClusterContainer::addCluster unsigned int  i  )  [inline, virtual]
 

Add a new cluster (using default emcClusterContentv# ctor).

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 25 of file emcClusterContainer.h.

Referenced by mEmcClusterizerv0::fillPeakArea().

virtual unsigned int emcClusterContainer::capacity void   )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 38 of file emcClusterContainer.h.

virtual emcClusterContainer* emcClusterContainer::clone void   )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 41 of file emcClusterContainer.h.

virtual emcClusterContainer* emcClusterContainer::create void   )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 44 of file emcClusterContainer.h.

virtual emcClusterContent* emcClusterContainer::findCluster int  clusterid  )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 47 of file emcClusterContainer.h.

virtual emcClusterContent* emcClusterContainer::getCluster unsigned int  i  )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 50 of file emcClusterContainer.h.

Referenced by mEmcGeaPatchSimulatedCluster::event(), histogram(), print(), and GainBaseLinePlayer::process_event().

virtual TClonesArray* emcClusterContainer::GetTCArray  )  const [inline, protected, virtual]
 

Definition at line 75 of file emcClusterContainer.h.

Referenced by addCluster().

virtual void emcClusterContainer::identify std::ostream &  os = std::cout  )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 53 of file emcClusterContainer.h.

Referenced by process_event().

virtual int emcClusterContainer::isValid void   )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 56 of file emcClusterContainer.h.

emcClusterContainer& emcClusterContainer::operator= const emcClusterContainer  )  [protected]
 

This one is protected on purpose.

See e.g. Scott Meyers' More Effective C++ Item 33.

void emcClusterContainer::print std::ostream &  os = std::cout  )  const [virtual]
 

Definition at line 16 of file emcClusterContainer.C.

References getCluster(), emcClusterContent::print(), and size().

Referenced by process_event().

virtual bool emcClusterContainer::removeCluster unsigned int  i  )  [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 61 of file emcClusterContainer.h.

virtual void emcClusterContainer::Reset void   )  [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 67 of file emcClusterContainer.h.

Referenced by mEmcClusterizerv0::event().

virtual bool emcClusterContainer::resize unsigned int  newsize  )  [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 64 of file emcClusterContainer.h.

virtual unsigned int emcClusterContainer::size void   )  const [inline, virtual]
 

Reimplemented in emcClusterContainerT< T >, emcClusterContainerv1, emcClusterContainerv2, emcClusterContainerv3, and emcClusterContainerv4.

Definition at line 71 of file emcClusterContainer.h.

Referenced by mEmcGeaPatchSimulatedCluster::event(), mEmcGeaMakeClusterEvaluation::event(), mEmcClusterizerv0::fillPeakArea(), histogram(), print(), and GainBaseLinePlayer::process_event().


The documentation for this class was generated from the following files: