Project
Loading...
Searching...
No Matches
o2::emcal::reco_workflow::DigitsPrinterSpec< InputType > Class Template Reference

Example task for EMCAL digits monitoring. More...

#include <DigitsPrinterSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 DigitsPrinterSpec ()=default
 Constructor.
 
 ~DigitsPrinterSpec () override=default
 Destructor.
 
void init (framework::InitContext &ctx) final
 Initializing the digits printer task.
 
void run (framework::ProcessingContext &ctx) final
 Printing digit-related information.
 
- 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

template<class InputType>
class o2::emcal::reco_workflow::DigitsPrinterSpec< InputType >

Example task for EMCAL digits monitoring.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
July 11, 2019

Example payload for workflows using o2::emcal::Digit as payload. Printing several digit-related information for each digit. Refer to run for the list of input spec to be specified.

Definition at line 38 of file DigitsPrinterSpec.h.

Constructor & Destructor Documentation

◆ DigitsPrinterSpec()

template<class InputType >
o2::emcal::reco_workflow::DigitsPrinterSpec< InputType >::DigitsPrinterSpec ( )
default

Constructor.

◆ ~DigitsPrinterSpec()

Destructor.

Member Function Documentation

◆ init()

template<class InputType >
void DigitsPrinterSpec::init ( framework::InitContext ctx)
finalvirtual

Initializing the digits printer task.

Parameters
ctxInit context

Reimplemented from o2::framework::Task.

Definition at line 29 of file DigitsPrinterSpec.cxx.

◆ run()

template<class InputType >
void DigitsPrinterSpec::run ( framework::ProcessingContext ctx)
finalvirtual

Printing digit-related information.

Parameters
ctxProcessing context

Printing energy and tower ID for each digit. Following input branches are linked:

  • digits: {"EMC", "DIGITS", 0, Lifetime::Timeframe}

Implements o2::framework::Task.

Definition at line 34 of file DigitsPrinterSpec.cxx.


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