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

Classes

class  CellConverterSpec
 Coverter task for PHOS digits to AOD PHOS cells. More...
 
class  ClusterizerSpec
 Clusterizer task for PHOS digits. More...
 
class  DigitsPrinterSpec
 Example task for PHOS digits monitoring. More...
 
class  RawToCellConverterSpec
 Coverter task for Raw data to PHOS cells. More...
 
class  RawWriterSpec
 Coverter task for PHOS digits to raw. More...
 

Enumerations

enum struct  InputType {
  Hits , Digits , Cells , Raw ,
  Clusters
}
 define input and output types of the workflow More...
 
enum struct  OutputType { Digits , Cells , Raw , Clusters }
 

Functions

framework::DataProcessorSpec getCellConverterSpec (bool propagateMC, bool defBadMap)
 Creating DataProcessorSpec for the PHOS Cell Converter Spec.
 
framework::DataProcessorSpec getClusterizerSpec (bool propagateMC, bool fillFullClu, bool defBadMap=false)
 Creating DataProcessorSpec for the PHOS Clusterizer Spec.
 
framework::DataProcessorSpec getCellClusterizerSpec (bool propagateMC, bool fillFullClu, bool defBadMap=false, bool skipL1phase=true)
 
o2::framework::DataProcessorSpec getPhosDigitsPrinterSpec ()
 Creating digits printer spec.
 
framework::DataProcessorSpec getRawToCellConverterSpec (unsigned int flpId)
 Creating DataProcessorSpec for the PHOS Cell Converter Spec.
 
framework::DataProcessorSpec getRawWriterSpec ()
 Creating DataProcessorSpec for the PHOS Cell Converter Spec.
 
framework::WorkflowSpec getWorkflow (bool disableRootInp, bool disableRootOut, bool propagateMC=true, std::string const &cfgInput="hits", std::string const &cfgOutput="clusters", bool fullCluOut=false, int flpId=0, bool defBadMap=false, bool skipL1phase=true)
 create the workflow for PHOS reconstruction
 

Variables

const std::unordered_map< std::string, InputTypeInputMap
 
const std::unordered_map< std::string, OutputTypeOutputMap
 

Enumeration Type Documentation

◆ InputType

define input and output types of the workflow

Enumerator
Hits 
Digits 
Cells 
Raw 
Clusters 

Definition at line 29 of file RecoWorkflow.h.

◆ OutputType

Enumerator
Digits 
Cells 
Raw 
Clusters 

Definition at line 35 of file RecoWorkflow.h.

Function Documentation

◆ getCellClusterizerSpec()

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getCellClusterizerSpec ( bool  propagateMC,
bool  fillFullClu,
bool  defBadMap = false,
bool  skipL1phase = true 
)

Definition at line 163 of file ClusterizerSpec.cxx.

◆ getCellConverterSpec()

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getCellConverterSpec ( bool  propagateMC,
bool  defBadMap 
)

Creating DataProcessorSpec for the PHOS Cell Converter Spec.

Parameters
propagateMCIf true the MC truth container is propagated to the output

Refer to CellConverterSpec::run for input and output specs

Definition at line 138 of file CellConverterSpec.cxx.

◆ getClusterizerSpec()

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getClusterizerSpec ( bool  propagateMC,
bool  fillFullClu,
bool  defBadMap = false 
)

Creating DataProcessorSpec for the PHOS Clusterizer Spec.

Refer to ClusterizerSpec::run for input and output specs

Definition at line 133 of file ClusterizerSpec.cxx.

◆ getPhosDigitsPrinterSpec()

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getPhosDigitsPrinterSpec ( )

Creating digits printer spec.

Refer to DigitsPrinterSpec::run for a list of input specs

Definition at line 50 of file DigitsPrinterSpec.cxx.

◆ getRawToCellConverterSpec()

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getRawToCellConverterSpec ( unsigned int  flpId)

Creating DataProcessorSpec for the PHOS Cell Converter Spec.

Refer to RawToCellConverterSpec::run for input and output specs

Definition at line 301 of file RawToCellConverterSpec.cxx.

◆ getRawWriterSpec()

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getRawWriterSpec ( )

Creating DataProcessorSpec for the PHOS Cell Converter Spec.

Parameters
propagateMCIf true the MC truth container is propagated to the output

Refer to RawWriterSpec::run for input and output specs

Definition at line 58 of file RawWriterSpec.cxx.

◆ getWorkflow()

o2::framework::WorkflowSpec o2::phos::reco_workflow::getWorkflow ( bool  disableRootInp,
bool  disableRootOut,
bool  propagateMC = true,
std::string const &  cfgInput = "hits",
std::string const &  cfgOutput = "clusters",
bool  fullCluOut = false,
int  flpId = 0,
bool  defBadMap = false,
bool  skipL1phase = true 
)

create the workflow for PHOS reconstruction

Definition at line 59 of file RecoWorkflow.cxx.

Variable Documentation

◆ InputMap

const std::unordered_map<std::string, InputType> o2::phos::reco_workflow::InputMap
Initial value:
{
{"raw", InputType::Raw},
{"digits", InputType::Digits},
{"cells", InputType::Cells}}

Definition at line 49 of file RecoWorkflow.cxx.

◆ OutputMap

const std::unordered_map<std::string, OutputType> o2::phos::reco_workflow::OutputMap
Initial value:
{
{"cells", OutputType::Cells},
{"clusters", OutputType::Clusters},
{"digits", OutputType::Digits}}

Definition at line 54 of file RecoWorkflow.cxx.