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

Member Function Documentation

◆ eventId()

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

Definition at line 21 of file DigitizerUtility.h.

21 { return eventId_; };

References eventId_.

Referenced by ntupleDataFormat.Event::eventIdStr().

◆ hitIndex()

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

Definition at line 19 of file DigitizerUtility.h.

19 { return hitIndex_; };

References hitIndex_.

◆ time()

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

Definition at line 23 of file DigitizerUtility.h.

23 { return time_; };

References time_.

Referenced by PixelDigitizerAlgorithm::isAboveThreshold().

◆ tofBin()

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

Definition at line 20 of file DigitizerUtility.h.

20 { return tofBin_; };

References tofBin_.

◆ trackId()

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

Definition at line 22 of file DigitizerUtility.h.

22 { return trackId_; };

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

DigitizerUtility::SimHitInfo::time_
float time_
Definition: DigitizerUtility.h:30
DigitizerUtility::SimHitInfo::hitIndex
uint32_t hitIndex() const
Definition: DigitizerUtility.h:19
PSimHit::eventId
EncodedEventId eventId() const
Definition: PSimHit.h:108
DigitizerUtility::SimHitInfo::tofBin
uint32_t tofBin() const
Definition: DigitizerUtility.h:20
DigitizerUtility::SimHitInfo::hitIndex_
uint32_t hitIndex_
Definition: DigitizerUtility.h:28
DigitizerUtility::SimHitInfo::trackId_
uint32_t trackId_
Definition: DigitizerUtility.h:27
DigitizerUtility::SimHitInfo::eventId_
EncodedEventId eventId_
Definition: DigitizerUtility.h:23
PSimHit::trackId
unsigned int trackId() const
Definition: PSimHit.h:106
DigitizerUtility::SimHitInfo::tofBin_
uint32_t tofBin_
Definition: DigitizerUtility.h:29