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

IOIMPL::TPCHitIOImpl Class Reference

#include <TPCHitIOImpl.h>

Inheritance diagram for IOIMPL::TPCHitIOImpl:

IMPL::TPCHitImpl EVENT::TPCHit IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations List of all members.

Public Types

typedef TPCHit lcobject_type

Public Member Functions

virtual int id () const
virtual int getCellID () const
virtual float getTime () const
virtual float getCharge () const
virtual int getQuality () const
virtual int getNRawDataWords () const
virtual int getRawDataWord (int i) const
virtual void setCellID (int cellID)
virtual void setTime (float time)
virtual void setCharge (float charge)
virtual void setQuality (int quality)
virtual void setRawData (const int *raw, int size)
virtual LCObject * clone () const
template<class V>
V::ext_type ext ()
template<class V>
V::rel_type rel ()
virtual int simpleUID () const

Protected Member Functions

virtual void initRawArray (int size)
template<class V>
V::ptr & ptr ()
virtual void setReadOnly (bool readOnly)
void checkAccess () throw ( EVENT::ReadOnlyException )
void checkAccess (const char *what) throw ( EVENT::ReadOnlyException )

Protected Attributes

int _cellID
float _time
float _charge
int _quality
int _rawSize
int * _rawArray
bool _readOnly
int _id

Friends

class SIO::SIOTPCHitHandler

Detailed Description

Adding stuff needed for io (friend declarations, etc.)

Author:
gaede
Version:
Sep 11, 2003

Definition at line 20 of file TPCHitIOImpl.h.


Member Typedef Documentation

typedef TPCHit EVENT::TPCHit::lcobject_type [inherited]
 

Useful typedef for template programming with LCIO

Definition at line 30 of file TPCHit.h.


Member Function Documentation

void IMPL::AccessChecked::checkAccess const char *  what  )  throw ( EVENT::ReadOnlyException ) [protected, inherited]
 

Definition at line 20 of file AccessChecked.cc.

void IMPL::AccessChecked::checkAccess  )  throw ( EVENT::ReadOnlyException ) [protected, inherited]
 

Definition at line 16 of file AccessChecked.cc.

Referenced by IMPL::TrackerRawDataImpl::adcValues(), IMPL::ReconstructedParticleImpl::addCluster(), IMPL::ClusterImpl::addCluster(), IMPL::MCParticleImpl::addDaughter(), IMPL::SimCalorimeterHitImpl::addMCParticleContribution(), IMPL::VertexImpl::addParameter(), IMPL::ParticleIDImpl::addParameter(), IMPL::MCParticleImpl::addParent(), IMPL::ReconstructedParticleImpl::addParticle(), IMPL::ReconstructedParticleImpl::addParticleID(), IMPL::ClusterImpl::addParticleID(), IMPL::TrackImpl::addTrack(), IMPL::ReconstructedParticleImpl::addTrack(), IMPL::TrackerDataImpl::chargeValues(), IMPL::TrackerHitImpl::rawHits(), IMPL::TrackerRawDataImpl::setADCValues(), IMPL::VertexImpl::setAlgorithmType(), IMPL::ParticleIDImpl::setAlgorithmType(), IMPL::RawCalorimeterHitImpl::setAmplitude(), IMPL::VertexImpl::setAssociatedParticle(), IMPL::TPCHitImpl::setCellID(), IMPL::SimTrackerHitImpl::setCellID(), IMPL::TrackerRawDataImpl::setCellID0(), IMPL::TrackerPulseImpl::setCellID0(), IMPL::TrackerDataImpl::setCellID0(), IMPL::SimCalorimeterHitImpl::setCellID0(), IMPL::RawCalorimeterHitImpl::setCellID0(), IMPL::CalorimeterHitImpl::setCellID0(), IMPL::TrackerRawDataImpl::setCellID1(), IMPL::TrackerPulseImpl::setCellID1(), IMPL::TrackerDataImpl::setCellID1(), IMPL::SimCalorimeterHitImpl::setCellID1(), IMPL::RawCalorimeterHitImpl::setCellID1(), IMPL::CalorimeterHitImpl::setCellID1(), IMPL::TrackerPulseImpl::setCharge(), IMPL::TPCHitImpl::setCharge(), IMPL::ReconstructedParticleImpl::setCharge(), IMPL::MCParticleImpl::setCharge(), IMPL::TrackerDataImpl::setChargeValues(), IMPL::VertexImpl::setChi2(), IMPL::TrackImpl::setChi2(), IMPL::VertexImpl::setCovMatrix(), IMPL::TrackImpl::setCovMatrix(), IMPL::TrackerHitImpl::setCovMatrix(), IMPL::ReconstructedParticleImpl::setCovMatrix(), IMPL::TrackImpl::setD0(), IMPL::TrackImpl::setdEdx(), IMPL::TrackerHitImpl::setdEdx(), IMPL::SimTrackerHitImpl::setdEdx(), IMPL::TrackImpl::setdEdxError(), IMPL::LCRunHeaderImpl::setDescription(), IMPL::LCRunHeaderImpl::setDetectorName(), IMPL::LCEventImpl::setDetectorName(), IMPL::ClusterImpl::setDirectionError(), IMPL::MCParticleImpl::setEndpoint(), IMPL::SimCalorimeterHitImpl::setEnergy(), IMPL::ReconstructedParticleImpl::setEnergy(), IMPL::ClusterImpl::setEnergy(), IMPL::CalorimeterHitImpl::setEnergy(), IMPL::LCEventImpl::setEventNumber(), IMPL::MCParticleImpl::setGeneratorStatus(), IMPL::ReconstructedParticleImpl::setGoodnessOfPID(), IMPL::ClusterImpl::setIPhi(), IMPL::TrackImpl::setIsReferencePointPCA(), IMPL::ClusterImpl::setITheta(), IMPL::ParticleIDImpl::setLikelihood(), IMPL::ReconstructedParticleImpl::setMass(), IMPL::MCParticleImpl::setMass(), IMPL::SimTrackerHitImpl::setMCParticle(), IMPL::SimTrackerHitImpl::setMomentum(), IMPL::ReconstructedParticleImpl::setMomentum(), IMPL::MCParticleImpl::setMomentum(), IMPL::TrackImpl::setNdf(), IMPL::TrackImpl::setOmega(), IMPL::ReconstructedParticleImpl::setParticleIDUsed(), IMPL::SimTrackerHitImpl::setPathLength(), IMPL::ParticleIDImpl::setPDG(), IMPL::MCParticleImpl::setPDG(), IMPL::TrackImpl::setPhi(), IMPL::VertexImpl::setPosition(), IMPL::TrackerHitImpl::setPosition(), IMPL::SimTrackerHitImpl::setPosition(), IMPL::SimCalorimeterHitImpl::setPosition(), IMPL::ClusterImpl::setPosition(), IMPL::CalorimeterHitImpl::setPosition(), IMPL::ClusterImpl::setPositionError(), IMPL::VertexImpl::setPrimary(), IMPL::VertexImpl::setProbability(), IMPL::TrackerPulseImpl::setQuality(), IMPL::TPCHitImpl::setQuality(), IMPL::TrackerPulseImpl::setQualityBit(), IMPL::TrackImpl::setRadiusOfInnermostHit(), IMPL::TPCHitImpl::setRawData(), IMPL::CalorimeterHitImpl::setRawHit(), IMPL::TrackImpl::setReferencePoint(), IMPL::ReconstructedParticleImpl::setReferencePoint(), IMPL::LCRunHeaderImpl::setRunNumber(), IMPL::LCEventImpl::setRunNumber(), IMPL::ClusterImpl::setShape(), IMPL::MCParticleImpl::setSimulatorStatus(), IMPL::ReconstructedParticleImpl::setStartVertex(), IMPL::TrackImpl::setTanLambda(), IMPL::TrackerRawDataImpl::setTime(), IMPL::TrackerPulseImpl::setTime(), IMPL::TrackerHitImpl::setTime(), IMPL::TrackerDataImpl::setTime(), IMPL::TPCHitImpl::setTime(), IMPL::SimTrackerHitImpl::setTime(), IMPL::MCParticleImpl::setTime(), IMPL::CalorimeterHitImpl::setTime(), IMPL::RawCalorimeterHitImpl::setTimeStamp(), IMPL::LCEventImpl::setTimeStamp(), IMPL::TrackerPulseImpl::setTrackerData(), IMPL::TrackImpl::setType(), IMPL::TrackerHitImpl::setType(), IMPL::ReconstructedParticleImpl::setType(), IMPL::ParticleIDImpl::setType(), IMPL::ClusterImpl::setType(), IMPL::CalorimeterHitImpl::setType(), IMPL::TrackImpl::setTypeBit(), IMPL::ClusterImpl::setTypeBit(), IMPL::LCParametersImpl::setValue(), IMPL::LCParametersImpl::setValues(), IMPL::MCParticleImpl::setVertex(), IMPL::TrackImpl::setZ0(), IMPL::ClusterImpl::subdetectorEnergies(), and IMPL::TrackImpl::subdetectorHitNumbers().

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.

int IMPL::TPCHitImpl::getCellID  )  const [virtual, inherited]
 

Returns the detector specific cell id.

Implements EVENT::TPCHit.

Definition at line 21 of file TPCHitImpl.cc.

float IMPL::TPCHitImpl::getCharge  )  const [virtual, inherited]
 

Returns the integrated charge of the hit.

Implements EVENT::TPCHit.

Definition at line 25 of file TPCHitImpl.cc.

int IMPL::TPCHitImpl::getNRawDataWords  )  const [virtual, inherited]
 

Return the number of raw data (32-bit) words stored for the hit. Check the flag word (bit TPCBIT_RAW) of the collection if raw data is stored at all.

Implements EVENT::TPCHit.

Definition at line 29 of file TPCHitImpl.cc.

int IMPL::TPCHitImpl::getQuality  )  const [virtual, inherited]
 

Returns a quality flag for the hit.

Implements EVENT::TPCHit.

Definition at line 27 of file TPCHitImpl.cc.

int IMPL::TPCHitImpl::getRawDataWord int  i  )  const [virtual, inherited]
 

Return the raw data (32-bit) word at i. Check the flag word (bit TPCBIT_RAW) of the collection if raw data is stored at all.

Implements EVENT::TPCHit.

Definition at line 31 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_rawArray.

float IMPL::TPCHitImpl::getTime  )  const [virtual, inherited]
 

Returns the time of the hit.

Implements EVENT::TPCHit.

Definition at line 23 of file TPCHitImpl.cc.

virtual int IMPL::TPCHitImpl::id  )  const [inline, virtual, inherited]
 

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

Implements EVENT::LCObject.

Definition at line 26 of file TPCHitImpl.h.

void IMPL::TPCHitImpl::initRawArray int  size  )  [protected, virtual, inherited]
 

initialize the raw data array - for faster reading

Definition at line 71 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_rawArray, and IMPL::TPCHitImpl::_rawSize.

Referenced by SIO::SIOTPCHitHandler::read().

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.

void IMPL::TPCHitImpl::setCellID int  cellID  )  [virtual, inherited]
 

Set the cell id.

Definition at line 40 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_cellID, and IMPL::AccessChecked::checkAccess().

void IMPL::TPCHitImpl::setCharge float  charge  )  [virtual, inherited]
 

Set the charge.

Definition at line 50 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_charge, and IMPL::AccessChecked::checkAccess().

void IMPL::TPCHitImpl::setQuality int  quality  )  [virtual, inherited]
 

Set the cell quality word.

Definition at line 55 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_quality, and IMPL::AccessChecked::checkAccess().

void IMPL::TPCHitImpl::setRawData const int *  raw,
int  size
[virtual, inherited]
 

Set the raw data.

Definition at line 60 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_rawArray, IMPL::TPCHitImpl::_rawSize, and IMPL::AccessChecked::checkAccess().

void IMPL::AccessChecked::setReadOnly bool  readOnly  )  [protected, virtual, inherited]
 

Reimplemented in IMPL::LCCollectionVec, and IMPL::LCRunHeaderImpl.

Definition at line 14 of file AccessChecked.cc.

References IMPL::AccessChecked::_readOnly.

Referenced by IMPL::LCEventImpl::setAccessMode(), and IMPL::LCCollectionVec::setReadOnly().

void IMPL::TPCHitImpl::setTime float  time  )  [virtual, inherited]
 

Set the time.

Definition at line 45 of file TPCHitImpl.cc.

References IMPL::TPCHitImpl::_time, and IMPL::AccessChecked::checkAccess().

virtual int IMPL::AccessChecked::simpleUID  )  const [inline, virtual, inherited]
 

Definition at line 24 of file AccessChecked.h.


Friends And Related Function Documentation

friend class SIO::SIOTPCHitHandler [friend]
 

Definition at line 22 of file TPCHitIOImpl.h.


Member Data Documentation

int IMPL::TPCHitImpl::_cellID [protected, inherited]
 

Definition at line 82 of file TPCHitImpl.h.

Referenced by SIO::SIOTPCHitHandler::read(), and IMPL::TPCHitImpl::setCellID().

float IMPL::TPCHitImpl::_charge [protected, inherited]
 

Definition at line 84 of file TPCHitImpl.h.

Referenced by SIO::SIOTPCHitHandler::read(), and IMPL::TPCHitImpl::setCharge().

int IMPL::AccessChecked::_id [protected, inherited]
 

Definition at line 34 of file AccessChecked.h.

Referenced by IMPL::AccessChecked::AccessChecked().

int IMPL::TPCHitImpl::_quality [protected, inherited]
 

Definition at line 85 of file TPCHitImpl.h.

Referenced by SIO::SIOTPCHitHandler::read(), and IMPL::TPCHitImpl::setQuality().

int* IMPL::TPCHitImpl::_rawArray [protected, inherited]
 

Definition at line 87 of file TPCHitImpl.h.

Referenced by IMPL::TPCHitImpl::getRawDataWord(), IMPL::TPCHitImpl::initRawArray(), SIO::SIOTPCHitHandler::read(), and IMPL::TPCHitImpl::setRawData().

int IMPL::TPCHitImpl::_rawSize [protected, inherited]
 

Definition at line 86 of file TPCHitImpl.h.

Referenced by IMPL::TPCHitImpl::initRawArray(), SIO::SIOTPCHitHandler::read(), and IMPL::TPCHitImpl::setRawData().

bool IMPL::AccessChecked::_readOnly [protected, inherited]
 

Definition at line 33 of file AccessChecked.h.

Referenced by IMPL::AccessChecked::setReadOnly().

float IMPL::TPCHitImpl::_time [protected, inherited]
 

Definition at line 83 of file TPCHitImpl.h.

Referenced by SIO::SIOTPCHitHandler::read(), and IMPL::TPCHitImpl::setTime().


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