File: loop1.cc

package info (click to toggle)
simrisc 16.05.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,877; fortran: 665; makefile: 112; ansic: 112; sh: 107
file content (20 lines) | stat: -rw-r--r-- 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#define XERR
#include "loop.ih"

    // by analysis/run.cc

Loop::Loop(StringVect const &labels)
:
    d_options(Options::instance()),
    d_labels(labels),
    d_tumor(d_tumorInfo),
    d_modalities(d_tumor),
    d_screening(d_modalities),
    d_nRounds(d_screening.nRounds()),
    d_firstRoundAge(d_nRounds == 0 ? 0 : d_screening.roundAge(0)),
    d_timestamp(DateTime{ DateTime::LOCALTIME }.rfc2822()),
    d_tnm(d_options.tnm() ? &fillTNM : &noTNM)
{
    if (Globals::isBreast())
        d_groupVector = d_densities.biRad();
}