Function crpropa::DintPropagation

Function Documentation

void crpropa::DintPropagation(const std::string &inputfile, const std::string &outputfile, int IRFlag = 4, int RadioFlag = 4, double magneticFieldStrength = 1E-13, double aCutcascade_Magfield = 0)

Calculate the electromagnetic cascade with DINT

Parameters
  • inputfile – input in PhotonOutput1D format

  • outputfile – output spectrum (photons, electrons, positrons)

  • IRFlag – EBL background 0: high, 1: low, 2: Primack, 4: Stecker’06

  • RadioFlag – radio background 0: high, 1: medium, 2: obs, 3: none, 4: Protheroe’96

  • magneticFieldStrength – magnetic field strength [T], default = 1 nG

  • aCutcascade_Magfield – a-parameter, see CRPropa 2 paper