NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
NAIA::EcalBaseData Class Reference

Container class for base Ecal info. More...

#include <Containers/Ecal.h>

Inheritance diagram for NAIA::EcalBaseData:
NAIA::EcalBase

Public Member Functions

void Clear ()
 Clear container content. More...
 
void Dump () const
 Dump on screen container content. More...
 
const TVector3 & GetCOG () const
 Get the shower COG coordinates. More...
 
const TVector3 & GetDirection () const
 Get the shower Direction. More...
 

Public Attributes

short TotalHits
 Total number of Ecal hits. More...
 
short ShowerHits
 Total number of Ecal hits in the shower. More...
 
EcalEnergyVariable< float > Energy
 Reconstructed shower energy. See Ecal::EnergyRecoType for a list of available energy reconstructions. More...
 
EcalBDTVariable< float > BDT
 Ecal BDT estimator for e/p separation. See Ecal::BDTType for a list of available types. More...
 

Private Member Functions

void ResizeMembers ()
 
 ClassDef (EcalBaseData, 1)
 

Private Attributes

std::vector< TVector3 > m_pointAndDir
 
float _beta = 1.0
 

Detailed Description

Container class for base Ecal info.

This class holds the Ecal variables which are likely to be accessed more frequently.

Definition at line 43 of file Ecal.h.

Member Function Documentation

NAIA::EcalBaseData::ClassDef ( EcalBaseData  ,
 
)
private
void NAIA::EcalBaseData::Clear ( )

Clear container content.

Definition at line 9 of file Ecal.cpp.

References BDT, Energy, m_pointAndDir, ShowerHits, and TotalHits.

Referenced by NAIA::Event::Clear().

void NAIA::EcalBaseData::Dump ( ) const
const TVector3& NAIA::EcalBaseData::GetCOG ( ) const
inline

Get the shower COG coordinates.

Exceptions
std::runtime_errorIf the Ecal object is not initialized

Definition at line 90 of file Ecal.h.

References m_pointAndDir.

Referenced by Dump().

const TVector3& NAIA::EcalBaseData::GetDirection ( ) const
inline

Get the shower Direction.

Exceptions
std::runtime_errorIf the Ecal object is not initialized

Definition at line 97 of file Ecal.h.

References m_pointAndDir.

Referenced by Dump().

void NAIA::EcalBaseData::ResizeMembers ( )
private

Definition at line 8 of file EcalFill.cpp.

References NAIA::Ecal::numBDTTypes, and NAIA::Ecal::numEnergyRecos.

Member Data Documentation

float NAIA::EcalBaseData::_beta = 1.0
private

Definition at line 105 of file Ecal.h.

EcalBDTVariable<float> NAIA::EcalBaseData::BDT

Ecal BDT estimator for e/p separation. See Ecal::BDTType for a list of available types.

Definition at line 54 of file Ecal.h.

Referenced by Clear(), and Dump().

EcalEnergyVariable<float> NAIA::EcalBaseData::Energy

Reconstructed shower energy. See Ecal::EnergyRecoType for a list of available energy reconstructions.

Definition at line 51 of file Ecal.h.

Referenced by Clear(), and Dump().

std::vector<TVector3> NAIA::EcalBaseData::m_pointAndDir
private

Definition at line 103 of file Ecal.h.

Referenced by Clear(), Dump(), GetCOG(), and GetDirection().

short NAIA::EcalBaseData::ShowerHits

Total number of Ecal hits in the shower.

Definition at line 47 of file Ecal.h.

Referenced by Clear(), and Dump().

short NAIA::EcalBaseData::TotalHits

Total number of Ecal hits.

Definition at line 46 of file Ecal.h.

Referenced by Clear(), and Dump().


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