CbmRoot
Loading...
Searching...
No Matches
CbmL1HitId Class Reference

#include <CbmL1Hit.h>

Public Member Functions

 CbmL1HitId ()=default
 
 CbmL1HitId (int det, int index)
 
std::string ToString (bool header=false) const
 String representation of class object.
 

Public Attributes

int detId = -1
 detector ID
 
int hitId = -1
 index of hit in the TClonesArray array
 

Detailed Description

Identificator for cbm hits with their detector and index in cbm arrays

Definition at line 21 of file CbmL1Hit.h.

Constructor & Destructor Documentation

◆ CbmL1HitId() [1/2]

CbmL1HitId::CbmL1HitId ( )
default

◆ CbmL1HitId() [2/2]

CbmL1HitId::CbmL1HitId ( int det,
int index )
inline

Definition at line 24 of file CbmL1Hit.h.

Member Function Documentation

◆ ToString()

std::string CbmL1HitId::ToString ( bool header = false) const
inline

String representation of class object.

Parameters
headerIf true, header will be printed

Definition at line 28 of file CbmL1Hit.h.

References detId, and hitId.

Member Data Documentation

◆ detId

int CbmL1HitId::detId = -1

detector ID

Definition at line 42 of file CbmL1Hit.h.

Referenced by ToString().

◆ hitId

int CbmL1HitId::hitId = -1

index of hit in the TClonesArray array

Definition at line 43 of file CbmL1Hit.h.

Referenced by ToString().


The documentation for this class was generated from the following file: