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

#include <CbmTrdDigitizer.h>

Inheritance diagram for CbmTrdDigitizer:
[legend]
Collaboration diagram for CbmTrdDigitizer:
[legend]

Public Types

enum  CbmTrdSimDef { kTime = 0 , kNoise , kWeightDistance , kFASP }
 
typedef std::pair< std::unique_ptr< CbmTrdDigi >, std::unique_ptr< CbmMatch > > Data
 Short for data to be handled (pair of digi and match)
 

Public Member Functions

 CbmTrdDigitizer (std::shared_ptr< CbmTrdRadiator > radiator=nullptr)
 Constructor.
 
 CbmTrdDigitizer (CbmTrdRadiator *radiator)
 Constructor.
 
virtual ~CbmTrdDigitizer ()
 Destructor.
 
ECbmModuleId GetSystemId () const
 Detector system ID.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void SetParContainers ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
Bool_t CheckOutput ()
 Check the output for being time-sorted.
 
Double_t GetLatency () const
 Return the detector specific latency @value latency.
 
void ClearOutput ()
 Clear the output arrays.
 
ULong64_t FillTimeSlice (CbmTimeSlice *timeSlice)
 Move data from the DaqBuffer into the current time slice.
 
ULong64_t FillTimeSlice (CbmTimeSlice *timeSlice, Double_t fillTime)
 Move data from the DaqBuffer into the current time slice.
 
ULong64_t GetDaqBufferSize () const
 Size of DAQ buffer @value Number of data in the DAQ buffer.
 
std::string GetDaqBufferStatus () const
 Debug output of DAQ buffer status @value String with status of DAQ buffer.
 
Double_t GetDaqBufferTimeFirst () const
 Time stamp of first data in the DAQ buffer @value Time stamp of first data in the DAQ buffer.
 
Double_t GetDaqBufferTimeLast () const
 Time stamp of last data in the DAQ buffer @value Time stamp of last data in the DAQ buffer.
 
void RegisterOutput ()
 Register the output arrays.
 
void SendData (Double_t time, CbmTrdDigi *digi, CbmMatch *match=nullptr)
 Send a digi and the corresponding match object to the DAQ.
 
virtual void FillCustomData (Double_t, Bool_t=kTRUE)
 Fill custom data into time slice.
 
void GetEventInfo ()
 Get event information.
 
Double_t GetEventTime () const
 Current event time @value Start time of current event [ns].
 
void SetCreateMatches (Bool_t choice=kTRUE)
 Set creation of links to MC.
 
void SetEventMode (Bool_t choice=kTRUE)
 Set event-by-event mode.
 
void SetInactiveChannelFile (const char *fileName)
 Set the file containing the list of inactive channels.
 
void SetProduceNoise (Bool_t choice=kTRUE)
 Set production of inter-event noise.
 
void SetRunStartTime (Double_t time)
 Set the run start time.
 

Static Public Member Functions

static Bool_t AddNoise ()
 
static Bool_t IsTimeBased ()
 
static Bool_t UseWeightedDist ()
 
static Bool_t UseFASP ()
 
static void SetAddNoise (Bool_t set=kTRUE)
 
static void SetUseFASP (Bool_t set=kTRUE)
 
static void SetTimeBased (Bool_t set=kTRUE)
 
static void SetWeightedDist (Bool_t set=kTRUE)
 

Protected Member Functions

virtual std::pair< size_t, bool > ReadInactiveChannels ()
 Set of inactive channels, indicated by CbmAddress.
 

Protected Attributes

Bool_t fEventMode
 
Bool_t fProduceNoise
 Flag for event-by-event mode.
 
Bool_t fCreateMatches
 Flag for production of inter-event noise.
 
Double_t fRunStartTime = 0
 Flag for creation of links to MC.
 
Int_t fCurrentInput
 Start time of run [ns].
 
Int_t fCurrentEvent
 Number of current input.
 
Int_t fCurrentMCEntry
 Number of current MC event.
 
Double_t fCurrentEventTime
 Number of current MC entry.
 
TString fInactiveChannelFileName = ""
 Time of current MC event [ns].
 
std::set< uint32_t > fInactiveChannels = {}
 Name of file with inactive channels.
 

Private Member Functions

 CbmTrdDigitizer (const CbmTrdDigitizer &)
 
CbmTrdDigitizeroperator= (const CbmTrdDigitizer &)
 
void FlushBuffers ()
 Flush local digi buffers to CbmDaqBuffer.
 
CbmTrdModuleSimAddModule (Int_t detId)
 Create module for current MC point.
 
void ResetCounters ()
 Recursive reset all private monitoring counters.
 
virtual void ResetArrays ()
 Clear data arrays.
 
 ClassDef (CbmTrdDigitizer, 1)
 
ULong64_t FillTimeSlice (CbmTimeSlice *timeSlice, Bool_t checkLimit, Double_t fillTime)
 Move data from the DaqBuffer into the current time slice.
 
bool IsChannelActive (const CbmTrdDigi &digi)
 Test if the channel of a digi object is set active.
 

Private Attributes

Double_t fLastEventTime
 time of last event [ns]
 
Int_t fpoints
 
Int_t nofBackwardTracks
 
Float_t fEfficiency
 Digi production efficiency [0..1].
 
TClonesArray * fPoints
 Trd MC points.
 
TClonesArray * fTracks
 MC Track information.
 
std::vector< CbmTrdDigi > * fDigis
 Output CbmTrdDigi array.
 
std::vector< CbmMatch > * fDigiMatches
 Output CbmMatch array.
 
CbmTrdParSetAsicfAsicPar
 parameter list for ASIC characterization
 
CbmTrdParSetGasfGasPar
 parameter list for HV status
 
CbmTrdParSetDigifDigiPar
 parameter list for read-out geometry
 
CbmTrdParSetGainfGainPar
 parameter list for keV->ADC gain conversion
 
CbmTrdParSetGeofGeoPar
 parameter list for geometry definitions
 
std::shared_ptr< CbmTrdRadiatorfRadiator = nullptr
 parametrization of radiator TR yield
 
std::shared_ptr< CbmTrdRadiatorfRadiator2D = nullptr
 parametrization of 2D radiator TR yield
 
CbmTrdRawToDigiRfConverter
 
CbmTrdCheckUtilfQA
 
std::map< Int_t, CbmTrdModuleSim * > fModuleMap
 list of modules being processed
 
std::map< Int_t, std::pair< CbmTrdDigi *, CbmMatch * > > fDigiMap
 
TString fBranchName
 Output branch name.
 
std::vector< CbmMatch > * fMatches
 Output array (Digi)
 
std::multimap< double, DatafDaqBuffer
 Output array (CbmMatch)
 

Static Private Attributes

static Int_t fConfig = 0
 Configuration map for the digitizer. See CbmTrdSimDef for details.
 

Detailed Description

Definition at line 42 of file CbmTrdDigitizer.h.

Member Typedef Documentation

◆ Data

std::pair<std::unique_ptr<CbmTrdDigi>, std::unique_ptr<CbmMatch> > CbmDigitize< CbmTrdDigi >::Data
inherited

Short for data to be handled (pair of digi and match)

Definition at line 48 of file CbmDigitize.h.

Member Enumeration Documentation

◆ CbmTrdSimDef

Enumerator
kTime 

select Time based/Event by event simulations

kNoise 

switch noise digits generation

kWeightDistance 

use weighting distance for link generation

kFASP 

use FASP ASIC for triangular pad plane geometry

Definition at line 44 of file CbmTrdDigitizer.h.

Constructor & Destructor Documentation

◆ CbmTrdDigitizer() [1/3]

CbmTrdDigitizer::CbmTrdDigitizer ( std::shared_ptr< CbmTrdRadiator > radiator = nullptr)

Constructor.

Parameters
[in]radiatorTRD radiator to be used in digitization.

◆ CbmTrdDigitizer() [2/3]

CbmTrdDigitizer::CbmTrdDigitizer ( CbmTrdRadiator * radiator)

Constructor.

Parameters
[in]radiatorTRD radiator to be used in digitization.
Remarks
This is needed for backward compatibility with macros not using smart pointers.

Definition at line 84 of file CbmTrdDigitizer.cxx.

◆ ~CbmTrdDigitizer()

CbmTrdDigitizer::~CbmTrdDigitizer ( )
virtual

Destructor.

Definition at line 89 of file CbmTrdDigitizer.cxx.

References fConverter, fDigiMatches, fDigis, fModuleMap, fQA, and ResetArrays().

◆ CbmTrdDigitizer() [3/3]

CbmTrdDigitizer::CbmTrdDigitizer ( const CbmTrdDigitizer & )
private

Member Function Documentation

◆ AddModule()

CbmTrdModuleSim * CbmTrdDigitizer::AddModule ( Int_t detId)
private

Create module for current MC point.

Parameters
[in]detIdunique identifier of module.
Returns
pointer to newly created module

The geometry structure is treelike with cave as the top node. For the TRD there are keeping volume trd_vXXy_1 which is only container for the different layers. The trd layer is again only a container for all volumes of this layer. Loop over all nodes below the top node (cave). If one of the nodes contains a string trd it must be TRD detector. Now loop over the layers and then over all modules of the layer to extract in the end all active regions (gas) of the complete TRD. For each of the gas volumes get the information about size and position from the geomanager and the sizes of the sectors and pads from the definitions in CbmTrdPads. This info is then stored in a CbmTrdModule object for each of the TRD modules.

Definition at line 288 of file CbmTrdDigitizer.cxx.

References fAsicPar, fDigiPar, fGainPar, fGasPar, fGeoPar, fRadiator, fRadiator2D, CbmTrdAddress::GetLayerId(), CbmTrdGeoHandler::GetModuleAddress(), CbmTrdGeoHandler::GetModuleOrientation(), CbmTrdParSet::GetModulePar(), CbmTrdGeoHandler::GetModuleType(), CbmTrdParModDigi::GetPadPlaneType(), CbmTrdModuleAbstract::GetPath(), CbmTrdGeoHandler::GetRadiatorType(), CbmTrdParModDigi::IsPadPlane2D(), and SetUseFASP().

Referenced by Exec().

◆ AddNoise()

static Bool_t CbmTrdDigitizer::AddNoise ( )
inlinestatic

◆ CheckOutput()

Bool_t CbmDigitize< CbmTrdDigi >::CheckOutput ( )
inlinevirtualinherited

Check the output for being time-sorted.

Implements CbmDigitizeBase.

Definition at line 67 of file CbmDigitize.h.

◆ ClassDef()

CbmTrdDigitizer::ClassDef ( CbmTrdDigitizer ,
1  )
private

◆ ClearOutput()

void CbmDigitize< CbmTrdDigi >::ClearOutput ( )
inlinevirtualinherited

Clear the output arrays.

Implements CbmDigitizeBase.

Definition at line 96 of file CbmDigitize.h.

◆ Exec()

◆ FillCustomData()

virtual void CbmDigitizeBase::FillCustomData ( Double_t ,
Bool_t = kTRUE )
inlinevirtualinherited

Fill custom data into time slice.

Parameters
fillTimeTime until data can be filled
limitIf kTRUE, only data up to fillTime will be treated; otherwise, all.

This method allows the digitizer to implement additional functionality than writing digis and match objects. It will be called from CbmDaq.

Definition at line 75 of file CbmDigitizeBase.h.

◆ FillTimeSlice() [1/3]

ULong64_t CbmDigitize< CbmTrdDigi >::FillTimeSlice ( CbmTimeSlice * timeSlice)
inlinevirtualinherited

Move data from the DaqBuffer into the current time slice.

Parameters
timeSlicePointer to current time slice object @value Number of digi objects filled into the time slice.

For regular time slices, all data with time stamp within the interval of the current time slice are moved from the buffer to the time slice. For time slices of type kFlexible or kEvent, all data will be moved.

Implements CbmDigitizeBase.

Definition at line 114 of file CbmDigitize.h.

◆ FillTimeSlice() [2/3]

ULong64_t CbmDigitize< CbmTrdDigi >::FillTimeSlice ( CbmTimeSlice * timeSlice,
Bool_t checkLimit,
Double_t fillTime )
inlineprivateinherited

Move data from the DaqBuffer into the current time slice.

Parameters
timeSlicePointer to current time slice object
fillTimeTime up to which data will be moved [ns] @value Number of digi objects filled into the time slice.

For regular time slices, all data with time stamp within the interval of the current time slice are moved from the buffer to the time slice. For time slices of type kFlexible or kEvent, all data will be moved.

If checkLimit is selected, only data with time stamp less than fillTime are moved.

Definition at line 273 of file CbmDigitize.h.

◆ FillTimeSlice() [3/3]

ULong64_t CbmDigitize< CbmTrdDigi >::FillTimeSlice ( CbmTimeSlice * timeSlice,
Double_t fillTime )
inlinevirtualinherited

Move data from the DaqBuffer into the current time slice.

Parameters
timeSlicePointer to current time slice object
fillTimeTime up to which data will be moved [ns] @value Number of digi objects filled into the time slice.

Move data with time stamp up to fillTime from the buffer to the time slice. For regular time slices, only data with time stamp within the time slice interval will be moved. For time slices of type kFlexible or kEvent, all data up to fillTime will be moved.

Implements CbmDigitizeBase.

Definition at line 129 of file CbmDigitize.h.

◆ Finish()

void CbmTrdDigitizer::Finish ( )
virtual

Inherited from FairTask.

Definition at line 275 of file CbmTrdDigitizer.cxx.

References CbmTrdCheckUtil::DumpPlots(), FlushBuffers(), fQA, and IsTimeBased().

◆ FlushBuffers()

void CbmTrdDigitizer::FlushBuffers ( )
private

Flush local digi buffers to CbmDaqBuffer.

Definition at line 256 of file CbmTrdDigitizer.cxx.

References fModuleMap, CbmTrdDigi::GetTime(), and CbmDigitize< CbmTrdDigi >::SendData().

Referenced by Finish().

◆ GetDaqBufferSize()

ULong64_t CbmDigitize< CbmTrdDigi >::GetDaqBufferSize ( ) const
inlinevirtualinherited

Size of DAQ buffer @value Number of data in the DAQ buffer.

Implements CbmDigitizeBase.

Definition at line 140 of file CbmDigitize.h.

◆ GetDaqBufferStatus()

std::string CbmDigitize< CbmTrdDigi >::GetDaqBufferStatus ( ) const
inlinevirtualinherited

Debug output of DAQ buffer status @value String with status of DAQ buffer.

Implements CbmDigitizeBase.

Definition at line 148 of file CbmDigitize.h.

◆ GetDaqBufferTimeFirst()

Double_t CbmDigitize< CbmTrdDigi >::GetDaqBufferTimeFirst ( ) const
inlinevirtualinherited

Time stamp of first data in the DAQ buffer @value Time stamp of first data in the DAQ buffer.

Implements CbmDigitizeBase.

Definition at line 162 of file CbmDigitize.h.

◆ GetDaqBufferTimeLast()

Double_t CbmDigitize< CbmTrdDigi >::GetDaqBufferTimeLast ( ) const
inlinevirtualinherited

Time stamp of last data in the DAQ buffer @value Time stamp of last data in the DAQ buffer.

Implements CbmDigitizeBase.

Definition at line 174 of file CbmDigitize.h.

◆ GetEventInfo()

void CbmDigitizeBase::GetEventInfo ( )
inherited

Get event information.

MC input number, entry number and event time are taken from FairEventHeader and stored in the private data members for convenience. Note that the MC entry number need not coincide with the event number, for instance if the run does not start with the first MC entry, or in the case of mixed MC inputs to digitization.

Definition at line 57 of file CbmDigitizeBase.cxx.

References CbmDigitizeBase::fCurrentEvent, CbmDigitizeBase::fCurrentEventTime, CbmDigitizeBase::fCurrentInput, and CbmDigitizeBase::fCurrentMCEntry.

Referenced by CbmBmonDigitize::Exec(), CbmFsdDigitize::Exec(), CbmMuchDigitizeGem::Exec(), CbmMvdDigitizer::Exec(), CbmPsdSimpleDigitizer::Exec(), CbmRichDigitizer::Exec(), CbmStsDigitize::Exec(), CbmStsDigitizePixel::Exec(), CbmTofDigitize::Exec(), and Exec().

◆ GetEventTime()

Double_t CbmDigitizeBase::GetEventTime ( ) const
inlineinherited

Current event time @value Start time of current event [ns].

Definition at line 113 of file CbmDigitizeBase.h.

References CbmDigitizeBase::fCurrentEventTime.

◆ GetLatency()

Double_t CbmDigitize< CbmTrdDigi >::GetLatency ( ) const
inlinevirtualinherited

Return the detector specific latency @value latency.

If there is no detector sopecific implementation the return value is 0. which does not change the default value set in CbmDaq.

Implements CbmDigitizeBase.

Definition at line 92 of file CbmDigitize.h.

◆ GetSystemId()

ECbmModuleId CbmTrdDigitizer::GetSystemId ( ) const
inlinevirtual

Detector system ID.

Returns
Detector system ID [ECbmModuleId]

Implements CbmDigitizeBase.

Definition at line 75 of file CbmTrdDigitizer.h.

References kTrd.

◆ Init()

◆ IsChannelActive()

bool CbmDigitize< CbmTrdDigi >::IsChannelActive ( const CbmTrdDigi & digi)
inlineprivateinherited

Test if the channel of a digi object is set active.

Parameters
digiobject
Returns
.true. if the respective channel is active

Definition at line 350 of file CbmDigitize.h.

◆ IsTimeBased()

static Bool_t CbmTrdDigitizer::IsTimeBased ( )
inlinestatic

◆ operator=()

CbmTrdDigitizer & CbmTrdDigitizer::operator= ( const CbmTrdDigitizer & )
private

◆ ReadInactiveChannels()

std::pair< size_t, bool > CbmDigitizeBase::ReadInactiveChannels ( )
protectedvirtualinherited

Set of inactive channels, indicated by CbmAddress.

Read the list of inactive channels from file

Parameters
fileNameFile name
Returns
Number of channels read from file, success of file reading

Reading from the file will stop when a read error occurs. In that case, or when the file could not be opened at all, the success flag will be .false.

Reimplemented in CbmStsDigitize.

Definition at line 80 of file CbmDigitizeBase.cxx.

References CbmDigitizeBase::fInactiveChannelFileName, and CbmDigitizeBase::fInactiveChannels.

Referenced by CbmBmonDigitize::Init(), CbmMuchDigitizeGem::Init(), CbmMvdDigitizer::Init(), CbmPsdSimpleDigitizer::Init(), CbmRichDigitizer::Init(), CbmTofDigitize::Init(), and Init().

◆ RegisterOutput()

void CbmDigitize< CbmTrdDigi >::RegisterOutput ( )
inlineinherited

Register the output arrays.

Arrays for the digis and the match objects will be created and registered as output to the ROOT tree. The current implementation uses std::vector as container.

Definition at line 189 of file CbmDigitize.h.

Referenced by Init().

◆ ResetArrays()

void CbmTrdDigitizer::ResetArrays ( )
privatevirtual

Clear data arrays.

Definition at line 438 of file CbmTrdDigitizer.cxx.

References fDigiMatches, and fDigis.

Referenced by ~CbmTrdDigitizer().

◆ ResetCounters()

void CbmTrdDigitizer::ResetCounters ( )
private

Recursive reset all private monitoring counters.

Loop over modules and calls ResetCounters on each

Definition at line 427 of file CbmTrdDigitizer.cxx.

References fModuleMap, fpoints, and nofBackwardTracks.

Referenced by Exec().

◆ SendData()

void CbmDigitize< CbmTrdDigi >::SendData ( Double_t time,
CbmTrdDigi * digi,
CbmMatch * match = nullptr )
inlineinherited

Send a digi and the corresponding match object to the DAQ.

Parameters
timeGlobal time of the digi
digiPointer to digi object (template parameter)
matchPointer to match object

Time is passed as a seperate parameter because the global time might be too large for some digi classes to store internally. So digis are not required to have a valid timestamp at this point. Later on when the time slices are known, the timestamp is overwritten with the relative time to the beginning of the time slice.

TODO: The interface should be unique pointers, meaning that the digitisers have to create objects by unique pointers from the start.

Definition at line 237 of file CbmDigitize.h.

Referenced by Exec(), and FlushBuffers().

◆ SetAddNoise()

static void CbmTrdDigitizer::SetAddNoise ( Bool_t set = kTRUE)
inlinestatic

Definition at line 97 of file CbmTrdDigitizer.h.

References CLRBIT, fConfig, kNoise, and SETBIT.

◆ SetCreateMatches()

void CbmDigitizeBase::SetCreateMatches ( Bool_t choice = kTRUE)
inlineinherited

Set creation of links to MC.

Parameters
ChoiceIf kTRUE, the match objects will be created

Definition at line 154 of file CbmDigitizeBase.h.

References CbmDigitizeBase::fCreateMatches.

Referenced by CbmStsDigitizePixel::Init(), and CbmDigitization::Run().

◆ SetEventMode()

void CbmDigitizeBase::SetEventMode ( Bool_t choice = kTRUE)
inlineinherited

Set event-by-event mode.

Parameters
ChoiceIf kTRUE, the digitizer will run in event-by-event mode

Definition at line 160 of file CbmDigitizeBase.h.

References CbmDigitizeBase::fEventMode.

Referenced by CbmDigitization::Run().

◆ SetInactiveChannelFile()

void CbmDigitizeBase::SetInactiveChannelFile ( const char * fileName)
inlineinherited

Set the file containing the list of inactive channels.

Parameters
fileNameName of file

Channels are identified by their CbmAddress. The file must contain a list of addresses, one per line. Comments after the address are allowed if separated by a blank.

Definition at line 169 of file CbmDigitizeBase.h.

References CbmDigitizeBase::fInactiveChannelFileName.

◆ SetParContainers()

void CbmTrdDigitizer::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 104 of file CbmTrdDigitizer.cxx.

References fAsicPar, fDigiPar, fGainPar, fGasPar, and fGeoPar.

◆ SetProduceNoise()

void CbmDigitizeBase::SetProduceNoise ( Bool_t choice = kTRUE)
inlineinherited

Set production of inter-event noise.

Parameters
ChoiceIf kTRUE, the digitizer will produce noise

Definition at line 175 of file CbmDigitizeBase.h.

References CbmDigitizeBase::fProduceNoise.

Referenced by CbmDigitization::Run().

◆ SetRunStartTime()

void CbmDigitizeBase::SetRunStartTime ( Double_t time)
inlineinherited

Set the run start time.

Parameters
Runstart time [ns]

Definition at line 181 of file CbmDigitizeBase.h.

References CbmDigitizeBase::fRunStartTime.

Referenced by CbmDigitization::Run().

◆ SetTimeBased()

static void CbmTrdDigitizer::SetTimeBased ( Bool_t set = kTRUE)
inlinestatic

Definition at line 99 of file CbmTrdDigitizer.h.

References CLRBIT, fConfig, kTime, and SETBIT.

Referenced by Init().

◆ SetUseFASP()

static void CbmTrdDigitizer::SetUseFASP ( Bool_t set = kTRUE)
inlinestatic

Definition at line 98 of file CbmTrdDigitizer.h.

References CLRBIT, fConfig, kFASP, and SETBIT.

Referenced by AddModule().

◆ SetWeightedDist()

static void CbmTrdDigitizer::SetWeightedDist ( Bool_t set = kTRUE)
inlinestatic

Definition at line 100 of file CbmTrdDigitizer.h.

References CLRBIT, fConfig, kWeightDistance, and SETBIT.

◆ UseFASP()

static Bool_t CbmTrdDigitizer::UseFASP ( )
inlinestatic

Definition at line 72 of file CbmTrdDigitizer.h.

References fConfig, kFASP, and TESTBIT.

◆ UseWeightedDist()

static Bool_t CbmTrdDigitizer::UseWeightedDist ( )
inlinestatic

Member Data Documentation

◆ fAsicPar

CbmTrdParSetAsic* CbmTrdDigitizer::fAsicPar
private

parameter list for ASIC characterization

Definition at line 143 of file CbmTrdDigitizer.h.

Referenced by AddModule(), and SetParContainers().

◆ fBranchName

TString CbmDigitize< CbmTrdDigi >::fBranchName
privateinherited

Output branch name.

Definition at line 248 of file CbmDigitize.h.

◆ fConfig

Int_t CbmTrdDigitizer::fConfig = 0
staticprivate

Configuration map for the digitizer. See CbmTrdSimDef for details.

Definition at line 127 of file CbmTrdDigitizer.h.

Referenced by AddNoise(), IsTimeBased(), SetAddNoise(), SetTimeBased(), SetUseFASP(), SetWeightedDist(), UseFASP(), and UseWeightedDist().

◆ fConverter

CbmTrdRawToDigiR* CbmTrdDigitizer::fConverter
private

Definition at line 153 of file CbmTrdDigitizer.h.

Referenced by Init(), and ~CbmTrdDigitizer().

◆ fCreateMatches

◆ fCurrentEvent

◆ fCurrentEventTime

◆ fCurrentInput

◆ fCurrentMCEntry

◆ fDaqBuffer

std::multimap<double, Data> CbmDigitize< CbmTrdDigi >::fDaqBuffer
privateinherited

Output array (CbmMatch)

DAQ buffer. Here, the digis and matches are buffered until they are filled into the time slice output (ROOT branch). The map key is the digi time.

Definition at line 257 of file CbmDigitize.h.

◆ fDigiMap

std::map<Int_t, std::pair<CbmTrdDigi*, CbmMatch*> > CbmTrdDigitizer::fDigiMap
private

Definition at line 160 of file CbmTrdDigitizer.h.

◆ fDigiMatches

std::vector<CbmMatch>* CbmTrdDigitizer::fDigiMatches
private

Output CbmMatch array.

Definition at line 141 of file CbmTrdDigitizer.h.

Referenced by ResetArrays(), and ~CbmTrdDigitizer().

◆ fDigiPar

CbmTrdParSetDigi* CbmTrdDigitizer::fDigiPar
private

parameter list for read-out geometry

Definition at line 145 of file CbmTrdDigitizer.h.

Referenced by AddModule(), and SetParContainers().

◆ fDigis

std::vector<CbmTrdDigi>* CbmTrdDigitizer::fDigis
private

Output CbmTrdDigi array.

Definition at line 140 of file CbmTrdDigitizer.h.

Referenced by ResetArrays(), and ~CbmTrdDigitizer().

◆ fEfficiency

Float_t CbmTrdDigitizer::fEfficiency
private

Digi production efficiency [0..1].

Definition at line 136 of file CbmTrdDigitizer.h.

◆ fEventMode

◆ fGainPar

CbmTrdParSetGain* CbmTrdDigitizer::fGainPar
private

parameter list for keV->ADC gain conversion

Definition at line 146 of file CbmTrdDigitizer.h.

Referenced by AddModule(), and SetParContainers().

◆ fGasPar

CbmTrdParSetGas* CbmTrdDigitizer::fGasPar
private

parameter list for HV status

Definition at line 144 of file CbmTrdDigitizer.h.

Referenced by AddModule(), and SetParContainers().

◆ fGeoPar

CbmTrdParSetGeo* CbmTrdDigitizer::fGeoPar
private

parameter list for geometry definitions

Definition at line 147 of file CbmTrdDigitizer.h.

Referenced by AddModule(), and SetParContainers().

◆ fInactiveChannelFileName

◆ fInactiveChannels

std::set<uint32_t> CbmDigitizeBase::fInactiveChannels = {}
protectedinherited

◆ fLastEventTime

Double_t CbmTrdDigitizer::fLastEventTime
private

time of last event [ns]

Definition at line 130 of file CbmTrdDigitizer.h.

Referenced by Exec().

◆ fMatches

std::vector<CbmMatch>* CbmDigitize< CbmTrdDigi >::fMatches
privateinherited

Output array (Digi)

Definition at line 250 of file CbmDigitize.h.

◆ fModuleMap

std::map<Int_t, CbmTrdModuleSim*> CbmTrdDigitizer::fModuleMap
private

list of modules being processed

Definition at line 157 of file CbmTrdDigitizer.h.

Referenced by Exec(), FlushBuffers(), ResetCounters(), and ~CbmTrdDigitizer().

◆ fPoints

TClonesArray* CbmTrdDigitizer::fPoints
private

Trd MC points.

Definition at line 138 of file CbmTrdDigitizer.h.

Referenced by Exec(), and Init().

◆ fpoints

Int_t CbmTrdDigitizer::fpoints
private

Definition at line 133 of file CbmTrdDigitizer.h.

Referenced by Exec(), and ResetCounters().

◆ fProduceNoise

Bool_t CbmDigitizeBase::fProduceNoise
protectedinherited

◆ fQA

CbmTrdCheckUtil* CbmTrdDigitizer::fQA
private

Definition at line 154 of file CbmTrdDigitizer.h.

Referenced by Finish(), Init(), and ~CbmTrdDigitizer().

◆ fRadiator

std::shared_ptr<CbmTrdRadiator> CbmTrdDigitizer::fRadiator = nullptr
private

parametrization of radiator TR yield

Definition at line 149 of file CbmTrdDigitizer.h.

Referenced by AddModule(), and Init().

◆ fRadiator2D

std::shared_ptr<CbmTrdRadiator> CbmTrdDigitizer::fRadiator2D = nullptr
private

parametrization of 2D radiator TR yield

Definition at line 151 of file CbmTrdDigitizer.h.

Referenced by AddModule().

◆ fRunStartTime

Double_t CbmDigitizeBase::fRunStartTime = 0
protectedinherited

Flag for creation of links to MC.

Definition at line 188 of file CbmDigitizeBase.h.

Referenced by CbmRichDigitizer::Exec(), CbmStsDigitize::Exec(), and CbmDigitizeBase::SetRunStartTime().

◆ fTracks

TClonesArray* CbmTrdDigitizer::fTracks
private

MC Track information.

Definition at line 139 of file CbmTrdDigitizer.h.

Referenced by Exec(), and Init().

◆ nofBackwardTracks

Int_t CbmTrdDigitizer::nofBackwardTracks
private

Definition at line 134 of file CbmTrdDigitizer.h.

Referenced by Exec(), and ResetCounters().


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