Skip to content
Snippets Groups Projects
Commit e151cdae authored by Alexander Kiselev's avatar Alexander Kiselev
Browse files

Changes associated with the 'radiator' field in CherenkovPdgHypothesis in eic_data.yaml

parent 513299e7
No related branches found
No related tags found
1 merge request!6Draft: recent juggler configuration changes in a local copy of testIRT.py
Pipeline #23554 failed
......@@ -97,7 +97,7 @@ make -j2 install
# Install a particular branch of the EIC data model (will become master soon);
cd /tmp/ATHENA
git clone https://eicweb.phy.anl.gov/EIC/eicd.git --branch ayk-00
git clone https://eicweb.phy.anl.gov/EIC/eicd.git --branch ayk-01
cd eicd && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
make -j2 install
......@@ -113,7 +113,7 @@ Installation
```
cd /tmp/ATHENA
git clone https://eicweb.phy.anl.gov/EIC/irt.git
git clone https://eicweb.phy.anl.gov/EIC/irt.git --branch ayk-01
cd irt && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA -DEVALUATION=YES ..
make -j2 install
......@@ -193,7 +193,7 @@ Juggler reconstruction pass
```
cd /tmp/ATHENA
git clone https://eicweb.phy.anl.gov/EIC/juggler.git --branch irt-init
git clone https://eicweb.phy.anl.gov/EIC/juggler.git --branch ayk-01
cd juggler && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
......
......@@ -87,7 +87,7 @@ int main(int argc, char** argv)
{
const eic::CherenkovPdgHypothesis *best = 0;
printf("%d %d\n", cherenkov->options_begin, cherenkov->options_end);
//printf("%d %d\n", cherenkov->options_begin, cherenkov->options_end);
for(unsigned iq=cherenkov->options_begin; iq<cherenkov->options_end; iq++) {
const auto &option = (*options)[iq];
......@@ -95,7 +95,8 @@ int main(int argc, char** argv)
if (abs(option.pdg) == 11) continue;
if (!best || option.weight > best->weight) best = &option;
printf("%3d (%5d): %5d %7.2f\n", iq, option.pdg, option.npe, option.weight);
printf("radiator %3d (pdg %5d): npe %5d, weight %7.2f\n",
option.radiator, option.pdg, option.npe, option.weight);
} //for
// Check whether the true PDG got a highest score;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment