Skip to content

Commit

Permalink
GenerateSignalComponents.C updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalan committed Jun 9, 2024
1 parent ac1d62d commit 1763269
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/03.IAXO/GenerateSignalComponents.C
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ Double_t Eo = 0.5; // keV
Double_t Ef = 10; // keV

Int_t GenerateSignalComponents(std::string rmlFile, std::string name,
Double_t totalExposureTime = 1.5 * 300 * 12 * 3600, size_t firstSteps = 5,
Double_t firstStepsExposure = 0.5 * 300 * 12 * 3600) {
Double_t totalYears = 1.5, size_t firstSteps = 5, Double_t firstYears = 0.5) {

Double_t totalExposureTime = totalYears * 365. * 12 * 3600;
Double_t firstStepsExposure = firstYears * 365. * 12 * 3600;

TRestAxionField field;
std::vector<std::pair<Double_t, Double_t>> scanSteps =
field.GetMassDensityScanning("He", 0.25, 20); // Up to 0.25 eV
Expand Down

0 comments on commit 1763269

Please sign in to comment.