![]() |
Project
|
This task generates an emcal event with a number of cells. It is designed to produce data for the testing of the bad channel and time calibration of the emcal. More...
#include "DataFormatsEMCAL/Cell.h"
#include "DataFormatsEMCAL/TriggerRecord.h"
#include <Framework/DataProcessorSpec.h>
#include "Framework/Task.h"
#include "Framework/WorkflowSpec.h"
#include "Framework/DataRefUtils.h"
#include "Framework/ControlService.h"
#include "Framework/RawDeviceService.h"
#include "Algorithm/RangeTokenizer.h"
#include <random>
#include "TFile.h"
#include "TH2.h"
#include "TH1.h"
#include <unistd.h>
#include "Framework/runDataProcessing.h"
Go to the source code of this file.
Functions | |
DataProcessorSpec | generateData (const std::string nameRootFile, const std::string nameInputHist, const std::string nameInputHistAdd, const bool isTimeCalib, const int nCellsPerEvent, const int nEventsMax) |
void | customize (std::vector< ConfigParamSpec > &workflowOptions) |
WorkflowSpec | defineDataProcessing (ConfigContext const &config) |
This task generates an emcal event with a number of cells. It is designed to produce data for the testing of the bad channel and time calibration of the emcal.
Definition in file emc-channel-data-producer.cxx.
void customize | ( | std::vector< ConfigParamSpec > & | workflowOptions | ) |
Definition at line 40 of file emc-channel-data-producer.cxx.
WorkflowSpec defineDataProcessing | ( | ConfigContext const & | config | ) |
To be implemented by the user to specify one or more DataProcessorSpec.
Use the ConfigContext context in input to get the value of global configuration properties like command line options, number of available CPUs or whatever can affect the creation of the actual workflow.
The workflow executable for the stand alone CPV reconstruction workflow The basic workflow for CPV reconstruction is defined in RecoWorkflow.cxx and contains the following default processors
The default workflow can be customized by specifying input and output types e.g. digits, raw, tracks.
MC info is processed by default, disabled by using command line option --disable-mc
This function hooks up the the workflow specifications into the DPL driver.
The workflow executable for the stand alone CTP reconstruction workflow
Definition at line 55 of file emc-channel-data-producer.cxx.
DataProcessorSpec generateData | ( | const std::string | nameRootFile, |
const std::string | nameInputHist, | ||
const std::string | nameInputHistAdd, | ||
const bool | isTimeCalib, | ||
const int | nCellsPerEvent, | ||
const int | nEventsMax | ||
) |
Definition at line 71 of file emc-channel-data-producer.cxx.