@@ -20,25 +20,25 @@ vector<GparticlePtr> getGParticles(GOptions* gopts, std::shared_ptr<GLogger>& lo
2020 gparticles.emplace_back (std::make_unique<Gparticle>(
2121 gopts->get_variable_in_option <string>(gparticle_item, " name" , goptions::NODFLT ),
2222 gopts->get_variable_in_option <int >(gparticle_item, " multiplicity" , 1 ),
23- gopts->get_variable_in_option <float >(gparticle_item, " p" , GPARTICLENOTDEFINED ),
24- gopts->get_variable_in_option <float >(gparticle_item, " delta_p" , 0 ),
23+ gopts->get_variable_in_option <double >(gparticle_item, " p" , GPARTICLENOTDEFINED ),
24+ gopts->get_variable_in_option <double >(gparticle_item, " delta_p" , 0 ),
2525 gopts->get_variable_in_option <string>(gparticle_item, " punit" , " MeV" ),
2626 gopts->get_variable_in_option <string>(gparticle_item, " randomMomentumModel" , " uniform" ),
2727
28- gopts->get_variable_in_option <float >(gparticle_item, " theta" , 0 ),
29- gopts->get_variable_in_option <float >(gparticle_item, " delta_theta" , 0 ),
28+ gopts->get_variable_in_option <double >(gparticle_item, " theta" , 0 ),
29+ gopts->get_variable_in_option <double >(gparticle_item, " delta_theta" , 0 ),
3030 gopts->get_variable_in_option <string>(gparticle_item, " randomThetaModel" , " uniform" ),
31- gopts->get_variable_in_option <float >(gparticle_item, " phi" , 0 ),
32- gopts->get_variable_in_option <float >(gparticle_item, " delta_phi" , 0 ),
31+ gopts->get_variable_in_option <double >(gparticle_item, " phi" , 0 ),
32+ gopts->get_variable_in_option <double >(gparticle_item, " delta_phi" , 0 ),
3333 gopts->get_variable_in_option <string>(gparticle_item, " aunit" , " deg" ),
3434
35- gopts->get_variable_in_option <float >(gparticle_item, " vx" , 0 ),
36- gopts->get_variable_in_option <float >(gparticle_item, " vy" , 0 ),
37- gopts->get_variable_in_option <float >(gparticle_item, " vz" , 0 ),
35+ gopts->get_variable_in_option <double >(gparticle_item, " vx" , 0 ),
36+ gopts->get_variable_in_option <double >(gparticle_item, " vy" , 0 ),
37+ gopts->get_variable_in_option <double >(gparticle_item, " vz" , 0 ),
3838
39- gopts->get_variable_in_option <float >(gparticle_item, " delta_vx" , 0 ),
40- gopts->get_variable_in_option <float >(gparticle_item, " delta_vy" , 0 ),
41- gopts->get_variable_in_option <float >(gparticle_item, " delta_vz" , 0 ),
39+ gopts->get_variable_in_option <double >(gparticle_item, " delta_vx" , 0 ),
40+ gopts->get_variable_in_option <double >(gparticle_item, " delta_vy" , 0 ),
41+ gopts->get_variable_in_option <double >(gparticle_item, " delta_vz" , 0 ),
4242 gopts->get_variable_in_option <string>(gparticle_item, " vunit" , " cm" ),
4343
4444 gopts->get_variable_in_option <string>(gparticle_item, " randomVertexModel" , " uniform" ),
0 commit comments