![]() |
Project
|
Coverter task for PHOS digits to AOD PHOS cells. More...
#include <CellConverterSpec.h>
Inherits o2::framework::Task.
Public Member Functions | |
CellConverterSpec (bool propagateMC, bool defBadMap) | |
Constructor. | |
~CellConverterSpec () override=default | |
Destructor. | |
void | init (framework::InitContext &ctx) final |
Initializing the CellConverterSpec. | |
void | run (framework::ProcessingContext &ctx) final |
Run conversion of digits to cells. | |
![]() | |
virtual | ~Task () |
virtual void | endOfStream (EndOfStreamContext &context) |
This is invoked whenever we have an EndOfStream event. | |
virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) |
virtual void | stop () |
This is invoked on stop. | |
Coverter task for PHOS digits to AOD PHOS cells.
Task converting a vector of PHOS digits to a vector of PHOS cells. No selection of digits is done, digits are copied 1-to-1 to the output. If MC is available and requested, the MC truth container is ported to the output. Refer to run for the list of input and output specs.
Definition at line 41 of file CellConverterSpec.h.
|
inline |
Constructor.
propagateMC | If true the MCTruthContainer is propagated to the output |
Definition at line 46 of file CellConverterSpec.h.
|
overridedefault |
Destructor.
|
finalvirtual |
Initializing the CellConverterSpec.
ctx | Init context |
Reimplemented from o2::framework::Task.
Definition at line 27 of file CellConverterSpec.cxx.
|
finalvirtual |
Run conversion of digits to cells.
ctx | Processing context |
Converting the input vector of o2::phos::Digit to an output vector of o2::phos::Cell. Data is copied 1-to-1, no additional selection is done. In case the task is configured to propagate MC-truth the MC truth container is propagated 1-to-1 to the output.
The following branches are linked: Input digits: {"PHS", "DIGITS", 0, Lifetime::Timeframe} Input digit trigger records: {"PHS", "DIGITTRS", 0, Lifetime::Timeframe} Input MC-truth: {"PHS", "DIGITSMCTR", 0, Lifetime::Timeframe} Output cells: {"PHS", "CELLS", 0, Lifetime::Timeframe} Output cell trigger records: {"PHS", "CELLTRS", 0, Lifetime::Timeframe} Output MC-truth: {"PHS", "CELLSMCTR", 0, Lifetime::Timeframe} Output MC-map: {"PHS", "CELLSMCMAP", 0, Lifetime::Timeframe}
Implements o2::framework::Task.
Definition at line 38 of file CellConverterSpec.cxx.