Project
Loading...
Searching...
No Matches
o2::phos::reco_workflow::RawWriterSpec Class Reference

Coverter task for PHOS digits to raw. More...

#include <RawWriterSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 RawWriterSpec ()
 Constructor.
 
 ~RawWriterSpec () override=default
 Destructor.
 
void init (framework::InitContext &ctx) final
 Initializing the RawWriterSpec.
 
void run (framework::ProcessingContext &ctx) final
 Run conversion of digits to cells.
 
- Public Member Functions inherited from o2::framework::Task
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.
 

Detailed Description

Coverter task for PHOS digits to raw.

Author
Dmitri Peresunko after Markus Fasel
Since
Nov.20, 2020

Task converting a vector of PHOS digits to raw file

Definition at line 33 of file RawWriterSpec.h.

Constructor & Destructor Documentation

◆ RawWriterSpec()

o2::phos::reco_workflow::RawWriterSpec::RawWriterSpec ( )
inline

Constructor.

Parameters
propagateMCIf true the MCTruthContainer is propagated to the output

Definition at line 38 of file RawWriterSpec.h.

◆ ~RawWriterSpec()

o2::phos::reco_workflow::RawWriterSpec::~RawWriterSpec ( )
overridedefault

Destructor.

Member Function Documentation

◆ init()

void RawWriterSpec::init ( framework::InitContext ctx)
finalvirtual

Initializing the RawWriterSpec.

Parameters
ctxInit context

Reimplemented from o2::framework::Task.

Definition at line 29 of file RawWriterSpec.cxx.

◆ run()

void RawWriterSpec::run ( framework::ProcessingContext ctx)
finalvirtual

Run conversion of digits to cells.

Parameters
ctxProcessing context

Converting the input vector of o2::phos::Digit to file with raw data

The following branches are linked: Input digits: {"PHS", "DIGITS", 0, Lifetime::Timeframe} Input digit trigger records: {"PHS", "DIGITTRS", 0, Lifetime::Timeframe}

Implements o2::framework::Task.

Definition at line 42 of file RawWriterSpec.cxx.


The documentation for this class was generated from the following files: