LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Attributes | List of all members
IMPL::TrackerDataImpl Class Reference

Default implementation of TrackerData. More...

#include <IMPL/TrackerDataImpl.h>

Inheritance diagram for IMPL::TrackerDataImpl:
EVENT::TrackerData IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::TrackerDataIOImpl

Public Member Functions

 TrackerDataImpl ()
 Default Constructor - initializes all data to 0's.
 
virtual ~TrackerDataImpl ()
 Destructor.
 
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO.
 
virtual int getCellID0 () const
 Returns the first detector specific (geometrical) cell id.
 
virtual int getCellID1 () const
 Returns the second detector specific (geometrical) cell id. More...
 
virtual float getTime () const
 Returns the time.
 
virtual const EVENT::FloatVecgetChargeValues () const
 The calibrated ADC values.
 
void setCellID0 (int cellID0)
 
void setCellID1 (int cellID1)
 
void setTime (float time)
 
void setChargeValues (const EVENT::FloatVec &charge)
 Set the charge vector by copying the values.
 
EVENT::FloatVecchargeValues ()
 Allows direct access to the charge vector. More...
 
- Public Member Functions inherited from EVENT::TrackerData
virtual ~TrackerData ()
 Destructor.
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual LCObjectclone () 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
 
float _time
 
EVENT::FloatVec _charge
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly
 
int _id
 

Additional Inherited Members

- Public Types inherited from EVENT::TrackerData
typedef TrackerData 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 )
 

Detailed Description

Default implementation of TrackerData.

Author
gaede
Version
Id:
TrackerDataImpl.h,v 1.2 2006-08-04 16:52:46 gaede Exp

Member Function Documentation

FloatVec & IMPL::TrackerDataImpl::chargeValues ( )

Allows direct access to the charge vector.

Can be used e.g. to set the values: raw->chargeValues().clear() ; raw->chargeValues().resize( n ) ; raw->chargeValues()[i] = 42. ;

virtual int IMPL::TrackerDataImpl::getCellID1 ( ) const
inlinevirtual

Returns the second detector specific (geometrical) cell id.

Optional, check/set flag(LCIO::TRAWBIT_ID1)==1.

Implements EVENT::TrackerData.


The documentation for this class was generated from the following files: