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::RawCalorimeterHitImpl Class Reference

Implementation of the real data RawCalorimeterHit. More...

#include <RawCalorimeterHitImpl.h>

+ Inheritance diagram for IMPL::RawCalorimeterHitImpl:

Public Member Functions

 RawCalorimeterHitImpl ()
 Default constructor, initializes values to 0. More...
 
virtual ~RawCalorimeterHitImpl ()
 Destructor. More...
 
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
virtual int getCellID0 () const
 Returns the detector specific (geometrical) cell id. More...
 
virtual int getCellID1 () const
 Returns the second detector specific (geometrical) cell id. More...
 
virtual int getAmplitude () const
 Returns the amplitude of the hit in ADC counts. More...
 
virtual int getTimeStamp () const
 Returns a time stamp for the hit. More...
 
void setCellID0 (int id0)
 
void setCellID1 (int id1)
 Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set. More...
 
void setAmplitude (int amplitude)
 Sets the amplitude. More...
 
void setTimeStamp (int time)
 Set the time stamp. More...
 
- Public Member Functions inherited from EVENT::RawCalorimeterHit
virtual ~RawCalorimeterHit ()
 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
 
int _amplitude
 
int _timeStamp
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly {false}
 
int _id {-1}
 

Additional Inherited Members

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

Implementation of the real data RawCalorimeterHit.

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

Definition at line 19 of file RawCalorimeterHitImpl.h.

Constructor & Destructor Documentation

IMPL::RawCalorimeterHitImpl::RawCalorimeterHitImpl ( )

Default constructor, initializes values to 0.

Definition at line 5 of file RawCalorimeterHitImpl.cc.

IMPL::RawCalorimeterHitImpl::~RawCalorimeterHitImpl ( )
virtual

Destructor.

Definition at line 13 of file RawCalorimeterHitImpl.cc.

Member Function Documentation

int IMPL::RawCalorimeterHitImpl::getAmplitude ( ) const
virtual

Returns the amplitude of the hit in ADC counts.

Implements EVENT::RawCalorimeterHit.

Definition at line 24 of file RawCalorimeterHitImpl.cc.

References _amplitude.

int IMPL::RawCalorimeterHitImpl::getCellID0 ( ) const
virtual

Returns the detector specific (geometrical) cell id.

Implements EVENT::RawCalorimeterHit.

Definition at line 16 of file RawCalorimeterHitImpl.cc.

References _cellID0.

int IMPL::RawCalorimeterHitImpl::getCellID1 ( ) const
virtual

Returns the second detector specific (geometrical) cell id.

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

Implements EVENT::RawCalorimeterHit.

Definition at line 20 of file RawCalorimeterHitImpl.cc.

References _cellID1.

int IMPL::RawCalorimeterHitImpl::getTimeStamp ( ) const
virtual

Returns a time stamp for the hit.

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

Implements EVENT::RawCalorimeterHit.

Definition at line 28 of file RawCalorimeterHitImpl.cc.

References _timeStamp.

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

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

Implements EVENT::LCObject.

Definition at line 30 of file RawCalorimeterHitImpl.h.

References IMPL::AccessChecked::simpleUID().

void IMPL::RawCalorimeterHitImpl::setAmplitude ( int  amplitude)

Sets the amplitude.

Definition at line 44 of file RawCalorimeterHitImpl.cc.

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

void IMPL::RawCalorimeterHitImpl::setCellID0 ( int  id0)

Definition at line 34 of file RawCalorimeterHitImpl.cc.

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

void IMPL::RawCalorimeterHitImpl::setCellID1 ( int  id1)

Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set.

Default is to store only cellid0.

Definition at line 39 of file RawCalorimeterHitImpl.cc.

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

void IMPL::RawCalorimeterHitImpl::setTimeStamp ( int  time)

Set the time stamp.

Definition at line 49 of file RawCalorimeterHitImpl.cc.

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

Member Data Documentation

int IMPL::RawCalorimeterHitImpl::_amplitude
protected

Definition at line 71 of file RawCalorimeterHitImpl.h.

Referenced by getAmplitude(), and setAmplitude().

int IMPL::RawCalorimeterHitImpl::_cellID0
protected

Definition at line 69 of file RawCalorimeterHitImpl.h.

Referenced by getCellID0(), and setCellID0().

int IMPL::RawCalorimeterHitImpl::_cellID1
protected

Definition at line 70 of file RawCalorimeterHitImpl.h.

Referenced by getCellID1(), and setCellID1().

int IMPL::RawCalorimeterHitImpl::_timeStamp
protected

Definition at line 72 of file RawCalorimeterHitImpl.h.

Referenced by getTimeStamp(), and setTimeStamp().


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