Adding stuff needed for io (friend declarations, etc.) More...
#include <IOIMPL/CalorimeterHitIOImpl.h>
Friends | |
class | SIO::SIOCalHitHandler |
Additional Inherited Members | |
![]() | |
typedef CalorimeterHit | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
CalorimeterHitImpl () | |
Default constructor, initializes values to 0. | |
virtual | ~CalorimeterHitImpl () |
Copy constructor. More... | |
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 float | getEnergy () const |
Returns the energy of the hit. | |
virtual float | getEnergyError () const |
Returns the error of the hit energy. More... | |
virtual float | getTime () const |
Returns the time of the hit in [ns]. More... | |
virtual const float * | getPosition () const |
Returns the position of the hit in world coordinates. More... | |
virtual int | getType () const |
Type of hit. More... | |
virtual EVENT::LCObject * | getRawHit () const |
The RawCalorimeterHit. More... | |
void | setCellID0 (int id0) |
Sets the first cell id;. | |
void | setCellID1 (int id1) |
Sets the second cell id; Only store if the flag word (bit RCHBIT_ID1) of the collection is set. More... | |
void | setEnergy (float en) |
Sets the energy/amplitude. | |
void | setEnergyError (float enerr) |
Sets the error of the hit energy. More... | |
void | setTime (float t) |
Sets the time. | |
void | setPosition (const float pos[3]) |
Sets the position. More... | |
void | setType (int type) |
void | setRawHit (EVENT::LCObject *rawHit) |
![]() | |
virtual | ~CalorimeterHit () |
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 |
![]() | |
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 ) |
![]() | |
int | _cellID0 |
int | _cellID1 |
float | _energy |
float | _energyError |
float | _time |
float | _position [3] |
int | _type |
EVENT::LCObject * | _rawHit |
![]() | |
bool | _readOnly |
int | _id |
Adding stuff needed for io (friend declarations, etc.)