preprocessor now filters debug output
This commit is contained in:
@@ -25,7 +25,9 @@ std::shared_ptr<Injector> buildInjector(
|
||||
json_object_foreach(array, key, value) {
|
||||
std::string specie_name =
|
||||
json_string(json_object_by_path(value, {"TrackedSpecieName"}));
|
||||
#ifdef debug_level3
|
||||
DEBUG_LEVEL_3("Injected specie: " + specie_name);
|
||||
#endif
|
||||
InjectorInfo info;
|
||||
info.created_specie = tracked_species[specie_name];
|
||||
|
||||
@@ -41,7 +43,9 @@ std::shared_ptr<Injector> buildInjector(
|
||||
}
|
||||
|
||||
// EventPositionDistribution
|
||||
#ifdef debug_level2
|
||||
DEBUG_LEVEL_2("Creating event distribution.");
|
||||
#endif
|
||||
std::shared_ptr<ScalarField> field = buildScalarField(json_object_by_path(
|
||||
object, {"EventPositionDistribution", "ScalarField"}));
|
||||
|
||||
@@ -80,7 +84,9 @@ std::shared_ptr<Injector> buildInjector(
|
||||
position_limit_phi, position_limit_z));
|
||||
|
||||
// MotherDriftVelocity
|
||||
#ifdef debug_level2
|
||||
DEBUG_LEVEL_2("Creating mother drift velocity.");
|
||||
#endif
|
||||
std::shared_ptr<DriftVelocity> drift_velocity = buildDriftVelocity(
|
||||
parameter, json_path_append(path_to_injector, {"MotherDriftVelocity"}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user