CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GEMDigiSimLink Class Reference

#include <GEMDigiSimLink.h>

Public Member Functions

 GEMDigiSimLink ()
 
 GEMDigiSimLink (std::pair< unsigned int, int > digi, Local3DPoint entryPoint, LocalVector momentumAtEntry, float timeOfFlight, float energyLoss, int particleType, unsigned int detUnitId, unsigned int trackId, EncodedEventId eventId, unsigned short processType)
 
int getBx () const
 
unsigned int getDetUnitId () const
 
float getEnergyLoss () const
 
Local3DPoint getEntryPoint () const
 
EncodedEventId getEventId () const
 
LocalVector getMomentumAtEntry () const
 
int getParticleType () const
 
unsigned short getProcessType () const
 
unsigned int getStrip () const
 
float getTimeOfFlight () const
 
unsigned int getTrackId () const
 
bool operator< (const GEMDigiSimLink &other) const
 
 ~GEMDigiSimLink ()
 

Private Attributes

unsigned int _detUnitId
 
std::pair< unsigned int, int > _digi
 
float _energyLoss
 
Local3DPoint _entryPoint
 
EncodedEventId _eventId
 
LocalVector _momentumAtEntry
 
int _particleType
 
unsigned short _processType
 
float _timeOfFlight
 
unsigned int _trackId
 

Detailed Description

Definition at line 9 of file GEMDigiSimLink.h.

Constructor & Destructor Documentation

◆ GEMDigiSimLink() [1/2]

GEMDigiSimLink::GEMDigiSimLink ( std::pair< unsigned int, int >  digi,
Local3DPoint  entryPoint,
LocalVector  momentumAtEntry,
float  timeOfFlight,
float  energyLoss,
int  particleType,
unsigned int  detUnitId,
unsigned int  trackId,
EncodedEventId  eventId,
unsigned short  processType 
)
inline

◆ GEMDigiSimLink() [2/2]

GEMDigiSimLink::GEMDigiSimLink ( )
inline

Definition at line 33 of file GEMDigiSimLink.h.

33 { ; }

◆ ~GEMDigiSimLink()

GEMDigiSimLink::~GEMDigiSimLink ( )
inline

Definition at line 35 of file GEMDigiSimLink.h.

35 { ; }

Member Function Documentation

◆ getBx()

int GEMDigiSimLink::getBx ( ) const
inline

Definition at line 38 of file GEMDigiSimLink.h.

38 { return _digi.second; }

References _digi.

◆ getDetUnitId()

unsigned int GEMDigiSimLink::getDetUnitId ( ) const
inline

Definition at line 44 of file GEMDigiSimLink.h.

44 { return _detUnitId; }

References _detUnitId.

◆ getEnergyLoss()

float GEMDigiSimLink::getEnergyLoss ( ) const
inline

Definition at line 42 of file GEMDigiSimLink.h.

42 { return _energyLoss; }

References _energyLoss.

◆ getEntryPoint()

Local3DPoint GEMDigiSimLink::getEntryPoint ( ) const
inline

Definition at line 39 of file GEMDigiSimLink.h.

39 { return _entryPoint; }

References _entryPoint.

◆ getEventId()

EncodedEventId GEMDigiSimLink::getEventId ( ) const
inline

Definition at line 46 of file GEMDigiSimLink.h.

46 { return _eventId; }

References _eventId.

◆ getMomentumAtEntry()

LocalVector GEMDigiSimLink::getMomentumAtEntry ( ) const
inline

Definition at line 40 of file GEMDigiSimLink.h.

40 { return _momentumAtEntry; }

References _momentumAtEntry.

◆ getParticleType()

int GEMDigiSimLink::getParticleType ( ) const
inline

Definition at line 43 of file GEMDigiSimLink.h.

43 { return _particleType; }

References _particleType.

◆ getProcessType()

unsigned short GEMDigiSimLink::getProcessType ( ) const
inline

Definition at line 47 of file GEMDigiSimLink.h.

47 { return _processType; }

References _processType.

◆ getStrip()

unsigned int GEMDigiSimLink::getStrip ( ) const
inline

Definition at line 37 of file GEMDigiSimLink.h.

37 { return _digi.first; }

References _digi.

Referenced by operator<().

◆ getTimeOfFlight()

float GEMDigiSimLink::getTimeOfFlight ( ) const
inline

Definition at line 41 of file GEMDigiSimLink.h.

41 { return _timeOfFlight; }

References _timeOfFlight.

◆ getTrackId()

unsigned int GEMDigiSimLink::getTrackId ( ) const
inline

Definition at line 45 of file GEMDigiSimLink.h.

45 { return _trackId; }

References _trackId.

◆ operator<()

bool GEMDigiSimLink::operator< ( const GEMDigiSimLink other) const
inline

Definition at line 49 of file GEMDigiSimLink.h.

49 { return getStrip() < other.getStrip(); }

References getStrip(), and trackingPlots::other.

Member Data Documentation

◆ _detUnitId

unsigned int GEMDigiSimLink::_detUnitId
private

Definition at line 59 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getDetUnitId().

◆ _digi

std::pair<unsigned int, int> GEMDigiSimLink::_digi
private

Definition at line 52 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), getBx(), and getStrip().

◆ _energyLoss

float GEMDigiSimLink::_energyLoss
private

Definition at line 57 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getEnergyLoss().

◆ _entryPoint

Local3DPoint GEMDigiSimLink::_entryPoint
private

Definition at line 54 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getEntryPoint().

◆ _eventId

EncodedEventId GEMDigiSimLink::_eventId
private

Definition at line 61 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getEventId().

◆ _momentumAtEntry

LocalVector GEMDigiSimLink::_momentumAtEntry
private

Definition at line 55 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getMomentumAtEntry().

◆ _particleType

int GEMDigiSimLink::_particleType
private

Definition at line 58 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getParticleType().

◆ _processType

unsigned short GEMDigiSimLink::_processType
private

Definition at line 62 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getProcessType().

◆ _timeOfFlight

float GEMDigiSimLink::_timeOfFlight
private

Definition at line 56 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getTimeOfFlight().

◆ _trackId

unsigned int GEMDigiSimLink::_trackId
private

Definition at line 60 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getTrackId().

spr::timeOfFlight
double timeOfFlight(DetId id, const CaloGeometry *geo, bool debug=false)
Definition: CaloSimInfo.cc:17
ecal::raw::entryPoint
void entryPoint(InputDataCPU const &, InputDataGPU &, OutputDataGPU &, ScratchDataGPU &, OutputDataCPU &, ConditionsProducts const &, cudaStream_t, uint32_t const, uint32_t const)
trackingPlots.other
other
Definition: trackingPlots.py:1460
PbPb_ZMuSkimMuonDPG_cff.particleType
particleType
Definition: PbPb_ZMuSkimMuonDPG_cff.py:27
fastSimProducer_cff.energyLoss
energyLoss
Definition: fastSimProducer_cff.py:55