Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

McIntegratingHit Class Reference

#include <McIntegratingHit.h>

Inheritance diagram for McIntegratingHit:

ContainedObject List of all members.

Public Types

typedef std::map<McParticle*,
double> 
energyDepositMap
 McParticle -> deposited energy map. More...


Public Methods

virtual const CLID& clID () const
 McIntegratingHit ()
 Constructors. More...

 ~McIntegratingHit ()
 Destructor. More...

const VolumeID volumeID () const
 Retrieve cell identifier. More...

void setVolumeID ( VolumeID value )
 Update cell identifier. More...

double totalEnergy () const
 Retrieve energy. More...

const HepPoint3D moment1 () const
 Retrieve the energy-weighted first moments of the position. More...

HepPoint3D moment1 ()
const HepPoint3D moment2 () const
 Retrieve the energy-weighted second moments of the position. More...

HepPoint3D moment2 ()
const energyDepositMapitemizedEnergy () const
 Retrieve itemized energy. More...

energyDepositMapitemizedEnergy ()
void setEnergyItems ( const energyDepositMap& value )
 Update all energyInfos. More...

void clearEnergyItems ()
 Remove all energyInfos. More...

void addEnergyItem ( const double& energy, McParticle* t, const HepPoint3D& position )
 Add single energyInfo to energyDepositMap. More...

void addEnergyItem ( const double& energy, SmartRef<McParticle> t, const HepPoint3D& position )
 Add an energyItem. More...

bool primaryOrigin () const
 Retrieve primary-origin flag. More...

void setPrimaryOrigin ( bool value )
 Update primary-origin flag. More...

bool needDigi () const
 Retrieve whether this hit should be digitized. More...

void setNeedDigi ( bool value )
 Update whether this hit should be digitized. More...

virtual StreamBuffer& serialize ( StreamBuffer& s )
 Serialize the object for reading. More...

virtual StreamBuffer& serialize ( StreamBuffer& s ) const
 Serialize the object for writing. More...

virtual std::ostream& fillStream ( std::ostream& s ) const
 Fill the ASCII output stream. More...


Static Public Methods

const CLID& classID ()

Private Attributes

VolumeID m_volumeID
 Cell identifier. More...

energyDepositMap m_energyItem
 Vector of Energy information that consists of deposited energy and the mother McParticle. More...

double m_totalEnergy
 total deposited energy: set automatically when m_energyInfo is modified. More...

HepPoint3D m_moment1seed
 Energy-weighted_first_moments_of_the_position * number_of_energy_deposition. More...

HepPoint3D m_moment2seed
 Energy-weighted_second_moments_of_the_position * number_of_energy_deposition. More...

unsigned long m_packedFlags
 Packed flags for particle property. More...


Member Typedef Documentation

typedef std::map<McParticle*,double> McIntegratingHit::energyDepositMap
 

McParticle -> deposited energy map.

Definition at line 62 of file McIntegratingHit.h.


Constructor & Destructor Documentation

McIntegratingHit::McIntegratingHit ( ) [inline]
 

Constructors.

Definition at line 65 of file McIntegratingHit.h.

McIntegratingHit::~McIntegratingHit ( ) [inline]
 

Destructor.

Definition at line 68 of file McIntegratingHit.h.


Member Function Documentation

void McIntegratingHit::addEnergyItem ( const double & energy,
SmartRef< McParticle > t,
const HepPoint3D & position )
 

Add an energyItem.

Definition at line 116 of file McIntegratingHit.cxx.

void McIntegratingHit::addEnergyItem ( const double & energy,
McParticle * t,
const HepPoint3D & position )
 

Add single energyInfo to energyDepositMap.

Definition at line 104 of file McIntegratingHit.cxx.

const CLID & McIntegratingHit::clID ( ) const [inline, virtual]
 

Definition at line 57 of file McIntegratingHit.h.

const CLID & McIntegratingHit::classID ( ) [inline, static]
 

Definition at line 58 of file McIntegratingHit.h.

Referenced by clID().

void McIntegratingHit::clearEnergyItems ( )
 

Remove all energyInfos.

Definition at line 36 of file McIntegratingHit.cxx.

std::ostream & McIntegratingHit::fillStream ( std::ostream & s ) const [inline, virtual]
 

Fill the ASCII output stream.

Definition at line 183 of file McIntegratingHit.h.

McIntegratingHit::energyDepositMap & McIntegratingHit::itemizedEnergy ( )
 

Definition at line 97 of file McIntegratingHit.cxx.

const McIntegratingHit::energyDepositMap & McIntegratingHit::itemizedEnergy ( ) const
 

Retrieve itemized energy.

Definition at line 92 of file McIntegratingHit.cxx.

HepPoint3D McIntegratingHit::moment1 ( )
 

Definition at line 74 of file McIntegratingHit.cxx.

const HepPoint3D McIntegratingHit::moment1 ( ) const
 

Retrieve the energy-weighted first moments of the position.

Definition at line 70 of file McIntegratingHit.cxx.

HepPoint3D McIntegratingHit::moment2 ( )
 

Definition at line 85 of file McIntegratingHit.cxx.

const HepPoint3D McIntegratingHit::moment2 ( ) const
 

Retrieve the energy-weighted second moments of the position.

Definition at line 81 of file McIntegratingHit.cxx.

bool McIntegratingHit::needDigi ( ) const
 

Retrieve whether this hit should be digitized.

Definition at line 148 of file McIntegratingHit.cxx.

bool McIntegratingHit::primaryOrigin ( ) const
 

Retrieve primary-origin flag.

Definition at line 128 of file McIntegratingHit.cxx.

StreamBuffer & McIntegratingHit::serialize ( StreamBuffer & s ) const [inline, virtual]
 

Serialize the object for writing.

Definition at line 136 of file McIntegratingHit.h.

StreamBuffer & McIntegratingHit::serialize ( StreamBuffer & s ) [inline, virtual]
 

Serialize the object for reading.

Definition at line 157 of file McIntegratingHit.h.

void McIntegratingHit::setEnergyItems ( const energyDepositMap & value )
 

Update all energyInfos.

Definition at line 17 of file McIntegratingHit.cxx.

void McIntegratingHit::setNeedDigi ( bool value )
 

Update whether this hit should be digitized.

Definition at line 156 of file McIntegratingHit.cxx.

void McIntegratingHit::setPrimaryOrigin ( bool value )
 

Update primary-origin flag.

Definition at line 136 of file McIntegratingHit.cxx.

void McIntegratingHit::setVolumeID ( VolumeID value )
 

Update cell identifier.

Definition at line 56 of file McIntegratingHit.cxx.

double McIntegratingHit::totalEnergy ( ) const
 

Retrieve energy.

Definition at line 63 of file McIntegratingHit.cxx.

const VolumeID McIntegratingHit::volumeID ( ) const
 

Retrieve cell identifier.

Definition at line 49 of file McIntegratingHit.cxx.


Member Data Documentation

energyDepositMap McIntegratingHit::m_energyItem [private]
 

Vector of Energy information that consists of deposited energy and the mother McParticle.

Definition at line 117 of file McIntegratingHit.h.

HepPoint3D McIntegratingHit::m_moment1seed [private]
 

Energy-weighted_first_moments_of_the_position * number_of_energy_deposition.

Definition at line 121 of file McIntegratingHit.h.

HepPoint3D McIntegratingHit::m_moment2seed [private]
 

Energy-weighted_second_moments_of_the_position * number_of_energy_deposition.

Definition at line 123 of file McIntegratingHit.h.

unsigned long McIntegratingHit::m_packedFlags [private]
 

Packed flags for particle property.

Definition at line 125 of file McIntegratingHit.h.

double McIntegratingHit::m_totalEnergy [private]
 

total deposited energy: set automatically when m_energyInfo is modified.

Definition at line 119 of file McIntegratingHit.h.

VolumeID McIntegratingHit::m_volumeID [private]
 

Cell identifier.

Definition at line 115 of file McIntegratingHit.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:53 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000