IMPL::TPCHitImpl Class Reference

Implementation of the real data TPCHit. More...

#include <IMPL/TPCHitImpl.h>

Inheritance diagram for IMPL::TPCHitImpl:
EVENT::TPCHit IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::TPCHitIOImpl

List of all members.

Public Member Functions

 TPCHitImpl ()
 Default Constructor - initializes all data to 0's.
 TPCHitImpl (const TPCHitImpl &)
 default copy constructor - use with care
TPCHitImploperator= (const TPCHitImpl &)
 default assignment operator - use with care
virtual ~TPCHitImpl ()
 Destructor.
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO.
virtual int getCellID () const
 Returns the detector specific cell id.
virtual float getTime () const
 Returns the time of the hit.
virtual float getCharge () const
 Returns the integrated charge of the hit.
virtual int getQuality () const
 Returns a quality flag for the hit.
virtual int getNRawDataWords () const
 Return the number of raw data (32-bit) words stored for the hit.
virtual int getRawDataWord (int i) const
 Return the raw data (32-bit) word at i.
virtual void setCellID (int cellID)
 Set the cell id.
virtual void setTime (float time)
 Set the time.
virtual void setCharge (float charge)
 Set the charge.
virtual void setQuality (int quality)
 Set the cell quality word.
virtual void setRawData (const int *raw, int size)
 Set the raw data.

Protected Member Functions

virtual void initRawArray (int size)
 initialize the raw data array - for faster reading

Protected Attributes

int _cellID
float _time
float _charge
int _quality
int _rawSize
int * _rawArray

Detailed Description

Implementation of the real data TPCHit.

Author:
gaede
Version:
Sep 11, 2003

Member Function Documentation

int IMPL::TPCHitImpl::getNRawDataWords (  )  const [virtual]

Return the number of raw data (32-bit) words stored for the hit.

Check the flag word (bit TPCBIT_RAW) of the collection if raw data is stored at all.

Implements EVENT::TPCHit.

int IMPL::TPCHitImpl::getRawDataWord ( int  i  )  const [virtual]

Return the raw data (32-bit) word at i.

Check the flag word (bit TPCBIT_RAW) of the collection if raw data is stored at all.

Implements EVENT::TPCHit.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1