Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EVENT::CalorimeterHit Class Reference

#include <CalorimeterHit.h>

Inheritance diagram for EVENT::CalorimeterHit:

EVENT::LCObject lcrtrel::LCRTRelations IMPL::CalorimeterHitImpl IOIMPL::CalorimeterHitIOImpl List of all members.

Public Types

typedef CalorimeterHit lcobject_type

Public Member Functions

virtual ~CalorimeterHit ()
 Destructor.
virtual int getCellID0 () const =0
virtual int getCellID1 () const =0
virtual float getEnergy () const =0
virtual float getTime () const =0
virtual const float * getPosition () const =0
virtual int getType () const =0
virtual LCObjectgetRawHit () const =0
virtual int id () const =0
virtual LCObjectclone () const
template<class V>
V::ext_type ext ()
template<class V>
V::rel_type rel ()

Protected Member Functions

template<class V>
V::ptr & ptr ()

Detailed Description

The generic calorimeter hit - created from SimCalorimeterHit or RawCalorimeterHit. The difference to RawCalorimeterHit is that amplitude ( energy) and time are now float and an optional position (x,y,z) can be stored with the hit. In order to suppress a (32-bit) pointer tag stored with every hit set flag(LCIO::RCHBIT_NO_PTR)==1.

Author:
gaede
Version:
Id
CalorimeterHit.aid,v 1.15 2006/08/03 16:53:34 gaede Exp

Definition at line 34 of file CalorimeterHit.h.


Member Typedef Documentation

typedef CalorimeterHit EVENT::CalorimeterHit::lcobject_type
 

Useful typedef for template programming with LCIO

Definition at line 42 of file CalorimeterHit.h.


Constructor & Destructor Documentation

virtual EVENT::CalorimeterHit::~CalorimeterHit  )  [inline, virtual]
 

Destructor.

Definition at line 38 of file CalorimeterHit.h.


Member Function Documentation

virtual LCObject* EVENT::LCObject::clone  )  const [inline, virtual, inherited]
 

Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method.

Reimplemented in IMPL::SimCalorimeterHitImpl.

Definition at line 52 of file LCObject.h.

template<class V>
V::ext_type lcrtrel::LCRTRelations::ext  )  [inline, inherited]
 

Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,...

Definition at line 430 of file LCRTRelations.h.

virtual int EVENT::CalorimeterHit::getCellID0  )  const [pure virtual]
 

Returns the detector specific (geometrical) cell id.

Implemented in IMPL::CalorimeterHitImpl.

Referenced by UTIL::LCTOOLS::printCalorimeterHits(), and SIO::SIOCalHitHandler::write().

virtual int EVENT::CalorimeterHit::getCellID1  )  const [pure virtual]
 

Returns the second detector specific (geometrical) cell id. Optional, check/set flag(LCIO::RCHBIT_ID1)==1.

Implemented in IMPL::CalorimeterHitImpl.

Referenced by UTIL::LCTOOLS::printCalorimeterHits(), and SIO::SIOCalHitHandler::write().

virtual float EVENT::CalorimeterHit::getEnergy  )  const [pure virtual]
 

Returns the energy of the hit in [GeV].

Implemented in IMPL::CalorimeterHitImpl.

Referenced by UTIL::LCTOOLS::printCalorimeterHits(), and SIO::SIOCalHitHandler::write().

virtual const float* EVENT::CalorimeterHit::getPosition  )  const [pure virtual]
 

Returns the position of the hit in world coordinates. NULL if information is not stored - check flag(LCIO::RCHBIT_LONG)==1.

Implemented in IMPL::CalorimeterHitImpl.

Referenced by UTIL::LCTOOLS::printCalorimeterHits(), and SIO::SIOCalHitHandler::write().

virtual LCObject* EVENT::CalorimeterHit::getRawHit  )  const [pure virtual]
 

The RawCalorimeterHit. As in the future there might be other types of raw calorimeter hits the return type is LCObject.

Implemented in IMPL::CalorimeterHitImpl.

Referenced by SIO::SIOCalHitHandler::write().

virtual float EVENT::CalorimeterHit::getTime  )  const [pure virtual]
 

Returns the time of the hit in [ns]. Optional, check/set flag(LCIO::RCHBIT_TIME)==1.

Implemented in IMPL::CalorimeterHitImpl.

Referenced by SIO::SIOCalHitHandler::write().

virtual int EVENT::CalorimeterHit::getType  )  const [pure virtual]
 

Type of hit. Mapping of integer types to type names through collection parameters "CalorimeterHitTypeNames" and "CalorimeterHitTypeValues".

Implemented in IMPL::CalorimeterHitImpl.

Referenced by SIO::SIOCalHitHandler::write().

virtual int EVENT::LCObject::id  )  const [pure virtual, inherited]
 

Returns an object id for internal (debugging) use in LCIO.

Implemented in tpc_tracking::CustomLCIOObject, EVENT::LCFloatVec, EVENT::LCGenericObject, EVENT::LCIntVec, EVENT::LCStrVec, IMPL::CalorimeterHitImpl, IMPL::ClusterImpl, IMPL::LCGenericObjectImpl, IMPL::LCRelationImpl, IMPL::LCRunHeaderImpl, IMPL::MCParticleImpl, IMPL::ParticleIDImpl, IMPL::RawCalorimeterHitImpl, IMPL::ReconstructedParticleImpl, IMPL::SimCalorimeterHitImpl, IMPL::SimTrackerHitImpl, IMPL::TPCHitImpl, IMPL::TrackerDataImpl, IMPL::TrackerHitImpl, IMPL::TrackerPulseImpl, IMPL::TrackerRawDataImpl, IMPL::TrackImpl, IMPL::VertexImpl, and tpc_tracking::CustomLCIOObject.

Referenced by UTIL::operator<<(), UTIL::LCTOOLS::printCalorimeterHits(), UTIL::LCTOOLS::printClusters(), UTIL::LCTOOLS::printMCParticles(), UTIL::LCTOOLS::printRawCalorimeterHits(), UTIL::LCTOOLS::printReconstructedParticles(), UTIL::LCTOOLS::printRelation(), UTIL::LCTOOLS::printSimCalorimeterHits(), UTIL::LCTOOLS::printTPCHits(), UTIL::LCTOOLS::printTrackerData(), UTIL::LCTOOLS::printTrackerHits(), UTIL::LCTOOLS::printTrackerPulse(), UTIL::LCTOOLS::printTrackerRawData(), and UTIL::LCTOOLS::printTracks().

template<class V>
V::ptr& lcrtrel::LCRTRelations::ptr  )  [inline, protected, inherited]
 

Returns the reference to the pointer to the extension/relation object

Definition at line 508 of file LCRTRelations.h.

template<class V>
V::rel_type lcrtrel::LCRTRelations::rel  )  [inline, inherited]
 

Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation.

Definition at line 444 of file LCRTRelations.h.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 06:32:24 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1