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. | |
![]() | |
virtual | ~RawCalorimeterHit () |
Destructor. | |
![]() | |
virtual | ~LCObject () |
Destructor. | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
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. | |
![]() | |
virtual int | simpleUID () const |
Protected Attributes | |
int | _cellID0 |
int | _cellID1 |
int | _amplitude |
int | _timeStamp |
![]() | |
bool | _readOnly |
int | _id |
Additional Inherited Members | |
![]() | |
typedef RawCalorimeterHit | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
![]() | |
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.