![]() |
Project
|
When defining a function that returns a DataProcessorSpec
, please stick to the following pattern for its parameters :
DataProcessorSpec getXXX([bool useMC], const char* specName="mch-xxx", other parameters);
mch-
The workflow accepts the following options:
--debug
: enable verbose output--dataspec
: selection string for the input data (default: "TF:MCH/RAWDATA"
)--cru-map
: path to custom CRU mapping file--fec-map
: path to custom FEC mapping file--ds2manu
: convert channel numbering from Run3 to Run1-2 orderExample of a DPL chain to go from a raw data file to a file of preclusters :
where the file-reader.cfg
looks like this:
Filter out (i.e. remove) some digits more...
Cluster ROFs per time, thus making IR ranges of interest. more...
Inputs :
F-DIGITS
(can be changed with --input-digits-data-description
option)F-DIGITROFS
(can be changed with --input-digit-rofs-data-description
option)TRACKROFS
Outputs :
E-F-DIGITS
(can be changed with --output-digits-data-description
option)E-F-DIGITROFS
(can be changed with --output-digit-rofs-data-description
option)Option --mch-config "file.json"
or --mch-config "file.ini"
allows to change the triggering parameters from a configuration file. This file can be either in JSON or in INI format, as described below:
Option --configKeyValues "key1=value1;key2=value2;..."
allows to change the triggering parameters from the command line. The parameters changed from the command line will supersede the ones changed from a configuration file.
Group the digits in preclusters. more...
Take as input the list of all preclusters (PreCluster) in the current time frame, the list of all associated digits (Digit) and the list of ROF records (ROFRecord) pointing to the preclusters associated to each interaction, with the data description "PRECLUSTERS", "PRECLUSTERDIGITS" and "PRECLUSTERROFS", respectively. Send the list of all clusters (Cluster) in the time frame, the list of all associated digits (Digit), the list of ROF records (ROFRecord) pointing to the clusters associated to each interaction and the list of processing errors (Error) in four separate messages with the data description "CLUSTERS", "CLUSTERDIGITS", "CLUSTERROFS" and "CLUSTERERRORS", respectively.
Option --run2-config
allows to configure the clustering to process run2 data.
Option --mch-config "file.json"
or --mch-config "file.ini"
allows to change the clustering parameters from a configuration file. This file can be either in JSON or in INI format, as described below:
Option --configKeyValues "key1=value1;key2=value2;..."
allows to change the clustering parameters from the command line. The parameters changed from the command line will supersede the ones changed from a configuration file.
Entropy encoding is done be attaching the o2-mch-entropy-encoder-workflow
to the output of DIGITS
and DIGITROF
data-descriptions, providing Digit
and ROFRecord
respectively. Afterwards the encoded data can be stored by the o2-ctf-writer-workflow
.
The decoding is done automatically by the o2-ctf-reader-workflow
.
Converts the clusters coordinates from local (2D within detection element plane) to global (3D within Alice reference frame) more...
Combine the clusters to reconstruct the tracks. more...
Take as input the list of all MCH tracks (TrackMCH) in the current time frame, the list of ROF records (ROFRecord) pointing to the tracks associated to each interaction and their vertex position (Point3D<double>
), with the data description "TRACKS", "TRACKROFS" and "VERTICES", respectively. Send the list of all tracks at vertex (TrackAtVtxStruct
as described below) in the time frame with the data description "TRACKSATVERTEX".
Options --l3Current xxx
and --dipoleCurrent yyy
allow to specify the current in L3 and in the dipole to be used to set the magnetic field.
Refit the tracks to their associated clusters. more...
Take as input the list of all MCH preclustering, clustering and tracking errors (Error) in the current time frame, with the data description "PRECLUSTERERRORS", "CLUSTERERRORS" and "TRACKERRORS", respectively. Send the merged list of all MCH processing errors (Error) in the time frame, with the data description "PROCERRORS".
Options --disable-preclustering-errors
allows to skip the preclustering errors.
Options --disable-clustering-errors
allows to skip the clustering errors.
Options --disable-tracking-errors
allows to skip the tracking errors.
Readers (writers) workflows are reading from (to) Root files. more...
Samplers (sinks) workflows are reading from (to) files written in MCH custom binary format(s). more...
Send the list of all MCH processing errors (Error) in the current time frame, with the data description "PROCERRORS".
Option --input-dir
allows to set the name of the directory containing the input file (default = current directory).
Take as input the list of ROF records (ROFRecord) in the current time frame, with the data description "TRACKROFS". Send the list of all vertex positions (Point3D<double>
) in the time frame, one per interaction, with the data description "VERTICES".
Option --infile "vertices.in"
allows to read the position of the vertex from the binary file vertices.in
containing for each event:
If no binary file is provided, the vertex is always set to (0,0,0).
Take as input the list of all MCH processing errors (Error) in the current time frame, with the data description "PROCERRORS", and write it in the root file "mcherrors.root".