ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CaloShower Class Reference

Data class for cluster variables associated with a CaloCluster. More...

#include <CaloShower.h>

Collaboration diagram for CaloShower:

Public Types

typedef CaloClusterMomentStore moment_store
 Moment store type. More...
 
typedef CaloSamplingData sampling_store
 Sampling data store type. More...
 

Public Member Functions

 CaloShower ()
 Constructor. More...
 
 CaloShower (const CaloShower *pShower)
 
 CaloShower (const CaloShower &rShower)
 
virtual ~CaloShower ()
 Destructur. More...
 
const moment_storegetMomentStore () const
 Access cluster moment store. More...
 
moment_storegetMomentStore ()
 Access cluster moment store. More...
 
void setMomentStore (const moment_store &rMomStore)
 Set moment store. More...
 
const sampling_storegetSamplingStore () const
 Retrieves the non-modifiable sampling data store. More...
 
sampling_storegetSamplingStore ()
 Retrieves the modifiable sampling data store. More...
 

Private Member Functions

CaloShoweroperator= (const CaloShower &rShower)
 

Private Attributes

moment_store m_momentStore
 Set the sampling data store. More...
 
sampling_store m_samplingStore
 

Detailed Description

Data class for cluster variables associated with a CaloCluster.

It is implemented as a concrete base class.

Definition at line 11 of file CaloShower.h.

Member Typedef Documentation

◆ moment_store

Moment store type.

Definition at line 16 of file CaloShower.h.

◆ sampling_store

Sampling data store type.

Definition at line 19 of file CaloShower.h.

Constructor & Destructor Documentation

◆ CaloShower() [1/3]

CaloShower::CaloShower ( )
inline

Constructor.

Definition at line 22 of file CaloShower.h.

22 { };

◆ CaloShower() [2/3]

CaloShower::CaloShower ( const CaloShower pShower)
explicit

Definition at line 9 of file CaloShower.cxx.

10  : m_momentStore (pShower->m_momentStore),
12 {
13 }

◆ CaloShower() [3/3]

CaloShower::CaloShower ( const CaloShower rShower)
explicitdefault

◆ ~CaloShower()

virtual CaloShower::~CaloShower ( )
inlinevirtual

Destructur.

Definition at line 26 of file CaloShower.h.

26 { };

Member Function Documentation

◆ getMomentStore() [1/2]

CaloShower::moment_store & CaloShower::getMomentStore ( )
inline

Access cluster moment store.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns non-const reference to moment store.

Definition at line 69 of file CaloShower.h.

70 { return m_momentStore; }

◆ getMomentStore() [2/2]

const CaloShower::moment_store & CaloShower::getMomentStore ( ) const
inline

Access cluster moment store.

Returns const reference to moment store.

Definition at line 71 of file CaloShower.h.

72 { return m_momentStore; }

◆ getSamplingStore() [1/2]

CaloShower::sampling_store & CaloShower::getSamplingStore ( )
inline

Retrieves the modifiable sampling data store.

Definition at line 75 of file CaloShower.h.

76 { return m_samplingStore; }

◆ getSamplingStore() [2/2]

const CaloShower::sampling_store & CaloShower::getSamplingStore ( ) const
inline

Retrieves the non-modifiable sampling data store.

Definition at line 77 of file CaloShower.h.

78 { return m_samplingStore; }

◆ operator=()

CaloShower& CaloShower::operator= ( const CaloShower rShower)
private

◆ setMomentStore()

void CaloShower::setMomentStore ( const moment_store rMomStore)
inline

Set moment store.

Parameters
rMomStorereference to a non-modifiable moment store

Makes a copy of the store to allow downstream modifications. Depreciated.

Definition at line 73 of file CaloShower.h.

74 { m_momentStore = rMomStore; }

Member Data Documentation

◆ m_momentStore

moment_store CaloShower::m_momentStore
private

Set the sampling data store.

Definition at line 59 of file CaloShower.h.

◆ m_samplingStore

sampling_store CaloShower::m_samplingStore
private

Definition at line 60 of file CaloShower.h.


The documentation for this class was generated from the following files:
CaloShower::m_momentStore
moment_store m_momentStore
Set the sampling data store.
Definition: CaloShower.h:59
CaloShower::m_samplingStore
sampling_store m_samplingStore
Definition: CaloShower.h:60