File: errrisk1405.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-- 760 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//#define XERR
#include "screening.ih"

// called from radiationrisk.cc
// index is the biRad column index to use with BC
// and 0 when used with LC, as LC has no dose variation.


// static
void Screening::errRisk1405(DoubleVect &vect,
                            Modalities const &modalities,
                            Round const &round, uint16_t index,
                            double beta, double eta)
{
                                    // visit all subsequent ages, and compute
                                    // beir7Err separately for each age
                                    // (beir7err2.cc)
    for (uint16_t age = round.rndAge() + 1; age != END_AGE; ++age)
        vect[age] *= beir7Err(age, round, index, beta, eta, modalities);
}