#include <SimTrackerHitImpl.h>
Inheritance diagram for IMPL::SimTrackerHitImpl:
Public Types | |
| typedef SimTrackerHit | lcobject_type |
Public Member Functions | |
| SimTrackerHitImpl () | |
| virtual | ~SimTrackerHitImpl () |
| Destructor. | |
| virtual int | id () const |
| virtual int | getCellID () const |
| virtual const double * | getPosition () const |
| virtual float | getdEdx () const |
| virtual float | getTime () const |
| virtual EVENT::MCParticle * | getMCParticle () const |
| virtual const float * | getMomentum () const |
| virtual float | getPathLength () const |
| void | setCellID (int id) |
| void | setPosition (double pos[3]) |
| void | setdEdx (float dEdX) |
| void | setTime (float t) |
| void | setMCParticle (EVENT::MCParticle *particle) |
| void | setMomentum (float p[3]) |
| void | setMomentum (float px, float py, float pz) |
| void | setPathLength (float pathLength) |
| 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 | _cellID |
| double | _pos [3] |
| float | _dEdx |
| float | _time |
| EVENT::MCParticle * | _particle |
| float | _p [3] |
| float | _pathLength |
| bool | _readOnly |
| int | _id |
Definition at line 20 of file SimTrackerHitImpl.h.
|
|
Useful typedef for template programming with LCIO Definition at line 31 of file SimTrackerHit.h. |
|
|
Default constructor, initializes values to 0. Definition at line 8 of file SimTrackerHitImpl.cc. |
|
|
Destructor.
Definition at line 21 of file SimTrackerHitImpl.cc. |
|
|
Definition at line 20 of file AccessChecked.cc. |
|
|
|
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. |
|
|||||||||
|
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. |
|
|
Returns the detector specific (geometrical) cell id. Implements EVENT::SimTrackerHit. Definition at line 24 of file SimTrackerHitImpl.cc. |
|
|
Returns the dE/dx of the hit. Implements EVENT::SimTrackerHit. Definition at line 28 of file SimTrackerHitImpl.cc. |
|
|
Returns the MC particle that caused the hit.
Implements EVENT::SimTrackerHit. Definition at line 32 of file SimTrackerHitImpl.cc. |
|
|
Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::THBIT_MOMENTUM is set. Implements EVENT::SimTrackerHit. Definition at line 36 of file SimTrackerHitImpl.cc. |
|
|
The path length of the particle in the sensitive material that resulted in this hit. This is only stored together with momentum, i.e. if LCIO::THBIT_MOMENTUM is set. Implements EVENT::SimTrackerHit. Definition at line 34 of file SimTrackerHitImpl.cc. |
|
|
Returns the hit position. Implements EVENT::SimTrackerHit. Definition at line 26 of file SimTrackerHitImpl.cc. |
|
|
Returns the time of the hit. TO DO needs definition. Implements EVENT::SimTrackerHit. Definition at line 30 of file SimTrackerHitImpl.cc. |
|
|
Returns an object id for internal (debugging) use in LCIO. Implements EVENT::LCObject. Definition at line 31 of file SimTrackerHitImpl.h. |
|
|||||||||
|
Returns the reference to the pointer to the extension/relation object Definition at line 508 of file LCRTRelations.h. |
|
|||||||||
|
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. |
|
|
Sets the cell id. Definition at line 38 of file SimTrackerHitImpl.cc. References _cellID, and IMPL::AccessChecked::checkAccess(). Referenced by UTIL::CellIDEncoder< IMPL::SimTrackerHitImpl >::setCellID(). |
|
|
Sets dE/dx. Definition at line 50 of file SimTrackerHitImpl.cc. References _dEdx, and IMPL::AccessChecked::checkAccess(). |
|
|
Sets the MCParticle that caused the hit. Definition at line 60 of file SimTrackerHitImpl.cc. References _particle, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||||||
|
Sets the momentum of the particle at the hit's position. Definition at line 70 of file SimTrackerHitImpl.cc. References _p, and IMPL::AccessChecked::checkAccess(). |
|
|
Sets the momentum of the particle at the hit's position. Definition at line 65 of file SimTrackerHitImpl.cc. |
|
|
Definition at line 79 of file SimTrackerHitImpl.cc. References _pathLength, and IMPL::AccessChecked::checkAccess(). |
|
|
Sets the position. Definition at line 43 of file SimTrackerHitImpl.cc. References _pos, and IMPL::AccessChecked::checkAccess(). |
|
|
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(). |
|
|
Sets the time. Definition at line 55 of file SimTrackerHitImpl.cc. References _time, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 24 of file AccessChecked.h. |
|
|
Definition at line 101 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), and setCellID(). |
|
|
Definition at line 103 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), and setdEdx(). |
|
|
Definition at line 34 of file AccessChecked.h. Referenced by IMPL::AccessChecked::AccessChecked(). |
|
|
Definition at line 106 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), setMomentum(), and SimTrackerHitImpl(). |
|
|
Definition at line 105 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), and setMCParticle(). |
|
|
Definition at line 107 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), and setPathLength(). |
|
|
Definition at line 102 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), setPosition(), and SimTrackerHitImpl(). |
|
|
Definition at line 33 of file AccessChecked.h. Referenced by IMPL::AccessChecked::setReadOnly(). |
|
|
Definition at line 104 of file SimTrackerHitImpl.h. Referenced by SIO::SIOSimTrackHitHandler::read(), and setTime(). |
1.3.9.1