Skip to content

Commit

Permalink
Merge branch 'jgalan_bIAXO_example' of github.com:rest-for-physics/ax…
Browse files Browse the repository at this point in the history
…ionlib into jgalan_bIAXO_example
  • Loading branch information
jgalan committed May 29, 2024
2 parents f56a4a9 + 4365fa3 commit 74bad1c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/03.IAXO/GenerateSignalComponents.C
Original file line number Diff line number Diff line change
@@ -1,10 +1,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 skipSteps = 1)
{
TRestAxionField field;
std::vector<std::pair<Double_t, Double_t>> scanSteps = field.GetMassDensityScanning( "He", 0.25, 20 ); // Up to 0.25 eV
Int_t GenerateSignalComponents(std::string rmlFile, std::string name,
Double_t totalExposureTime = 1.5 * 300 * 12 * 3600, size_t skipSteps = 1) {
TRestAxionField field;
std::vector<std::pair<Double_t, Double_t>> scanSteps =
field.GetMassDensityScanning("He", 0.25, 20); // Up to 0.25 eV

TRestAxionHelioscopeSignal gasPhase(rmlFile.c_str(), name.c_str());
std::filesystem::path filePath = rmlFile;
Expand Down

0 comments on commit 74bad1c

Please sign in to comment.