Implementation of the real data RawCalorimeterHit. More...
#include <IMPL/RawCalorimeterHitImpl.h>
Public Member Functions | |
| RawCalorimeterHitImpl () | |
| Default constructor, initializes values to 0. | |
| virtual | ~RawCalorimeterHitImpl () |
| Destructor. | |
| virtual int | id () const |
| Returns an object id for internal (debugging) use in LCIO. | |
| virtual int | getCellID0 () const |
| Returns the detector specific (geometrical) cell id. | |
| virtual int | getCellID1 () const |
| Returns the second detector specific (geometrical) cell id. More... | |
| virtual int | getAmplitude () const |
| Returns the amplitude of the hit in ADC counts. | |
| virtual int | getTimeStamp () const |
| Returns a time stamp for the hit. More... | |
| void | setCellID0 (int id0) |
| void | setCellID1 (int id1) |
| Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set. More... | |
| void | setAmplitude (int amplitude) |
| Sets the amplitude. | |
| void | setTimeStamp (int time) |
| Set the time stamp. | |
Public Member Functions inherited from EVENT::RawCalorimeterHit | |
| virtual | ~RawCalorimeterHit () |
| Destructor. | |
Public Member Functions inherited from EVENT::LCObject | |
| virtual | ~LCObject () |
| Destructor. | |
| virtual LCObject * | clone () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
Public Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ext_type | ext () |
| 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,... | |
| template<class V > | |
| const V::ext_type | ext () const |
| template<class V > | |
| V::rel_type | rel () |
| 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. | |
Public Member Functions inherited from IMPL::AccessChecked | |
| virtual int | simpleUID () const |
Protected Attributes | |
| int | _cellID0 |
| int | _cellID1 |
| int | _amplitude |
| int | _timeStamp |
Protected Attributes inherited from IMPL::AccessChecked | |
| bool | _readOnly |
| int | _id |
Additional Inherited Members | |
Public Types inherited from EVENT::RawCalorimeterHit | |
| typedef RawCalorimeterHit | lcobject_type |
| Useful typedef for template programming with LCIO. | |
Protected Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ptr & | ptr () const |
| Returns the reference to the pointer to the extension/relation object. | |
Protected Member Functions inherited from IMPL::AccessChecked | |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Implementation of the real data RawCalorimeterHit.
|
virtual |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::RCHBIT_ID1)==1.
Implements EVENT::RawCalorimeterHit.
|
virtual |
Returns a time stamp for the hit.
Optional, check/set flag(LCIO::RCHBIT_TIME)==1.
Implements EVENT::RawCalorimeterHit.
| void IMPL::RawCalorimeterHitImpl::setCellID1 | ( | int | id1 | ) |
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.
1.8.6