CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
digitizerUtility::SimHitInfo Class Reference

#include <DigitizerUtility.h>

Public Member Functions

EncodedEventId eventId () const
 
uint32_t hitIndex () const
 
 SimHitInfo (const PSimHit *hitp, float corrTime, size_t hitIndex, uint32_t tofBin)
 
float time () const
 
uint32_t tofBin () const
 
uint32_t trackId () const
 

Private Attributes

EncodedEventId eventId_
 
uint32_t hitIndex_
 
float time_
 
uint32_t tofBin_
 
uint32_t trackId_
 

Detailed Description

Definition at line 15 of file DigitizerUtility.h.

Constructor & Destructor Documentation

◆ SimHitInfo()

digitizerUtility::SimHitInfo::SimHitInfo ( const PSimHit hitp,
float  corrTime,
size_t  hitIndex,
uint32_t  tofBin 
)
inline

Definition at line 17 of file DigitizerUtility.h.

18  : eventId_(hitp->eventId()), trackId_(hitp->trackId()), hitIndex_(hitIndex), tofBin_(tofBin), time_(corrTime) {}
unsigned int trackId() const
Definition: PSimHit.h:106
EncodedEventId eventId() const
Definition: PSimHit.h:108

Member Function Documentation

◆ eventId()

EncodedEventId digitizerUtility::SimHitInfo::eventId ( ) const
inline

Definition at line 22 of file DigitizerUtility.h.

References eventId_.

Referenced by ntupleDataFormat.Event::eventIdStr().

22 { return eventId_; };

◆ hitIndex()

uint32_t digitizerUtility::SimHitInfo::hitIndex ( ) const
inline

Definition at line 20 of file DigitizerUtility.h.

References hitIndex_.

20 { return hitIndex_; };

◆ time()

float digitizerUtility::SimHitInfo::time ( ) const
inline

Definition at line 24 of file DigitizerUtility.h.

References time_.

Referenced by PixelDigitizerAlgorithm::isAboveThreshold().

24 { return time_; };

◆ tofBin()

uint32_t digitizerUtility::SimHitInfo::tofBin ( ) const
inline

Definition at line 21 of file DigitizerUtility.h.

References tofBin_.

21 { return tofBin_; };

◆ trackId()

uint32_t digitizerUtility::SimHitInfo::trackId ( ) const
inline

Definition at line 23 of file DigitizerUtility.h.

References trackId_.

23 { return trackId_; };

Member Data Documentation

◆ eventId_

EncodedEventId digitizerUtility::SimHitInfo::eventId_
private

Definition at line 24 of file DigitizerUtility.h.

Referenced by eventId().

◆ hitIndex_

uint32_t digitizerUtility::SimHitInfo::hitIndex_
private

Definition at line 29 of file DigitizerUtility.h.

Referenced by hitIndex().

◆ time_

float digitizerUtility::SimHitInfo::time_
private

Definition at line 31 of file DigitizerUtility.h.

Referenced by time().

◆ tofBin_

uint32_t digitizerUtility::SimHitInfo::tofBin_
private

Definition at line 30 of file DigitizerUtility.h.

Referenced by tofBin().

◆ trackId_

uint32_t digitizerUtility::SimHitInfo::trackId_
private

Definition at line 28 of file DigitizerUtility.h.

Referenced by trackId().