CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PHGCSimAccumulator::TmpElem Class Reference

#include <PHGCSimAccumulator.h>

Public Member Functions

const std::vector< unsigned short > chargeArray () const
 
unsigned int detId () const
 
unsigned int nhits () const
 
unsigned short sampleIndex () const
 
const std::vector< unsigned short > timeArray () const
 
 TmpElem (const unsigned int detId, const SimHitCollection &simhitCollection)
 

Private Attributes

unsigned int detId_
 
SimHitCollection simhitcollection_
 

Detailed Description

Definition at line 88 of file PHGCSimAccumulator.h.

Constructor & Destructor Documentation

◆ TmpElem()

PHGCSimAccumulator::TmpElem::TmpElem ( const unsigned int  detId,
const SimHitCollection simhitCollection 
)
inline

Definition at line 90 of file PHGCSimAccumulator.h.

91  : detId_(detId), simhitcollection_(simhitCollection) {}
unsigned int detId() const

Member Function Documentation

◆ chargeArray()

const std::vector<unsigned short> PHGCSimAccumulator::TmpElem::chargeArray ( ) const
inline

Definition at line 96 of file PHGCSimAccumulator.h.

References PHGCSimAccumulator::SimHitCollection::chargeArray(), and simhitcollection_.

96 { return simhitcollection_.chargeArray(); }
const std::vector< unsigned short > & chargeArray() const

◆ detId()

unsigned int PHGCSimAccumulator::TmpElem::detId ( ) const
inline

Definition at line 93 of file PHGCSimAccumulator.h.

References detId_.

93 { return detId_; }

◆ nhits()

unsigned int PHGCSimAccumulator::TmpElem::nhits ( ) const
inline

◆ sampleIndex()

unsigned short PHGCSimAccumulator::TmpElem::sampleIndex ( ) const
inline

◆ timeArray()

const std::vector<unsigned short> PHGCSimAccumulator::TmpElem::timeArray ( ) const
inline

Definition at line 97 of file PHGCSimAccumulator.h.

References simhitcollection_, and PHGCSimAccumulator::SimHitCollection::timeArray().

97 { return simhitcollection_.timeArray(); }
const std::vector< unsigned short > & timeArray() const

Member Data Documentation

◆ detId_

unsigned int PHGCSimAccumulator::TmpElem::detId_
private

Definition at line 100 of file PHGCSimAccumulator.h.

Referenced by detId().

◆ simhitcollection_

SimHitCollection PHGCSimAccumulator::TmpElem::simhitcollection_
private

Definition at line 101 of file PHGCSimAccumulator.h.

Referenced by chargeArray(), nhits(), sampleIndex(), and timeArray().