![]() |
Project
|
Class for TPC HW cluster finding. More...
#include <HwClusterer.h>
Inherits o2::tpc::Clusterer.
Public Member Functions | |
| HwClusterer (std::vector< ClusterHardwareContainer8kb > *clusterOutput, int sectorid, MCLabelContainer *labelOutput=nullptr) | |
| ~HwClusterer () override=default | |
| Destructor. | |
| HwClusterer (HwClusterer const &other)=default | |
| Copy Constructor. | |
| void | init () |
| initialize the clusterer from HwClustererParam | |
| void | process (gsl::span< o2::tpc::Digit const > const &digits, ConstMCLabelContainerView const &mcDigitTruth) override |
| void | process (gsl::span< o2::tpc::Digit const > const &digits, ConstMCLabelContainerView const &mcDigitTruth, bool clearContainerFirst) |
| void | finishProcess (gsl::span< o2::tpc::Digit const > const &digits, ConstMCLabelContainerView const &mcDigitTruth) override |
| void | finishProcess (gsl::span< o2::tpc::Digit const > const &digits, ConstMCLabelContainerView const &mcDigitTruth, bool clearContainerFirst) |
| void | setContinuousReadout (bool isContinuous) |
| void | setPeakChargeThreshold (unsigned charge) |
| void | setContributionChargeThreshold (unsigned charge) |
| void | setRejectSinglePadClusters (bool doReject) |
| void | setRejectSingleTimeClusters (bool doReject) |
| void | setRejectLaterTimebin (bool doReject) |
| void | setSplittingMode (short mode) |
Public Member Functions inherited from o2::tpc::Clusterer | |
| Clusterer ()=default | |
| Default Constructor. | |
| virtual | ~Clusterer ()=default |
| Destructor. | |
| Clusterer (Clusterer const &other)=default | |
| Copy constructor. | |
| void | setNoiseObject (CalDet< float > *noiseObject) |
| void | setPedestalObject (CalDet< float > *pedestalObject) |
Additional Inherited Members | |
Protected Attributes inherited from o2::tpc::Clusterer | |
| CalDet< float > * | mNoiseObject |
| Pointer to the CalDet object for noise simulation. | |
| CalDet< float > * | mPedestalObject |
| Pointer to the CalDet object for the pedestal subtraction. | |
Class for TPC HW cluster finding.
Definition at line 41 of file HwClusterer.h.
| HwClusterer::HwClusterer | ( | std::vector< ClusterHardwareContainer8kb > * | clusterOutput, |
| int | sectorid, | ||
| MCLabelContainer * | labelOutput = nullptr |
||
| ) |
Constructor
| clusterOutput | is pointer to vector to be filled with ClusterHardwareContainers |
| labelOutput | is pointer to storage to be filled with MC labels |
| sectorid | is sector number to be processed |
Definition at line 30 of file HwClusterer.cxx.
|
overridedefault |
Destructor.
|
default |
Copy Constructor.
|
inlineoverridevirtual |
Finish processing digits
| digits | Container with TPC digits |
| mcDigitTruth | MC Digit Truth container |
| clearContainerFirst | Clears the outpcontainer for clusters and MC labels first, before processing |
Implements o2::tpc::Clusterer.
Definition at line 226 of file HwClusterer.h.
| void HwClusterer::finishProcess | ( | gsl::span< o2::tpc::Digit const > const & | digits, |
| ConstMCLabelContainerView const & | mcDigitTruth, | ||
| bool | clearContainerFirst | ||
| ) |
Definition at line 280 of file HwClusterer.cxx.
| void HwClusterer::init | ( | ) |
initialize the clusterer from HwClustererParam
Definition at line 117 of file HwClusterer.cxx.
|
inlineoverridevirtual |
Process digits
| digits | Container with TPC digits |
| mcDigitTruth | MC Digit Truth container |
| clearContainerFirst | Clears the outpcontainer for clusters and MC labels first, before processing |
Implements o2::tpc::Clusterer.
Definition at line 221 of file HwClusterer.h.
| void HwClusterer::process | ( | gsl::span< o2::tpc::Digit const > const & | digits, |
| ConstMCLabelContainerView const & | mcDigitTruth, | ||
| bool | clearContainerFirst | ||
| ) |
Definition at line 133 of file HwClusterer.cxx.
Switch for triggered / continuous readout
| isContinuous | - false for triggered readout, true for continuous readout |
Definition at line 231 of file HwClusterer.h.
|
inline |
Sets the charge threshold for the contributing pads
| charge | Threshold which will be used |
Definition at line 241 of file HwClusterer.h.
|
inline |
Sets the charge threshold for the peak
| charge | Threshold which will be used |
Definition at line 236 of file HwClusterer.h.
Switch to reject peaks in following timebins
| doReject | - true to reject peak, false to NOT reject peaks in following bins |
Definition at line 256 of file HwClusterer.h.
Switch to reject single pad clusters
| doReject | - true to reject clusters with sigmaPad2Pre == 0 |
Definition at line 246 of file HwClusterer.h.
Switch to reject single time clusters
| doReject | - true to reject clusters with sigmaTime2Pre == 0 |
Definition at line 251 of file HwClusterer.h.
|
inline |
Switch for mode, how the charge should be shared among nearby clusters
| mode | 0 for no splitting, charge is used for all found peaks, 1 for minimum contributes half to all peaks 2 for minimum contributes only to left/older peak |
Definition at line 261 of file HwClusterer.h.