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

McPositionHit Class Reference

#include <McPositionHit.h>

Inheritance diagram for McPositionHit:

ContainedObject List of all members.

Public Methods

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

virtual ~McPositionHit ()
 Destructor. More...

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

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

const HepPoint3D& entryPoint () const
 Retrieve entry member. More...

HepPoint3D& entryPoint ()
void setEntryPoint ( const HepPoint3D& value )
 Update Entry member. More...

const HepPoint3D& exitPoint () const
 Retrieve exit point. More...

HepPoint3D& exitPoint ()
void setExitPoint ( const HepPoint3D& value )
 Update exit point. More...

double depositedEnergy () const
 Retrieve deposited energy. More...

void setDepositedEnergy ( double value )
 Update deposited energy. More...

double particleEnergy () const
 Retrieve depositing particle's energy. More...

void setParticleEnergy ( double value )
 Update depositing particle's energy. More...

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

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

bool caloShowerOrigin () const
 Retrieve calorimeter-shower-origin flag. More...

void setCaloShowerOrigin ( bool value )
 Update calorimeter-shower-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...

double directionCosine () const
 Retrieve hit's direction cosine. More...

double timeOfFlight () const
 Retrieve member TOF. More...

void setTimeOfFlight ( double value )
 Update TOF member. More...

const McParticlemcParticle () const
 Retrieve pointer to McParticle (const or non-const). More...

McParticlemcParticle ()
void setMcParticle ( McParticle* value )
 Update pointer to McParticle (by a C++ pointer or a smart reference). More...

void setMcParticle ( SmartRef<McParticle> value )
const McParticleoriginMcParticle () const
 Retrieve pointer to the ancestor McParticle (const or non-const). More...

McParticleoriginMcParticle ()
void setOriginMcParticle ( McParticle* value )
 Update pointer to McParticle (by a C++ pointer or a smart reference). More...

void setOriginMcParticle ( SmartRef<McParticle> value )
virtual StreamBuffer& serialize ( StreamBuffer& s ) const
 Serialize the object for writing. More...

virtual StreamBuffer& serialize ( StreamBuffer& s )
 Serialize the object for reading. 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
 Volume ID. More...

HepPoint3D m_entry
 Entry point. More...

HepPoint3D m_exit
 Exit point. More...

double m_depositedEnergy
 Deposited energy. More...

double m_particleEnergy
 Depositing particle's energy. More...

double m_timeOfFlight
 Time of flight. More...

SmartRef<McParticlem_mcParticle
 Pointer to McParticle causing the hit. More...

SmartRef<McParticlem_originMcParticle
 Pointer to the ancestor McParticle. More...

unsigned long m_packedFlags
 Packed flags for the internal use. More...


Constructor & Destructor Documentation

McPositionHit::McPositionHit ( ) [inline]
 

Constructors.

Definition at line 62 of file McPositionHit.h.

McPositionHit::~McPositionHit ( ) [inline, virtual]
 

Destructor.

Definition at line 67 of file McPositionHit.h.


Member Function Documentation

bool McPositionHit::caloShowerOrigin ( ) const
 

Retrieve calorimeter-shower-origin flag.

Definition at line 118 of file McPositionHit.cxx.

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

Definition at line 59 of file McPositionHit.h.

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

Definition at line 60 of file McPositionHit.h.

Referenced by clID().

double McPositionHit::depositedEnergy ( ) const
 

Retrieve deposited energy.

Definition at line 77 of file McPositionHit.cxx.

double McPositionHit::directionCosine ( ) const
 

Retrieve hit's direction cosine.

Definition at line 17 of file McPositionHit.cxx.

HepPoint3D & McPositionHit::entryPoint ( )
 

Definition at line 45 of file McPositionHit.cxx.

const HepPoint3D & McPositionHit::entryPoint ( ) const
 

Retrieve entry member.

Definition at line 41 of file McPositionHit.cxx.

HepPoint3D & McPositionHit::exitPoint ( )
 

Definition at line 63 of file McPositionHit.cxx.

const HepPoint3D & McPositionHit::exitPoint ( ) const
 

Retrieve exit point.

Definition at line 59 of file McPositionHit.cxx.

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

Fill the ASCII output stream.

Definition at line 199 of file McPositionHit.h.

McParticle * McPositionHit::mcParticle ( )
 

Definition at line 171 of file McPositionHit.cxx.

const McParticle * McPositionHit::mcParticle ( ) const
 

Retrieve pointer to McParticle (const or non-const).

Definition at line 167 of file McPositionHit.cxx.

bool McPositionHit::needDigi ( ) const
 

Retrieve whether this hit should be digitized.

Definition at line 135 of file McPositionHit.cxx.

McParticle * McPositionHit::originMcParticle ( )
 

Definition at line 191 of file McPositionHit.cxx.

const McParticle * McPositionHit::originMcParticle ( ) const
 

Retrieve pointer to the ancestor McParticle (const or non-const).

Definition at line 187 of file McPositionHit.cxx.

double McPositionHit::particleEnergy ( ) const
 

Retrieve depositing particle's energy.

Definition at line 90 of file McPositionHit.cxx.

bool McPositionHit::primaryOrigin ( ) const
 

Retrieve primary-origin flag.

Definition at line 102 of file McPositionHit.cxx.

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

Serialize the object for reading.

Definition at line 182 of file McPositionHit.h.

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

Serialize the object for writing.

Definition at line 165 of file McPositionHit.h.

void McPositionHit::setCaloShowerOrigin ( bool value )
 

Update calorimeter-shower-origin flag.

Definition at line 124 of file McPositionHit.cxx.

void McPositionHit::setDepositedEnergy ( double value )
 

Update deposited energy.

Definition at line 84 of file McPositionHit.cxx.

void McPositionHit::setEntryPoint ( const HepPoint3D & value )
 

Update Entry member.

Definition at line 52 of file McPositionHit.cxx.

void McPositionHit::setExitPoint ( const HepPoint3D & value )
 

Update exit point.

Definition at line 70 of file McPositionHit.cxx.

void McPositionHit::setMcParticle ( SmartRef< McParticle > value )
 

Definition at line 180 of file McPositionHit.cxx.

void McPositionHit::setMcParticle ( McParticle * value )
 

Update pointer to McParticle (by a C++ pointer or a smart reference).

Definition at line 176 of file McPositionHit.cxx.

void McPositionHit::setNeedDigi ( bool value )
 

Update whether this hit should be digitized.

Definition at line 141 of file McPositionHit.cxx.

void McPositionHit::setOriginMcParticle ( SmartRef< McParticle > value )
 

Definition at line 200 of file McPositionHit.cxx.

void McPositionHit::setOriginMcParticle ( McParticle * value )
 

Update pointer to McParticle (by a C++ pointer or a smart reference).

Definition at line 196 of file McPositionHit.cxx.

void McPositionHit::setParticleEnergy ( double value )
 

Update depositing particle's energy.

Definition at line 96 of file McPositionHit.cxx.

void McPositionHit::setPrimaryOrigin ( bool value )
 

Update primary-origin flag.

Definition at line 108 of file McPositionHit.cxx.

void McPositionHit::setTimeOfFlight ( double value )
 

Update TOF member.

Definition at line 160 of file McPositionHit.cxx.

void McPositionHit::setVolumeID ( VolumeID value )
 

Update cell identifier.

Definition at line 34 of file McPositionHit.cxx.

double McPositionHit::timeOfFlight ( ) const
 

Retrieve member TOF.

Definition at line 153 of file McPositionHit.cxx.

const VolumeID McPositionHit::volumeID ( ) const
 

Retrieve cell identifier.

Definition at line 29 of file McPositionHit.cxx.


Member Data Documentation

double McPositionHit::m_depositedEnergy [private]
 

Deposited energy.

Definition at line 147 of file McPositionHit.h.

HepPoint3D McPositionHit::m_entry [private]
 

Entry point.

Definition at line 143 of file McPositionHit.h.

HepPoint3D McPositionHit::m_exit [private]
 

Exit point.

Definition at line 145 of file McPositionHit.h.

SmartRef< McParticle > McPositionHit::m_mcParticle [private]
 

Pointer to McParticle causing the hit.

Definition at line 153 of file McPositionHit.h.

Referenced by fillStream(), and serialize().

SmartRef< McParticle > McPositionHit::m_originMcParticle [private]
 

Pointer to the ancestor McParticle.

Definition at line 155 of file McPositionHit.h.

Referenced by fillStream(), and serialize().

unsigned long McPositionHit::m_packedFlags [private]
 

Packed flags for the internal use.

Definition at line 157 of file McPositionHit.h.

double McPositionHit::m_particleEnergy [private]
 

Depositing particle's energy.

Definition at line 149 of file McPositionHit.h.

double McPositionHit::m_timeOfFlight [private]
 

Time of flight.

Definition at line 151 of file McPositionHit.h.

VolumeID McPositionHit::m_volumeID [private]
 

Volume ID.

Definition at line 141 of file McPositionHit.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