|  | Project
    | 
#include <Clusterer.h>
| Public Member Functions | |
| Clusterer ()=default | |
| ~Clusterer ()=default | |
| void | initialize () | 
| void | process (gsl::span< const Digit > digits, gsl::span< const TriggerRecord > dtr, const o2::dataformats::MCTruthContainer< MCLabel > *dmc, std::vector< Cluster > &clusters, std::vector< CluElement > &cluel, std::vector< TriggerRecord > &rigRec, o2::dataformats::MCTruthContainer< MCLabel > &cluMC) | 
| void | processCells (gsl::span< const Cell > digits, gsl::span< const TriggerRecord > dtr, const o2::dataformats::MCTruthContainer< MCLabel > *dmc, std::vector< Cluster > &clusters, std::vector< CluElement > &cluel, std::vector< TriggerRecord > &rigRec, o2::dataformats::MCTruthContainer< MCLabel > &cluMC) | 
| void | makeClusters (std::vector< Cluster > &clusters, std::vector< o2::phos::CluElement > &cluel) | 
| void | setBadMap (const o2::phos::BadChannelsMap *m) | 
| void | setCalibration (const o2::phos::CalibParams *c) | 
| void | setL1phase (int phase) | 
| Protected Member Functions | |
| float | calibrate (float amp, short absId, bool isHighGain) | 
| float | calibrateT (float time, short absId, bool isHighGain, int bc) | 
| bool | isBadChannel (short absId) | 
| char | getNumberOfLocalMax (Cluster &clu, std::vector< CluElement > &cluel) | 
| void | evalAll (Cluster &clu, std::vector< CluElement > &cluel) const | 
| void | evalLabels (std::vector< Cluster > &clusters, std::vector< CluElement > &cluel, const o2::dataformats::MCTruthContainer< MCLabel > *dmc, o2::dataformats::MCTruthContainer< MCLabel > &cluMC) | 
| double | showerShape (double r2, double &deriv) | 
| void | makeUnfolding (Cluster &clu, std::vector< Cluster > &clusters, std::vector< o2::phos::CluElement > &cluel) | 
| void | unfoldOneCluster (Cluster &iniClu, char nMax, std::vector< Cluster > &clusters, std::vector< CluElement > &cluelements) | 
| Protected Attributes | |
| bool | mProcessMC = false | 
| int | miCellLabel = 0 | 
| bool | mFullCluOutput = false | 
| Write output full of reduced (no contributed digits) clusters. | |
| bool | mSkipL1phase = true | 
| int | mL1phase = 0 | 
| Do not correct for L1 phase. | |
| Geometry * | mPHOSGeom = nullptr | 
| packed shifts for 14 ddls | |
| const CalibParams * | mCalibParams = nullptr | 
| ! PHOS geometry | |
| const BadChannelsMap * | mBadMap = nullptr | 
| ! Calibration coefficients, Clusterizer not owner | |
| std::vector< CluElement > | mCluEl | 
| ! Bad map, Clusterizer not owner | |
| std::vector< Digit > | mTrigger | 
| internal vector of clusters | |
| int | mFirstElememtInEvent | 
| Range of digits from one event. | |
| int | mLastElementInEvent | 
| Range of digits from one event. | |
| std::vector< float > | mProp | 
| proportion of clusters in the current digit | |
| std::array< float, NLOCMAX > | mxMax | 
| current maximum coordinate | |
| std::array< float, NLOCMAX > | mzMax | 
| in the unfolding procedure | |
| std::array< float, NLOCMAX > | meMax | 
| currecnt amplitude in unfoding | |
| std::array< float, NLOCMAX > | mxMaxPrev | 
| coordunates at previous step | |
| std::array< float, NLOCMAX > | mzMaxPrev | 
| coordunates at previous step | |
| std::array< float, NLOCMAX > | mdx | 
| step on current minimization iteration | |
| std::array< float, NLOCMAX > | mdz | 
| step on current minimization iteration | |
| std::array< float, NLOCMAX > | mdxprev | 
| step on previoud minimization iteration | |
| std::array< float, NLOCMAX > | mdzprev | 
| step on previoud minimization iteration | |
| std::array< double, NLOCMAX > | mA | 
| transient variable for derivative calculation | |
| std::array< double, NLOCMAX > | mxB | 
| transient variable for derivative calculation | |
| std::array< double, NLOCMAX > | mzB | 
| transient variable for derivative calculation | |
| std::array< double, NLOCMAX > | mfijx | 
| transient variable for derivative calculation | |
| std::array< double, NLOCMAX > | mfijz | 
| transient variable for derivative calculation | |
| std::array< double, NLOCMAX > | mfijr | 
| transient variable for derivative calculation | |
| std::array< double, NLOCMAX > | mfij | 
| transient variable for derivative calculation | |
| std::vector< bool > | mIsLocalMax | 
| transient array for local max finding | |
| std::array< int, NLOCMAX > | mMaxAt | 
| indexes of local maxima | |
| Static Protected Attributes | |
| static constexpr short | NLOCMAX = 30 | 
Definition at line 31 of file Clusterer.h.
| 
 | default | 
| 
 | default | 
| 
 | inlineprotected | 
Definition at line 59 of file Clusterer.h.
| 
 | inlineprotected | 
Definition at line 68 of file Clusterer.h.
| 
 | protected | 
Definition at line 509 of file Clusterer.cxx.
| 
 | protected | 
Definition at line 434 of file Clusterer.cxx.
| 
 | protected | 
Definition at line 638 of file Clusterer.cxx.
| void Clusterer::initialize | ( | ) | 
Definition at line 29 of file Clusterer.cxx.
| 
 | inlineprotected | 
Definition at line 91 of file Clusterer.h.
| void Clusterer::makeClusters | ( | std::vector< Cluster > & | clusters, | 
| std::vector< o2::phos::CluElement > & | cluel | ||
| ) | 
Definition at line 152 of file Clusterer.cxx.
| 
 | protected | 
Definition at line 231 of file Clusterer.cxx.
| void Clusterer::process | ( | gsl::span< const Digit > | digits, | 
| gsl::span< const TriggerRecord > | dtr, | ||
| const o2::dataformats::MCTruthContainer< MCLabel > * | dmc, | ||
| std::vector< Cluster > & | clusters, | ||
| std::vector< CluElement > & | cluel, | ||
| std::vector< TriggerRecord > & | rigRec, | ||
| o2::dataformats::MCTruthContainer< MCLabel > & | cluMC | ||
| ) | 
Definition at line 50 of file Clusterer.cxx.
| void Clusterer::processCells | ( | gsl::span< const Cell > | digits, | 
| gsl::span< const TriggerRecord > | dtr, | ||
| const o2::dataformats::MCTruthContainer< MCLabel > * | dmc, | ||
| std::vector< Cluster > & | clusters, | ||
| std::vector< CluElement > & | cluel, | ||
| std::vector< TriggerRecord > & | rigRec, | ||
| o2::dataformats::MCTruthContainer< MCLabel > & | cluMC | ||
| ) | 
Definition at line 103 of file Clusterer.cxx.
| 
 | inline | 
Definition at line 49 of file Clusterer.h.
| 
 | inline | 
Definition at line 50 of file Clusterer.h.
Definition at line 51 of file Clusterer.h.
| 
 | protected | 
Definition at line 487 of file Clusterer.cxx.
| 
 | protected | 
Definition at line 253 of file Clusterer.cxx.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 130 of file Clusterer.h.
| 
 | protected | 
! Calibration coefficients, Clusterizer not owner
Definition at line 113 of file Clusterer.h.
| 
 | protected | 
! PHOS geometry
Definition at line 112 of file Clusterer.h.
| 
 | protected | 
! Bad map, Clusterizer not owner
internal vector of clusters
Definition at line 115 of file Clusterer.h.
| 
 | protected | 
step on current minimization iteration
Definition at line 126 of file Clusterer.h.
| 
 | protected | 
step on previoud minimization iteration
Definition at line 128 of file Clusterer.h.
| 
 | protected | 
step on current minimization iteration
Definition at line 127 of file Clusterer.h.
| 
 | protected | 
step on previoud minimization iteration
Definition at line 129 of file Clusterer.h.
| 
 | protected | 
currecnt amplitude in unfoding
Definition at line 123 of file Clusterer.h.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 136 of file Clusterer.h.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 135 of file Clusterer.h.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 133 of file Clusterer.h.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 134 of file Clusterer.h.
| 
 | protected | 
Range of digits from one event.
Definition at line 117 of file Clusterer.h.
| 
 | protected | 
Write output full of reduced (no contributed digits) clusters.
Definition at line 108 of file Clusterer.h.
| 
 | protected | 
Definition at line 107 of file Clusterer.h.
| 
 | protected | 
transient array for local max finding
Definition at line 137 of file Clusterer.h.
| 
 | protected | 
Do not correct for L1 phase.
Definition at line 110 of file Clusterer.h.
| 
 | protected | 
Range of digits from one event.
Definition at line 118 of file Clusterer.h.
indexes of local maxima
Definition at line 138 of file Clusterer.h.
| 
 | protected | 
packed shifts for 14 ddls
Definition at line 111 of file Clusterer.h.
| 
 | protected | 
Definition at line 106 of file Clusterer.h.
| 
 | protected | 
proportion of clusters in the current digit
Definition at line 120 of file Clusterer.h.
| 
 | protected | 
Definition at line 109 of file Clusterer.h.
| 
 | protected | 
internal vector of clusters
Definition at line 116 of file Clusterer.h.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 131 of file Clusterer.h.
| 
 | protected | 
current maximum coordinate
Definition at line 121 of file Clusterer.h.
| 
 | protected | 
coordunates at previous step
Definition at line 124 of file Clusterer.h.
| 
 | protected | 
transient variable for derivative calculation
Definition at line 132 of file Clusterer.h.
| 
 | protected | 
in the unfolding procedure
Definition at line 122 of file Clusterer.h.
| 
 | protected | 
coordunates at previous step
Definition at line 125 of file Clusterer.h.
| 
 | staticconstexprprotected | 
Definition at line 105 of file Clusterer.h.