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) {}

Member Function Documentation

◆ chargeArray()

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

◆ detId()

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

Definition at line 93 of file PHGCSimAccumulator.h.

93 { return detId_; }

References 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

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

PHGCSimAccumulator::TmpElem::simhitcollection_
SimHitCollection simhitcollection_
Definition: PHGCSimAccumulator.h:101
PHGCSimAccumulator::SimHitCollection::timeArray
const std::vector< unsigned short > & timeArray() const
Definition: PHGCSimAccumulator.h:57
PHGCSimAccumulator::TmpElem::detId_
unsigned int detId_
Definition: PHGCSimAccumulator.h:100
PHGCSimAccumulator::SimHitCollection::nhits
unsigned int nhits() const
Definition: PHGCSimAccumulator.h:54
PHGCSimAccumulator::SimHitCollection::chargeArray
const std::vector< unsigned short > & chargeArray() const
Definition: PHGCSimAccumulator.h:56
PHGCSimAccumulator::SimHitCollection::sampleIndex
unsigned int sampleIndex() const
Definition: PHGCSimAccumulator.h:55
PHGCSimAccumulator::TmpElem::detId
unsigned int detId() const
Definition: PHGCSimAccumulator.h:93