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

IMPL::TrackerPulseImpl Class Reference

#include <TrackerPulseImpl.h>

Inheritance diagram for IMPL::TrackerPulseImpl:

EVENT::TrackerPulse IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::TrackerPulseIOImpl List of all members.

Public Types

typedef TrackerPulse lcobject_type

Public Member Functions

 TrackerPulseImpl ()
virtual ~TrackerPulseImpl ()
 Destructor.
virtual int id () const
virtual int getCellID0 () const
virtual int getCellID1 () const
virtual float getTime () const
virtual float getCharge () const
virtual int getQuality () const
virtual EVENT::TrackerDatagetTrackerData () const
void setCellID0 (int cellID0)
void setCellID1 (int cellID1)
void setTime (float time)
void setCharge (float charge)
void setQuality (int quality)
void setQualityBit (int bit, bool val=true)
void setTrackerData (EVENT::TrackerData *corrData)
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

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 _cellID0
int _cellID1
float _time
float _charge
int _quality
EVENT::TrackerData_corrData
bool _readOnly
int _id

Detailed Description

Default implementation of TrackerPulse.

Author:
gaede
Version:
Id
TrackerPulseImpl.h,v 1.2 2006/08/04 16:52:47 gaede Exp

Definition at line 15 of file TrackerPulseImpl.h.


Member Typedef Documentation

typedef TrackerPulse EVENT::TrackerPulse::lcobject_type [inherited]
 

Useful typedef for template programming with LCIO

Definition at line 33 of file TrackerPulse.h.


Constructor & Destructor Documentation

IMPL::TrackerPulseImpl::TrackerPulseImpl  ) 
 

Default Constructor - initializes all data to 0's.

Definition at line 11 of file TrackerPulseImpl.cc.

IMPL::TrackerPulseImpl::~TrackerPulseImpl  )  [virtual]
 

Destructor.

Definition at line 21 of file TrackerPulseImpl.cc.


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(), setCellID0(), IMPL::TrackerDataImpl::setCellID0(), IMPL::SimCalorimeterHitImpl::setCellID0(), IMPL::RawCalorimeterHitImpl::setCellID0(), IMPL::CalorimeterHitImpl::setCellID0(), IMPL::TrackerRawDataImpl::setCellID1(), setCellID1(), IMPL::TrackerDataImpl::setCellID1(), IMPL::SimCalorimeterHitImpl::setCellID1(), IMPL::RawCalorimeterHitImpl::setCellID1(), IMPL::CalorimeterHitImpl::setCellID1(), 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(), setQuality(), IMPL::TPCHitImpl::setQuality(), 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(), 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(), 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.

virtual int IMPL::TrackerPulseImpl::getCellID0  )  const [inline, virtual]
 

Returns the first detector specific (geometrical) cell id.

Implements EVENT::TrackerPulse.

Definition at line 31 of file TrackerPulseImpl.h.

virtual int IMPL::TrackerPulseImpl::getCellID1  )  const [inline, virtual]
 

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

Implements EVENT::TrackerPulse.

Definition at line 36 of file TrackerPulseImpl.h.

virtual float IMPL::TrackerPulseImpl::getCharge  )  const [inline, virtual]
 

The integrated charge of the pulse // FIXME: unit ?.

Implements EVENT::TrackerPulse.

Definition at line 44 of file TrackerPulseImpl.h.

virtual int IMPL::TrackerPulseImpl::getQuality  )  const [inline, virtual]
 

The quality bit flag of the pulse - use the defined constants for referring to the bits.

Implements EVENT::TrackerPulse.

Definition at line 48 of file TrackerPulseImpl.h.

virtual float IMPL::TrackerPulseImpl::getTime  )  const [inline, virtual]
 

The time of the pulse.

Implements EVENT::TrackerPulse.

Definition at line 40 of file TrackerPulseImpl.h.

virtual EVENT::TrackerData* IMPL::TrackerPulseImpl::getTrackerData  )  const [inline, virtual]
 

Optionally the TrackerData that has been uesed to create the pulse can be stored with the pulse - NULL if none. Check the quality bits for reason why the spectrum has been stored for the pulse.

Implements EVENT::TrackerPulse.

Definition at line 54 of file TrackerPulseImpl.h.

virtual int IMPL::TrackerPulseImpl::id  )  const [inline, virtual]
 

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

Implements EVENT::LCObject.

Definition at line 26 of file TrackerPulseImpl.h.

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::TrackerPulseImpl::setCellID0 int  cellID0  ) 
 

Definition at line 24 of file TrackerPulseImpl.cc.

References _cellID0, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setCellID1 int  cellID1  ) 
 

Definition at line 29 of file TrackerPulseImpl.cc.

References _cellID1, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setCharge float  charge  ) 
 

Definition at line 39 of file TrackerPulseImpl.cc.

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

void IMPL::TrackerPulseImpl::setQuality int  quality  ) 
 

Definition at line 44 of file TrackerPulseImpl.cc.

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

void IMPL::TrackerPulseImpl::setQualityBit int  bit,
bool  val = true
 

Definition at line 49 of file TrackerPulseImpl.cc.

References _quality, 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::TrackerPulseImpl::setTime float  time  ) 
 

Definition at line 34 of file TrackerPulseImpl.cc.

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

void IMPL::TrackerPulseImpl::setTrackerData EVENT::TrackerData corrData  ) 
 

Definition at line 58 of file TrackerPulseImpl.cc.

References _corrData, and IMPL::AccessChecked::checkAccess().

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

Definition at line 24 of file AccessChecked.h.


Member Data Documentation

int IMPL::TrackerPulseImpl::_cellID0 [protected]
 

Definition at line 68 of file TrackerPulseImpl.h.

Referenced by SIO::SIOTrackerPulseHandler::read(), and setCellID0().

int IMPL::TrackerPulseImpl::_cellID1 [protected]
 

Definition at line 69 of file TrackerPulseImpl.h.

Referenced by SIO::SIOTrackerPulseHandler::read(), and setCellID1().

float IMPL::TrackerPulseImpl::_charge [protected]
 

Definition at line 71 of file TrackerPulseImpl.h.

Referenced by SIO::SIOTrackerPulseHandler::read(), and setCharge().

EVENT::TrackerData* IMPL::TrackerPulseImpl::_corrData [protected]
 

Definition at line 73 of file TrackerPulseImpl.h.

Referenced by SIO::SIOTrackerPulseHandler::read(), and setTrackerData().

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

Definition at line 34 of file AccessChecked.h.

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

int IMPL::TrackerPulseImpl::_quality [protected]
 

Definition at line 72 of file TrackerPulseImpl.h.

Referenced by SIO::SIOTrackerPulseHandler::read(), setQuality(), and setQualityBit().

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

Definition at line 33 of file AccessChecked.h.

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

float IMPL::TrackerPulseImpl::_time [protected]
 

Definition at line 70 of file TrackerPulseImpl.h.

Referenced by SIO::SIOTrackerPulseHandler::read(), and setTime().


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