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

IOIMPL::ParticleIDIOImpl Class Reference

#include <ParticleIDIOImpl.h>

Inheritance diagram for IOIMPL::ParticleIDIOImpl:

IMPL::ParticleIDImpl EVENT::ParticleID IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations List of all members.

Public Types

typedef ParticleID lcobject_type

Public Member Functions

virtual int id () const
virtual int getType () const
virtual int getPDG () const
virtual float getLikelihood () const
virtual int getAlgorithmType () const
virtual const EVENT::FloatVecgetParameters () const
void setType (int type)
void setPDG (int pdg)
void setLikelihood (float logL)
void setAlgorithmType (int algorithmType)
void addParameter (float p)
virtual LCObject * clone () const
template<class V>
V::ext_type ext ()
template<class V>
V::rel_type rel ()
virtual int simpleUID () const

Static Public Attributes

const int UnknownPDG = 999999

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 _type
int _pdg
float _likelihood
int _algorithmType
EVENT::FloatVec _parameters
bool _readOnly
int _id

Friends

class SIO::SIOReconstructedParticleHandler
class SIO::SIOClusterHandler

Detailed Description

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

Author:
gaede
Version:
Mar 31, 2004

Definition at line 21 of file ParticleIDIOImpl.h.


Member Typedef Documentation

typedef ParticleID EVENT::ParticleID::lcobject_type [inherited]
 

Useful typedef for template programming with LCIO

Definition at line 36 of file ParticleID.h.


Member Function Documentation

void IMPL::ParticleIDImpl::addParameter float  p  )  [inherited]
 

Definition at line 49 of file ParticleIDImpl.cc.

References IMPL::ParticleIDImpl::_parameters, and IMPL::AccessChecked::checkAccess().

Referenced by SIO::SIOReconstructedParticleHandler::read(), and SIO::SIOClusterHandler::read().

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::ParticleIDImpl::getAlgorithmType  )  const [virtual, inherited]
 

Type of the algorithm/module that created this hypothesis. Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.

Implements EVENT::ParticleID.

Definition at line 23 of file ParticleIDImpl.cc.

float IMPL::ParticleIDImpl::getLikelihood  )  const [virtual, inherited]
 

The likelihood of this hypothesis - in a user defined normalization.

Implements EVENT::ParticleID.

Definition at line 20 of file ParticleIDImpl.cc.

const EVENT::FloatVec & IMPL::ParticleIDImpl::getParameters  )  const [virtual, inherited]
 

Parameters associated with this hypothesis. Check/set collection paramter PIDParameterNames for decoding the indices.

Implements EVENT::ParticleID.

Definition at line 26 of file ParticleIDImpl.cc.

int IMPL::ParticleIDImpl::getPDG  )  const [virtual, inherited]
 

The PDG code of this id - UnknownPDG ( 999999 ) if unknown.

Implements EVENT::ParticleID.

Definition at line 17 of file ParticleIDImpl.cc.

int IMPL::ParticleIDImpl::getType  )  const [virtual, inherited]
 

Type - userdefined.

Implements EVENT::ParticleID.

Definition at line 14 of file ParticleIDImpl.cc.

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

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

Implements EVENT::LCObject.

Definition at line 40 of file ParticleIDImpl.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::ParticleIDImpl::setAlgorithmType int  algorithmType  )  [inherited]
 

Definition at line 44 of file ParticleIDImpl.cc.

References IMPL::ParticleIDImpl::_algorithmType, and IMPL::AccessChecked::checkAccess().

void IMPL::ParticleIDImpl::setLikelihood float  logL  )  [inherited]
 

Definition at line 39 of file ParticleIDImpl.cc.

References IMPL::ParticleIDImpl::_likelihood, and IMPL::AccessChecked::checkAccess().

void IMPL::ParticleIDImpl::setPDG int  pdg  )  [inherited]
 

Definition at line 34 of file ParticleIDImpl.cc.

References IMPL::ParticleIDImpl::_pdg, 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::ParticleIDImpl::setType int  type  )  [inherited]
 

Definition at line 30 of file ParticleIDImpl.cc.

References IMPL::ParticleIDImpl::_type, 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::SIOClusterHandler [friend]
 

Definition at line 26 of file ParticleIDIOImpl.h.

friend class SIO::SIOReconstructedParticleHandler [friend]
 

Definition at line 25 of file ParticleIDIOImpl.h.


Member Data Documentation

int IMPL::ParticleIDImpl::_algorithmType [protected, inherited]
 

Definition at line 75 of file ParticleIDImpl.h.

Referenced by SIO::SIOReconstructedParticleHandler::read(), SIO::SIOClusterHandler::read(), and IMPL::ParticleIDImpl::setAlgorithmType().

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

Definition at line 34 of file AccessChecked.h.

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

float IMPL::ParticleIDImpl::_likelihood [protected, inherited]
 

Definition at line 74 of file ParticleIDImpl.h.

Referenced by SIO::SIOReconstructedParticleHandler::read(), SIO::SIOClusterHandler::read(), and IMPL::ParticleIDImpl::setLikelihood().

EVENT::FloatVec IMPL::ParticleIDImpl::_parameters [protected, inherited]
 

Definition at line 76 of file ParticleIDImpl.h.

Referenced by IMPL::ParticleIDImpl::addParameter().

int IMPL::ParticleIDImpl::_pdg [protected, inherited]
 

Definition at line 73 of file ParticleIDImpl.h.

Referenced by SIO::SIOReconstructedParticleHandler::read(), SIO::SIOClusterHandler::read(), and IMPL::ParticleIDImpl::setPDG().

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

Definition at line 33 of file AccessChecked.h.

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

int IMPL::ParticleIDImpl::_type [protected, inherited]
 

Definition at line 72 of file ParticleIDImpl.h.

Referenced by SIO::SIOReconstructedParticleHandler::read(), SIO::SIOClusterHandler::read(), and IMPL::ParticleIDImpl::setType().

const int EVENT::ParticleID::UnknownPDG = 999999 [static, inherited]
 

Constant to be used if the PDG code is not known or undefined.

Definition at line 50 of file ParticleID.h.


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