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

List of all members.

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.
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.

Protected Attributes

int _cellID0
int _cellID1
float _time

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 [inline, virtual]

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:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1