From 7c9a9900d2e5c2b6300fd5e2491660ee4f928dc3 Mon Sep 17 00:00:00 2001 From: Andrew Strong <aws@olga4.opt.rzg.mpg.de> Date: Tue, 21 Jul 2020 09:55:37 +0200 Subject: [PATCH] gen_source_population.cc: if(1) generate Fermi catalogue to file, for possible control later. start and end to cout --- source/gen_source_population.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/gen_source_population.cc b/source/gen_source_population.cc index b14bf22..166a707 100644 --- a/source/gen_source_population.cc +++ b/source/gen_source_population.cc @@ -370,8 +370,9 @@ int Galplot::gen_source_population() } sourcepop5.verbose=4; + cout<<"before sourcepop5.gen_sample_Fermi_catalogue"<<endl; sourcepop5.gen_sample(seed); - cout<<"after sourcepop5.gen_sample_Fermi_catalogue"<<endl; + cout<<"after sourcepop5.gen_sample_Fermi_catalogue"<<endl; sourcepop5.print(); @@ -390,9 +391,10 @@ int Galplot::gen_source_population() strcat(Fermi_catalogue_from_popsyn_sample_file,".fits"); - - + cout<<"starting gen_Fermi_catalogue_from_sample"<<endl; + if(1) //AWS20200721 sourcepop5.gen_Fermi_catalogue_from_sample(configure.fits_directory,Fermi_catalogue_from_popsyn_sample_file, options); //AWS20110829 + cout<<"finished gen_Fermi_catalogue_from_sample"<<endl; // copy healpix skymaps to standard place for use in Fermi profiles. -- GitLab