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 14 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 16 of file DigitizerUtility.h.

17  : 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 21 of file DigitizerUtility.h.

References eventId_.

Referenced by ntupleDataFormat.Event::eventIdStr().

21 { return eventId_; };

◆ hitIndex()

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

Definition at line 19 of file DigitizerUtility.h.

References hitIndex_.

19 { return hitIndex_; };

◆ time()

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

Definition at line 23 of file DigitizerUtility.h.

References time_.

Referenced by PixelDigitizerAlgorithm::isAboveThreshold().

23 { return time_; };

◆ tofBin()

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

Definition at line 20 of file DigitizerUtility.h.

References tofBin_.

20 { return tofBin_; };

◆ trackId()

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

Definition at line 22 of file DigitizerUtility.h.

References trackId_.

22 { return trackId_; };

Member Data Documentation

◆ eventId_

EncodedEventId DigitizerUtility::SimHitInfo::eventId_
private

Definition at line 23 of file DigitizerUtility.h.

Referenced by eventId().

◆ hitIndex_

uint32_t DigitizerUtility::SimHitInfo::hitIndex_
private

Definition at line 28 of file DigitizerUtility.h.

Referenced by hitIndex().

◆ time_

float DigitizerUtility::SimHitInfo::time_
private

Definition at line 30 of file DigitizerUtility.h.

Referenced by time().

◆ tofBin_

uint32_t DigitizerUtility::SimHitInfo::tofBin_
private

Definition at line 29 of file DigitizerUtility.h.

Referenced by tofBin().

◆ trackId_

uint32_t DigitizerUtility::SimHitInfo::trackId_
private

Definition at line 27 of file DigitizerUtility.h.

Referenced by trackId().