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 87 of file PHGCSimAccumulator.h.

Constructor & Destructor Documentation

◆ TmpElem()

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

Definition at line 89 of file PHGCSimAccumulator.h.

90  : 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 95 of file PHGCSimAccumulator.h.

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

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

◆ detId()

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

Definition at line 92 of file PHGCSimAccumulator.h.

References detId_.

92 { 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 96 of file PHGCSimAccumulator.h.

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

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

Member Data Documentation

◆ detId_

unsigned int PHGCSimAccumulator::TmpElem::detId_
private

Definition at line 99 of file PHGCSimAccumulator.h.

Referenced by detId().

◆ simhitcollection_

SimHitCollection PHGCSimAccumulator::TmpElem::simhitcollection_
private

Definition at line 100 of file PHGCSimAccumulator.h.

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