LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
IMPL::TrackerPulseImpl Class Reference

Default implementation of TrackerPulse. More...

#include <TrackerPulseImpl.h>

+ Inheritance diagram for IMPL::TrackerPulseImpl:

Public Member Functions

 TrackerPulseImpl ()
 Default Constructor - initializes all data to 0's. More...
 
 TrackerPulseImpl (const TrackerPulseImpl &)=default
 default copy constructor - use with care More...
 
TrackerPulseImploperator= (const TrackerPulseImpl &)=default
 default assignment operator - use with care More...
 
virtual ~TrackerPulseImpl ()
 Destructor. More...
 
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
virtual int getCellID0 () const
 Returns the first detector specific (geometrical) cell id. More...
 
virtual int getCellID1 () const
 Returns the second detector specific (geometrical) cell id. More...
 
virtual float getTime () const
 The time of the pulse. More...
 
virtual float getCharge () const
 The integrated charge of the pulse // FIXME: unit ?. More...
 
virtual const EVENT::FloatVecgetCovMatrix () const
 Covariance matrix of the charge (c) and time (t) measurements. More...
 
virtual int getQuality () const
 The quality bit flag of the pulse - use the defined constants for referring to the bits. More...
 
virtual EVENT::TrackerDatagetTrackerData () const
 Optionally the TrackerData that has been uesed to create the pulse can be stored with the pulse - NULL if none. More...
 
void setCellID0 (int cellID0)
 
void setCellID1 (int cellID1)
 
void setTime (float time)
 
void setCharge (float charge)
 
void setCovMatrix (const float *cov)
 
void setCovMatrix (const EVENT::FloatVec &)
 
void setQuality (int quality)
 
void setQualityBit (int bit, bool val=true)
 
void setTrackerData (EVENT::TrackerData *corrData)
 
- Public Member Functions inherited from EVENT::TrackerPulse
virtual ~TrackerPulse ()
 Destructor. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor. More...
 
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,... More...
 
template<class V >
const V::ext_type ext () const
 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,... More...
 
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. More...
 
- Public Member Functions inherited from IMPL::AccessChecked
 AccessChecked ()
 
virtual ~AccessChecked ()
 
virtual int simpleUID () const
 

Protected Attributes

int _cellID0
 
int _cellID1
 
float _time
 
float _charge
 
int _quality
 
EVENT::FloatVec _cov
 
EVENT::TrackerData_corrData
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly {false}
 
int _id {-1}
 

Additional Inherited Members

- Public Types inherited from EVENT::TrackerPulse
typedef TrackerPulse lcobject_type
 Useful typedef for template programming with LCIO. More...
 
- Public Types inherited from lcrtrel::LCRTRelations
typedef std::type_index ext_index
 
typedef std::shared_ptr< void > ext_type
 
typedef std::map< ext_index,
ext_type
ext_map
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess ()
 
void checkAccess (const char *what)
 
- Static Protected Attributes inherited from IMPL::AccessChecked
static std::atomic_int _lCObjectId
 

Detailed Description

Default implementation of TrackerPulse.

Author
gaede
Version
Id:
TrackerPulseImpl.h,v 1.4 2010-05-12 14:50:00 engels Exp

Definition at line 17 of file TrackerPulseImpl.h.

Constructor & Destructor Documentation

IMPL::TrackerPulseImpl::TrackerPulseImpl ( )

Default Constructor - initializes all data to 0's.

Definition at line 11 of file TrackerPulseImpl.cc.

IMPL::TrackerPulseImpl::TrackerPulseImpl ( const TrackerPulseImpl )
default

default copy constructor - use with care

IMPL::TrackerPulseImpl::~TrackerPulseImpl ( )
virtual

Destructor.

Definition at line 22 of file TrackerPulseImpl.cc.

Member Function Documentation

virtual int IMPL::TrackerPulseImpl::getCellID0 ( ) const
inlinevirtual

Returns the first detector specific (geometrical) cell id.

Implements EVENT::TrackerPulse.

Definition at line 39 of file TrackerPulseImpl.h.

References _cellID0.

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

Returns the second detector specific (geometrical) cell id.

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

Implements EVENT::TrackerPulse.

Definition at line 44 of file TrackerPulseImpl.h.

References _cellID1.

virtual float IMPL::TrackerPulseImpl::getCharge ( ) const
inlinevirtual

The integrated charge of the pulse // FIXME: unit ?.

Implements EVENT::TrackerPulse.

Definition at line 55 of file TrackerPulseImpl.h.

References _charge.

virtual const EVENT::FloatVec& IMPL::TrackerPulseImpl::getCovMatrix ( ) const
inlinevirtual

Covariance matrix of the charge (c) and time (t) measurements.

Stored as lower triangle matrix, i.e. cov(c,c) , cov(t,c) , cov(t,t). Optional, check/set flag(LCIO::TRAWBIT_CM)==1.

Implements EVENT::TrackerPulse.

Definition at line 64 of file TrackerPulseImpl.h.

References _cov.

virtual int IMPL::TrackerPulseImpl::getQuality ( ) const
inlinevirtual

The quality bit flag of the pulse - use the defined constants for referring to the bits.

Implements EVENT::TrackerPulse.

Definition at line 69 of file TrackerPulseImpl.h.

References _quality.

virtual float IMPL::TrackerPulseImpl::getTime ( ) const
inlinevirtual

The time of the pulse.

Implements EVENT::TrackerPulse.

Definition at line 48 of file TrackerPulseImpl.h.

References _time.

virtual EVENT::TrackerData* IMPL::TrackerPulseImpl::getTrackerData ( ) const
inlinevirtual

Optionally the TrackerData that has been uesed to create the pulse can be stored with the pulse - NULL if none.

Check the quality bits for reason why the spectrum has been stored for the pulse.

Implements EVENT::TrackerPulse.

Definition at line 75 of file TrackerPulseImpl.h.

References _corrData.

virtual int IMPL::TrackerPulseImpl::id ( ) const
inlinevirtual

Returns an object id for internal (debugging) use in LCIO.

Implements EVENT::LCObject.

Definition at line 34 of file TrackerPulseImpl.h.

References IMPL::AccessChecked::simpleUID().

TrackerPulseImpl& IMPL::TrackerPulseImpl::operator= ( const TrackerPulseImpl )
default

default assignment operator - use with care

void IMPL::TrackerPulseImpl::setCellID0 ( int  cellID0)

Definition at line 25 of file TrackerPulseImpl.cc.

References _cellID0, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setCellID1 ( int  cellID1)

Definition at line 30 of file TrackerPulseImpl.cc.

References _cellID1, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setCharge ( float  charge)

Definition at line 45 of file TrackerPulseImpl.cc.

References _charge, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setCovMatrix ( const float *  cov)

Definition at line 63 of file TrackerPulseImpl.cc.

References _cov, IMPL::AccessChecked::checkAccess(), and TRKPULSENCOVMATRIX.

void IMPL::TrackerPulseImpl::setCovMatrix ( const EVENT::FloatVec cov)

Definition at line 56 of file TrackerPulseImpl.cc.

References _cov, IMPL::AccessChecked::checkAccess(), and TRKPULSENCOVMATRIX.

void IMPL::TrackerPulseImpl::setQuality ( int  quality)

Definition at line 70 of file TrackerPulseImpl.cc.

References _quality, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setQualityBit ( int  bit,
bool  val = true 
)

Definition at line 75 of file TrackerPulseImpl.cc.

References _quality, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setTime ( float  time)

Definition at line 35 of file TrackerPulseImpl.cc.

References _time, and IMPL::AccessChecked::checkAccess().

void IMPL::TrackerPulseImpl::setTrackerData ( EVENT::TrackerData corrData)

Definition at line 84 of file TrackerPulseImpl.cc.

References _corrData, and IMPL::AccessChecked::checkAccess().

Member Data Documentation

int IMPL::TrackerPulseImpl::_cellID0
protected

Definition at line 94 of file TrackerPulseImpl.h.

Referenced by getCellID0(), and setCellID0().

int IMPL::TrackerPulseImpl::_cellID1
protected

Definition at line 95 of file TrackerPulseImpl.h.

Referenced by getCellID1(), and setCellID1().

float IMPL::TrackerPulseImpl::_charge
protected

Definition at line 97 of file TrackerPulseImpl.h.

Referenced by getCharge(), and setCharge().

EVENT::TrackerData* IMPL::TrackerPulseImpl::_corrData
protected

Definition at line 100 of file TrackerPulseImpl.h.

Referenced by getTrackerData(), and setTrackerData().

EVENT::FloatVec IMPL::TrackerPulseImpl::_cov
protected

Definition at line 99 of file TrackerPulseImpl.h.

Referenced by getCovMatrix(), and setCovMatrix().

int IMPL::TrackerPulseImpl::_quality
protected

Definition at line 98 of file TrackerPulseImpl.h.

Referenced by getQuality(), setQuality(), and setQualityBit().

float IMPL::TrackerPulseImpl::_time
protected

Definition at line 96 of file TrackerPulseImpl.h.

Referenced by getTime(), and setTime().


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