![]() |
Project
|
TRUElectronics creator, based on the TRUElectronics. More...
#include <TRUElectronics.h>
Public Member Functions | |
TRUElectronics (int patchSize, int whichSide, int whichSuperModuleSize) | |
Main constructor. | |
TRUElectronics () | |
Default constructor. | |
~TRUElectronics ()=default | |
Destructor. | |
void | clear () |
Clear internal members. | |
void | init () |
Initialise internal members. | |
void | assignSeedModuleToPatchWithSTUIndexingFullModule (int &patchID) |
Assign seed module to a Full SM. | |
void | assignSeedModuleToPatchWithSTUIndexingOneThirdModule (int &patchID) |
Assign seed module to a 1/3 SM. | |
void | assignSeedModuleToAllPatches () |
Assign seed module to all patches. | |
void | assignModulesToAllPatches () |
Assign modules to all patches. | |
void | updateADC () |
Updates the patches. | |
ClassDefNV (TRUElectronics, 1) | |
Public Attributes | |
int | mPatchSize |
! patch size (2x2 or 4x4 typically) | |
int | mWhichSide |
! Either A = 0 or C = 1 side | |
int | mWhichSuperModuleSize |
! Either Full/2/3 = 0 or 1/3 = 1 size | |
std::vector< std::tuple< int, int > > | mPatchIDSeedFastOrIDs |
! mask containing Patch IDs, their seed FastOrs | |
std::vector< std::tuple< int, std::vector< int > > > | mIndexMapPatch |
! mask of the FastOrs assigned to each patch | |
std::vector< std::tuple< int, std::vector< int > > > | mFiredFastOrIndexMapPatch |
! mask of the FastOrs above threshold in each patch | |
std::vector< int > | mFiredPatches |
! mask of the patches above threshold | |
std::vector< std::tuple< int, std::vector< double > > > | mADCvalues |
! ADC values for peak finding | |
std::vector< std::tuple< int, std::vector< double > > > | mTimesum |
! Time sums for peak finding | |
std::vector< std::tuple< int, double > > | mPreviousTimebinADCvalue |
! ADC that was just removed from the time bins | |
std::vector< FastOrStruct > | mFastOrs |
! FastOr objects | |
TRUElectronics creator, based on the TRUElectronics.
Definition at line 74 of file TRUElectronics.h.
Main constructor.
patchSize | patch size: 2x2, or 4x4 |
whichSide | 0 = A side, 1 = C side |
whichSuperModuleSize | 0 = Full 1 = 1/3 |
Definition at line 29 of file TRUElectronics.cxx.
TRUElectronics::TRUElectronics | ( | ) |
Default constructor.
Definition at line 23 of file TRUElectronics.cxx.
|
default |
Destructor.
void TRUElectronics::assignModulesToAllPatches | ( | ) |
Assign modules to all patches.
Definition at line 118 of file TRUElectronics.cxx.
void TRUElectronics::assignSeedModuleToAllPatches | ( | ) |
Assign seed module to all patches.
Definition at line 101 of file TRUElectronics.cxx.
Assign seed module to a Full SM.
patchID | Patch ID that need to be assigned a seed |
Definition at line 67 of file TRUElectronics.cxx.
Assign seed module to a 1/3 SM.
patchID | Patch ID that need to be assigned a seed |
Definition at line 84 of file TRUElectronics.cxx.
o2::emcal::TRUElectronics::ClassDefNV | ( | TRUElectronics | , |
1 | |||
) |
void TRUElectronics::clear | ( | ) |
Clear internal members.
Definition at line 57 of file TRUElectronics.cxx.
void TRUElectronics::init | ( | ) |
Initialise internal members.
Definition at line 35 of file TRUElectronics.cxx.
void TRUElectronics::updateADC | ( | ) |
Updates the patches.
Definition at line 189 of file TRUElectronics.cxx.
std::vector<std::tuple<int, std::vector<double> > > o2::emcal::TRUElectronics::mADCvalues |
! ADC values for peak finding
Definition at line 119 of file TRUElectronics.h.
std::vector<FastOrStruct> o2::emcal::TRUElectronics::mFastOrs |
! FastOr objects
Definition at line 122 of file TRUElectronics.h.
std::vector<std::tuple<int, std::vector<int> > > o2::emcal::TRUElectronics::mFiredFastOrIndexMapPatch |
! mask of the FastOrs above threshold in each patch
Definition at line 117 of file TRUElectronics.h.
std::vector<int> o2::emcal::TRUElectronics::mFiredPatches |
! mask of the patches above threshold
Definition at line 118 of file TRUElectronics.h.
! mask of the FastOrs assigned to each patch
Definition at line 116 of file TRUElectronics.h.
! mask containing Patch IDs, their seed FastOrs
Definition at line 115 of file TRUElectronics.h.
int o2::emcal::TRUElectronics::mPatchSize |
! patch size (2x2 or 4x4 typically)
Definition at line 111 of file TRUElectronics.h.
std::vector<std::tuple<int, double> > o2::emcal::TRUElectronics::mPreviousTimebinADCvalue |
! ADC that was just removed from the time bins
Definition at line 121 of file TRUElectronics.h.
std::vector<std::tuple<int, std::vector<double> > > o2::emcal::TRUElectronics::mTimesum |
! Time sums for peak finding
Definition at line 120 of file TRUElectronics.h.
int o2::emcal::TRUElectronics::mWhichSide |
! Either A = 0 or C = 1 side
Definition at line 112 of file TRUElectronics.h.
int o2::emcal::TRUElectronics::mWhichSuperModuleSize |
! Either Full/2/3 = 0 or 1/3 = 1 size
Definition at line 113 of file TRUElectronics.h.