![]() |
Project
|
#include <DigitTime.h>
Public Types | |
using | Streamer = o2::utils::DebugStreamer |
using | PrevDigitInfoArray = std::array< PrevDigitInfo, Mapper::getPadsInSector()> |
Public Member Functions | |
DigitTime () | |
Constructor. | |
~DigitTime ()=default | |
Destructor. | |
void | reset () |
Resets the container. | |
float | getCommonMode (const GEMstack &gemstack) const |
float | getCommonMode (const CRU &cru) const |
void | addDigit (const MCCompLabel &label, const CRU &cru, GlobalPadNumber globalPad, float signal) |
template<DigitzationMode MODE> | |
void | fillOutputContainer (std::vector< Digit > &output, dataformats::MCTruthContainer< MCCompLabel > &mcTruth, std::vector< CommonMode > &commonModeOutput, const Sector §or, TimeBin timeBin, PrevDigitInfoArray *prevTime=nullptr, Streamer *debugStream=nullptr, const CalPad *itParams[2]=nullptr, const CalDet< bool > *deadMap=nullptr) |
template<DigitzationMode MODE> | |
void | fillOutputContainer (std::vector< Digit > &output, dataformats::MCTruthContainer< MCCompLabel > &mcTruth, std::vector< CommonMode > &commonModeOutput, const Sector §or, TimeBin timeBin, PrevDigitInfoArray *prevTime, Streamer *debugStream, const CalPad *padParams[3], const CalDet< bool > *deadMap) |
This is the second class of the intermediate Digit Containers, in which all incoming electrons from the hits are sorted into after amplification The structure assures proper sorting of the Digits when later on written out for further processing. This class holds the individual Pad Row containers and is contained within the CRU Container.
Definition at line 37 of file DigitTime.h.
using o2::tpc::DigitTime::PrevDigitInfoArray = std::array<PrevDigitInfo, Mapper::getPadsInSector()> |
Definition at line 41 of file DigitTime.h.
Definition at line 40 of file DigitTime.h.
|
inline |
Constructor.
Definition at line 93 of file DigitTime.h.
|
default |
Destructor.
|
inline |
Add digit to the row container
eventID | MC Event ID |
trackID | MC Track ID |
cru | CRU of the digit |
globalPad | Global pad number of the digit |
signal | Charge of the digit in ADC counts |
Definition at line 99 of file DigitTime.h.
|
inline |
Definition at line 130 of file DigitTime.h.
void o2::tpc::DigitTime::fillOutputContainer | ( | std::vector< Digit > & | output, |
dataformats::MCTruthContainer< MCCompLabel > & | mcTruth, | ||
std::vector< CommonMode > & | commonModeOutput, | ||
const Sector & | sector, | ||
TimeBin | timeBin, | ||
PrevDigitInfoArray * | prevTime = nullptr , |
||
Streamer * | debugStream = nullptr , |
||
const CalPad * | itParams[2] = nullptr , |
||
const CalDet< bool > * | deadMap = nullptr |
||
) |
|
inline |
|
inline |
Get common mode for a given GEM stack
gemstack | GEM stack of the digit |
simple case when there is no external capacitance on the ROC
Definition at line 121 of file DigitTime.h.
|
inline |
Resets the container.
Definition at line 113 of file DigitTime.h.