Project
Loading...
Searching...
No Matches
o2::cpv::reco_workflow::RawToDigitConverterSpec Class Reference

Coverter task for Raw data to CPV cells. More...

#include <RawToDigitConverterSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 RawToDigitConverterSpec (bool isPedestal, bool useBadChannelMap, bool useGainCalibration)
 Constructor.
 
 ~RawToDigitConverterSpec () override=default
 Destructor.
 
void init (framework::InitContext &ctx) final
 Initializing the RawToDigitConverterSpec.
 
void run (framework::ProcessingContext &ctx) final
 Run conversion of raw data to cells.
 
void finaliseCCDB (framework::ConcreteDataMatcher &matcher, void *obj) final
 
- 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 stop ()
 This is invoked on stop.
 

Protected Member Functions

char CheckHWAddress (short ddl, short hwAddress, short &fee)
 simple check of HW address
 

Detailed Description

Coverter task for Raw data to CPV cells.

Author
Dmitri Peresunko NRC KI
Since
Sept., 2020

Definition at line 39 of file RawToDigitConverterSpec.h.

Constructor & Destructor Documentation

◆ RawToDigitConverterSpec()

o2::cpv::reco_workflow::RawToDigitConverterSpec::RawToDigitConverterSpec ( bool  isPedestal,
bool  useBadChannelMap,
bool  useGainCalibration 
)
inline

Constructor.

Parameters
propagateMCIf true the MCTruthContainer is propagated to the output

Definition at line 44 of file RawToDigitConverterSpec.h.

◆ ~RawToDigitConverterSpec()

o2::cpv::reco_workflow::RawToDigitConverterSpec::~RawToDigitConverterSpec ( )
overridedefault

Destructor.

Member Function Documentation

◆ CheckHWAddress()

char o2::cpv::reco_workflow::RawToDigitConverterSpec::CheckHWAddress ( short  ddl,
short  hwAddress,
short fee 
)
protected

simple check of HW address

◆ finaliseCCDB()

void RawToDigitConverterSpec::finaliseCCDB ( framework::ConcreteDataMatcher matcher,
void obj 
)
finalvirtual

This is invoked whenever a new CCDB object associated to a given ConcreteDataMatcher is deserialised

Reimplemented from o2::framework::Task.

Definition at line 62 of file RawToDigitConverterSpec.cxx.

◆ init()

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

Initializing the RawToDigitConverterSpec.

Parameters
ctxInit context

Reimplemented from o2::framework::Task.

Definition at line 37 of file RawToDigitConverterSpec.cxx.

◆ run()

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

Run conversion of raw data to cells.

Parameters
ctxProcessing context

The following branches are linked: Input RawData: {"ROUT", "RAWDATA", 0, Lifetime::Timeframe} Output cells: {"CPV", "DIGITS", 0, Lifetime::Timeframe} Output cells trigger record: {"CPV", "DIGITTRIGREC", 0, Lifetime::Timeframe} Output HW errors: {"CPV", "RAWHWERRORS", 0, Lifetime::Timeframe}

Implements o2::framework::Task.

Definition at line 100 of file RawToDigitConverterSpec.cxx.


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