#include <CalorimeterHitImpl.h>
Inheritance diagram for IMPL::CalorimeterHitImpl:

Public Types | |
| typedef CalorimeterHit | lcobject_type |
Public Member Functions | |
| CalorimeterHitImpl () | |
| virtual | ~CalorimeterHitImpl () |
| Destructor. | |
| virtual int | id () const |
| virtual int | getCellID0 () const |
| virtual int | getCellID1 () const |
| virtual float | getEnergy () const |
| virtual float | getTime () const |
| virtual const float * | getPosition () const |
| virtual int | getType () const |
| virtual EVENT::LCObject * | getRawHit () const |
| void | setCellID0 (int id0) |
| void | setCellID1 (int id1) |
| void | setEnergy (float en) |
| void | setTime (float t) |
| void | setPosition (const float pos[3]) |
| void | setType (int type) |
| void | setRawHit (EVENT::LCObject *rawHit) |
| 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 | _energy |
| float | _time |
| float | _position [3] |
| int | _type |
| EVENT::LCObject * | _rawHit |
| bool | _readOnly |
| int | _id |
Definition at line 19 of file CalorimeterHitImpl.h.
|
|
Useful typedef for template programming with LCIO Definition at line 42 of file CalorimeterHit.h. |
|
|
Default constructor, initializes values to 0. Definition at line 5 of file CalorimeterHitImpl.cc. References _position. |
|
|
Destructor. Copy constructor. Not yet - needs pointer chasing ... Definition at line 18 of file CalorimeterHitImpl.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::CalorimeterHit. Definition at line 21 of file CalorimeterHitImpl.cc. |
|
|
Returns the second detector specific (geometrical) cell id. 0 if information is not stored - check the flag word (bit CHBIT_ID1) of the collection. Default is to store only cellid0. Implements EVENT::CalorimeterHit. Definition at line 25 of file CalorimeterHitImpl.cc. |
|
|
Returns the energy of the hit. Implements EVENT::CalorimeterHit. Definition at line 29 of file CalorimeterHitImpl.cc. |
|
|
Returns the position of the hit in world coordinates. NULL if information is not stored. Ask collection for flag, only available if bit LCIO.CHBIT_LONG is set. Implements EVENT::CalorimeterHit. Definition at line 37 of file CalorimeterHitImpl.cc. |
|
|
The RawCalorimeterHit. As in the future there might be other types of raw calorimeter hits the return type is LCObject. Implements EVENT::CalorimeterHit. Definition at line 44 of file CalorimeterHitImpl.cc. |
|
|
Returns the time of the hit in [ns]. Optional, check/set flag(LCIO::RCHBIT_TIME)==1. Implements EVENT::CalorimeterHit. Definition at line 33 of file CalorimeterHitImpl.cc. |
|
|
Type of hit. Mapping of integer types to type names through collection parameters "CalorimeterHitTypeNames" and "CalorimeterHitTypeValues". Implements EVENT::CalorimeterHit. Definition at line 41 of file CalorimeterHitImpl.cc. |
|
|
Returns an object id for internal (debugging) use in LCIO. Implements EVENT::LCObject. Definition at line 34 of file CalorimeterHitImpl.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 first cell id; Definition at line 48 of file CalorimeterHitImpl.cc. References _cellID0, and IMPL::AccessChecked::checkAccess(). |
|
|
Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set. Default is to store only cellid0. Definition at line 53 of file CalorimeterHitImpl.cc. References _cellID1, and IMPL::AccessChecked::checkAccess(). |
|
|
Sets the energy/amplitude. Definition at line 58 of file CalorimeterHitImpl.cc. References _energy, and IMPL::AccessChecked::checkAccess(). |
|
|
Sets the position. Not stored if LCIO.CHBIT_LONG isn't set. Definition at line 68 of file CalorimeterHitImpl.cc. References _position, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 81 of file CalorimeterHitImpl.cc. References _rawHit, 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 63 of file CalorimeterHitImpl.cc. References _time, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 76 of file CalorimeterHitImpl.cc. References _type, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 24 of file AccessChecked.h. |
|
|
Definition at line 103 of file CalorimeterHitImpl.h. Referenced by SIO::SIOCalHitHandler::read(), and setCellID0(). |
|
|
Definition at line 104 of file CalorimeterHitImpl.h. Referenced by SIO::SIOCalHitHandler::read(), and setCellID1(). |
|
|
Definition at line 105 of file CalorimeterHitImpl.h. Referenced by SIO::SIOCalHitHandler::read(), and setEnergy(). |
|
|
Definition at line 34 of file AccessChecked.h. Referenced by IMPL::AccessChecked::AccessChecked(). |
|
|
Definition at line 107 of file CalorimeterHitImpl.h. Referenced by CalorimeterHitImpl(), SIO::SIOCalHitHandler::read(), and setPosition(). |
|
|
Definition at line 110 of file CalorimeterHitImpl.h. Referenced by SIO::SIOCalHitHandler::read(), and setRawHit(). |
|
|
Definition at line 33 of file AccessChecked.h. Referenced by IMPL::AccessChecked::setReadOnly(). |
|
|
Definition at line 106 of file CalorimeterHitImpl.h. Referenced by SIO::SIOCalHitHandler::read(), and setTime(). |
|
|
Definition at line 108 of file CalorimeterHitImpl.h. Referenced by SIO::SIOCalHitHandler::read(), and setType(). |
1.3.9.1