![]() |
Project
|
Container class for Digits, MC lebels, and trigger records. More...
#include <LZEROElectronics.h>
Public Member Functions | |
| LZEROElectronics ()=default | |
| Default constructor. | |
| ~LZEROElectronics ()=default | |
| Destructor. | |
| void | clear () |
| clear the L0 electronics | |
| void | init () |
| Initialize the L0 electronics. | |
| void | setGeometry (o2::emcal::Geometry *gm) |
| Sets geometry for trigger mapping. | |
| void | setMaskedFastOrs (std::vector< int > const &maskedfastors) |
| Sets the masked fastOrs from the CCDB in the LZERO. | |
| void | printMaskedFastOrs () |
| void | setThreshold (double threshold) |
| bool | peakFinderOnPatch (TRUElectronics &p, unsigned int patchID) |
| bool | peakFinderOnAllPatches (TRUElectronics &p) |
| void | updatePatchesADC (TRUElectronics &p) |
| void | addNoiseDigits (Digit &d1) |
| Add noise to this digit. | |
| void | fill (const std::deque< o2::emcal::DigitTimebinTRU > &digitlist, const o2::InteractionRecord record, std::vector< TRUElectronics > &patchesFromAllTRUs) |
| const std::vector< int > & | getFiredPatches (TRUElectronics const &p) const |
| const double | getLZEROThreshold () const |
| const std::vector< EMCALTriggerInputs > & | getTriggerInputs () const |
| Getter for the trigger inputs found by the LZERO algorithm. | |
| const std::vector< EMCALTriggerInputsPatch > & | getTriggerInputsPatches () const |
| Getter for the trigger inputs per patches found by the LZERO algorithm. | |
Container class for Digits, MC lebels, and trigger records.
Definition at line 62 of file LZEROElectronics.h.
|
default |
Default constructor.
|
default |
Destructor.
Add noise to this digit.
Definition at line 90 of file LZEROElectronics.cxx.
| void LZEROElectronics::clear | ( | ) |
clear the L0 electronics
Definition at line 81 of file LZEROElectronics.cxx.
| void LZEROElectronics::fill | ( | const std::deque< o2::emcal::DigitTimebinTRU > & | digitlist, |
| const o2::InteractionRecord | record, | ||
| std::vector< TRUElectronics > & | patchesFromAllTRUs | ||
| ) |
Implements the fill of the patches. Runs the peak finding, and ships to L1 in case it finds something
| digitlist | digits to be assigned to patches |
| record | interaction record time to be propagated |
| patchesFromAllTRUs | vector contained the patches of all TRUs |
Definition at line 104 of file LZEROElectronics.cxx.
|
inline |
Getter for the pattern of peaks found by the LZERO algorithm
| p | TRUElectronics object |
Definition at line 113 of file LZEROElectronics.h.
|
inline |
Definition at line 119 of file LZEROElectronics.h.
|
inline |
Getter for the trigger inputs found by the LZERO algorithm.
Definition at line 122 of file LZEROElectronics.h.
|
inline |
Getter for the trigger inputs per patches found by the LZERO algorithm.
Definition at line 129 of file LZEROElectronics.h.
| void LZEROElectronics::init | ( | ) |
Initialize the L0 electronics.
Definition at line 73 of file LZEROElectronics.cxx.
| bool LZEROElectronics::peakFinderOnAllPatches | ( | TRUElectronics & | p | ) |
Calls the peak finder algorithm on all patches
| p | TRUElectronics object |
Definition at line 58 of file LZEROElectronics.cxx.
| bool LZEROElectronics::peakFinderOnPatch | ( | TRUElectronics & | p, |
| unsigned int | patchID | ||
| ) |
Implements the peak finder algorithm on the patch
| p | TRUElectronics object |
| patchID | Patch ID to implement the peak finding algorithm |
Definition at line 33 of file LZEROElectronics.cxx.
| void LZEROElectronics::printMaskedFastOrs | ( | ) |
Definition at line 243 of file LZEROElectronics.cxx.
|
inline |
Sets geometry for trigger mapping.
Definition at line 79 of file LZEROElectronics.h.
|
inline |
Sets the masked fastOrs from the CCDB in the LZERO.
Definition at line 82 of file LZEROElectronics.h.
|
inline |
Set Threshold for LZERO algorithm
| threshold | LZERO algorithm threshold |
Definition at line 87 of file LZEROElectronics.h.
| void LZEROElectronics::updatePatchesADC | ( | TRUElectronics & | p | ) |
Update patches
| p | TRUElectronics object |
Definition at line 85 of file LZEROElectronics.cxx.