More Information About the XDIGI2CSV Program#
The XDIGI2CSV program allows to convert (X)DIGI files into CSV likes. The algorithms, written in the Allen framework, are described in this page.
Algorithms#
As mentionned in the Programs page,
the algorithms behind the XDIGI2CSV program are defined in
Dumpers/CSVDumpers
folder.
There are 6 algorithms, as detailed in the table below.
Algorithm |
.cpp file |
Output |
---|---|---|
PrCSVDumperVPHits |
|
|
PrCSVDumperUTHits |
|
|
PrCSVDumperFTHits |
|
|
PrCSVDumperMCParticles |
|
|
PrCSVDumperMCHits |
|
|
PrCSVDumperEventInfo |
|
The classes in this implementation are well-documented.
The
PrCSVDumperVPHits
,PrCSVDumperUTHits
andPrCSVDumperFTHits
algorithms, are responsible for dumping the hits in the Velo, UT, and SciFi detectors, respectively.The
PrCSVDumperMCParticles
algorithm only dumps the MC particles that have hits in order to save space and time, if the parameterAllMCParticles
is set tofalse
.
Configuration in Moore#
The functions that allow to run the algorithms from Moore are defined in
RecoConf.persistence_csv
.
Function |
Parameters |
Corresponding algorithm |
Output file |
---|---|---|---|
|
- |
|
|
|
- |
|
|
|
- |
|
|
|
- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In addition to the parameters listed in this table, all of these functions also take the following input parameters:
output_path
: the path where the CSV file should be storederase
: whether or not to overwrite any existing CSV file at the specifiedoutput_path
location.