Project
Loading...
Searching...
No Matches
o2::emcal::OfflineCalibSpec Class Reference

Task for producing offline calibration objects. More...

#include <OfflineCalibSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 OfflineCalibSpec (bool makeCellIDTimeEnergy, bool rejectCalibTriggers, bool rejectL0Trigger, std::shared_ptr< o2::emcal::CalibLoader > calibHandler)
 Constructor.
 
 ~OfflineCalibSpec () override=default
 Destructor.
 
void init (framework::InitContext &ctx) final
 Initializing the offline calib task.
 
void finaliseCCDB (framework::ConcreteDataMatcher &matcher, void *obj) final
 
void run (framework::ProcessingContext &ctx) final
 Fill histograms needed for the offline calibration.
 
void endOfStream (o2::framework::EndOfStreamContext &ec) final
 Write histograms to an output root file.
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void stop ()
 This is invoked on stop.
 

Static Public Member Functions

static const char * getCTPDigitsBinding ()
 
static const char * getCTPConfigBinding ()
 

Detailed Description

Task for producing offline calibration objects.

Author
Hannah Bossi hanna.nosp@m.h.bo.nosp@m.ssi@c.nosp@m.ern..nosp@m.ch, Yale University
Since
August 16th, 2022

This task fills offline calibration objects for the EMCAL.

Definition at line 42 of file OfflineCalibSpec.h.

Constructor & Destructor Documentation

◆ OfflineCalibSpec()

o2::emcal::OfflineCalibSpec::OfflineCalibSpec ( bool  makeCellIDTimeEnergy,
bool  rejectCalibTriggers,
bool  rejectL0Trigger,
std::shared_ptr< o2::emcal::CalibLoader >  calibHandler 
)
inline

Constructor.

Parameters
makeCellIDTimeEnergyIf true the THnSparseF of cell ID, time, and energy is made
rejectCalibTriggersif true, only events which have the o2::trigger::PhT flag will be taken into account

Definition at line 50 of file OfflineCalibSpec.h.

◆ ~OfflineCalibSpec()

o2::emcal::OfflineCalibSpec::~OfflineCalibSpec ( )
overridedefault

Destructor.

Member Function Documentation

◆ endOfStream()

void OfflineCalibSpec::endOfStream ( o2::framework::EndOfStreamContext &  ec)
finalvirtual

Write histograms to an output root file.

Parameters
ecend of stream context

Reimplemented from o2::framework::Task.

Definition at line 191 of file OfflineCalibSpec.cxx.

◆ finaliseCCDB()

void OfflineCalibSpec::finaliseCCDB ( framework::ConcreteDataMatcher &  matcher,
void *  obj 
)
finalvirtual

Loading CCDB object into internal cache for the 3 supported CCDB entries (bad channel map, time calibration params, gain calibration params). Objects are only loaded in case the calibration type was enabled.

Reimplemented from o2::framework::Task.

Definition at line 50 of file OfflineCalibSpec.cxx.

◆ getCTPConfigBinding()

static const char * o2::emcal::OfflineCalibSpec::getCTPConfigBinding ( )
inlinestatic

Definition at line 75 of file OfflineCalibSpec.h.

◆ getCTPDigitsBinding()

static const char * o2::emcal::OfflineCalibSpec::getCTPDigitsBinding ( )
inlinestatic

Definition at line 74 of file OfflineCalibSpec.h.

◆ init()

void OfflineCalibSpec::init ( framework::InitContext &  ctx)
finalvirtual

Initializing the offline calib task.

Parameters
ctxInit context

Reimplemented from o2::framework::Task.

Definition at line 29 of file OfflineCalibSpec.cxx.

◆ run()

void OfflineCalibSpec::run ( framework::ProcessingContext &  ctx)
finalvirtual

Fill histograms needed for the offline calibration.

Parameters
ctxProcessing context

Implements o2::framework::Task.

Definition at line 95 of file OfflineCalibSpec.cxx.


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