Project
Loading...
Searching...
No Matches
o2::emcal::reco_workflow Namespace Reference

Classes

class  AnalysisClusterSpec
 Analysis Cluster task for EMCAL anlaysis clusters. More...
 
class  CellConverterSpec
 Coverter task for EMCAL digits to EMCAL cells. More...
 
class  ClusterizerSpec
 Clusterizer task for EMCAL digits. More...
 
class  DigitsPrinterSpec
 Example task for EMCAL digits monitoring. More...
 
class  RawToCellConverterSpec
 Coverter task for Raw data to EMCAL cells and trigger objects. More...
 

Enumerations

enum struct  InputType { Digits , Cells , Raw , Clusters }
 
enum struct  OutputType {
  Digits , Cells , Raw , Clusters ,
  AnalysisClusters
}
 

Functions

framework::DataProcessorSpec getAnalysisClusterSpec (bool useDigits)
 Creating DataProcessorSpec for the EMCAL Analysis Cluster Spec.
 
framework::DataProcessorSpec getCellConverterSpec (bool propagateMC, int inputSubsepc=0, int outputSubspec=0)
 Creating DataProcessorSpec for the EMCAL Cell Converter Spec.
 
framework::DataProcessorSpec getClusterizerSpec (bool useDigits)
 Creating DataProcessorSpec for the EMCAL Clusterizer Spec.
 
o2::framework::DataProcessorSpec getEmcalDigitsPrinterSpec (std::string inputtype)
 Creating digits printer spec.
 
framework::DataProcessorSpec getRawToCellConverterSpec (bool askDISTSTF, bool disableDecodingError, bool disableTriggerReconstruction, int subspecification)
 Creating DataProcessorSpec for the EMCAL Cell Converter Spec.
 
framework::WorkflowSpec getWorkflow (bool propagateMC=true, bool askDISTSTF=true, bool enableDigitsPrinter=false, int subspecificationIn=0, int subspecificationOut=0, std::string const &cfgInput="digits", std::string const &cfgOutput="clusters", bool disableRootInput=false, bool disableRootOutput=false, bool disableDecodingErrors=false, bool disableTriggerReconstruction=false)
 create the workflow for EMCAL reconstruction
 

Enumeration Type Documentation

◆ InputType

Enumerator
Digits 

read digits from file

Cells 

read compressed cells from file

Raw 

read data in raw page format from file

Clusters 

read native clusters from file

Definition at line 31 of file RecoWorkflow.h.

◆ OutputType

Enumerator
Digits 

EMCAL digits.

Cells 

EMCAL cells.

Raw 

EMCAL raw data.

Clusters 

EMCAL clusters.

AnalysisClusters 

EMCAL analysis clusters.

Definition at line 40 of file RecoWorkflow.h.

Function Documentation

◆ getRawToCellConverterSpec()

o2::framework::DataProcessorSpec o2::emcal::reco_workflow::getRawToCellConverterSpec ( bool  askDISTSTF,
bool  disableDecodingError,
bool  disableTriggerReconstruction,
int  subspecification 
)

Creating DataProcessorSpec for the EMCAL Cell Converter Spec.

Parameters
askDISTSTFInclude input spec FLP/DISTSUBTIMEFRAME
disableDecodingErrorsObtain reco params from the CCDB
disableTriggerReconstructionDo not run trigger reconstruction
subspecificationSubspecification used in the output spec

Refer to RawToCellConverterSpec::run for input and output specs

Definition at line 1026 of file RawToCellConverterSpec.cxx.

◆ getWorkflow()

o2::framework::WorkflowSpec o2::emcal::reco_workflow::getWorkflow ( bool  propagateMC = true,
bool  askDISTSTF = true,
bool  enableDigitsPrinter = false,
int  subspecificationIn = 0,
int  subspecificationOut = 0,
std::string const &  cfgInput = "digits",
std::string const &  cfgOutput = "clusters",
bool  disableRootInput = false,
bool  disableRootOutput = false,
bool  disableDecodingErrors = false,
bool  disableTriggerReconstruction = false 
)

create the workflow for EMCAL reconstruction

Parameters
propagateMCIf true MC labels are propagated to the output files
askDISTSTFIf true the Raw->Cell converter subscribes to FLP/DISTSUBTIMEFRAME
enableDigitsPrinterIf true then the simple digits printer is added as dummy task
subspecificationInSubspecification of input in case of running on different FLPs
subspecificationOutSubspecification if output in case of running on different FLPs
cfgInputInput objects processed in the workflow
cfgOutputOutput objects created in the workflow
disableRootInputDisable reading from ROOT file (raw mode)
disableRootOutputDisable writing ROOT files (sync reco)
disableDecodingErrorsDiable streaming raw decoding errors (async reco)
disableTriggerReconstructionDisable trigger reconstrction
Returns
EMCAL reconstruction workflow for the configuration provided

Definition at line 47 of file RecoWorkflow.cxx.