Skip to content

Commit

Permalink
Include bayeux headers with explicit bayeux/ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
drbenmorgan committed Mar 15, 2021
1 parent 1e8a44a commit cf38e71
Show file tree
Hide file tree
Showing 55 changed files with 205 additions and 205 deletions.
4 changes: 2 additions & 2 deletions modules/SNSimulation/snsim/base_physics_constructor.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

// Third party:
// - Bayeux/datatools :
#include <datatools/factory_macros.h>
#include <datatools/i_tree_dump.h>
#include <bayeux/datatools/factory_macros.h>
#include <bayeux/datatools/i_tree_dump.h>
// - Geant4
#include <G4VPhysicsConstructor.hh>
#include <globals.hh>
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/biasing_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

// Third party:
// - Bayeux/datatools :
#include <datatools/logger.h>
#include <bayeux/datatools/logger.h>

namespace datatools {
// Forward declaration:
Expand Down
10 changes: 5 additions & 5 deletions modules/SNSimulation/snsim/detector_construction.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
// - Boost :
#include <boost/scoped_ptr.hpp>
// - Bayeux/datatools :
#include <datatools/multi_properties.h>
#include <datatools/properties.h>
#include <bayeux/datatools/multi_properties.h>
#include <bayeux/datatools/properties.h>
// - Bayeux/mygsl :
#include <mygsl/rng.h>
#include <bayeux/mygsl/rng.h>
// G4 stuff:
#include <G4VUserDetectorConstruction.hh>

// This project:
#include <bayeux/mctools/step_hit_processor_factory.h>
#include <snsim/loggable_support.h>
#include <snsim/region_tools.h>
#include <mctools/step_hit_processor_factory.h>

class G4UserLimits;
class G4VisAttributes;
Expand Down Expand Up @@ -245,7 +245,7 @@ class detector_construction : public G4VUserDetectorConstruction, public loggabl
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::detector_construction)

#endif // SNSIM_DETECTOR_CONSTRUCTION_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/electromagnetic_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <G4ElectroMagneticField.hh>
#include <G4MagneticField.hh>
// - Bayeux/geomtools :
#include <geomtools/smart_id_locator.h>
#include <bayeux/geomtools/smart_id_locator.h>

// This project:
#include <snsim/loggable_support.h>
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/em_field_g4_stuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

// Third party:
// - Bayeux/datatools :
#include <datatools/i_tree_dump.h>
#include <bayeux/datatools/i_tree_dump.h>

class G4EquationOfMotion;
class G4FieldManager;
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/em_physics_constructor.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class em_physics_constructor : public base_physics_constructor {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::em_physics_constructor)

#endif // SNSIM_EM_PHYSICS_CONSTRUCTOR_H
Expand Down
6 changes: 3 additions & 3 deletions modules/SNSimulation/snsim/event_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#include <G4UserEventAction.hh>

// This project:
#include <mctools/base_step_hit_processor.h>
#include <bayeux/mctools/base_step_hit_processor.h>
#include <bayeux/mctools/simulated_data.h>
#include <snsim/loggable_support.h>
#include <mctools/simulated_data.h>

namespace datatools {
// Forward declaration:
Expand Down Expand Up @@ -132,7 +132,7 @@ class event_action : public G4UserEventAction, public loggable_support {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::event_action)

#endif // SNSIM_EVENT_ACTION_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/loggable_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Third party:
// - Bayeux/datatools :
#include <datatools/logger.h>
#include <bayeux/datatools/logger.h>

namespace datatools {
class properties;
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/magnetic_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// - Boost:
#include <boost/cstdint.hpp>
// - Bayeux/geomtools :
#include <geomtools/smart_id_locator.h>
#include <bayeux/geomtools/smart_id_locator.h>
// - Geant4:
#include <G4MagneticField.hh>

Expand Down
22 changes: 11 additions & 11 deletions modules/SNSimulation/snsim/manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@
// - Boost:
#include <boost/cstdint.hpp>
// - Bayeux/datatools :
#include <datatools/logger.h>
#include <datatools/time_tools.h>
#include <bayeux/datatools/logger.h>
#include <bayeux/datatools/time_tools.h>
// - Bayeux/mygsl :
#include <mygsl/prng_state_manager.h>
#include <mygsl/rng.h>
#include <mygsl/seed_manager.h>
#include <bayeux/mygsl/prng_state_manager.h>
#include <bayeux/mygsl/rng.h>
#include <bayeux/mygsl/seed_manager.h>
// - Bayeux/geomtools :
#include <geomtools/manager.h>
#include <bayeux/geomtools/manager.h>
// - Bayeux/genvtx :
#include <genvtx/manager.h>
#include <bayeux/genvtx/manager.h>
// - Bayeux/genbb_help :
#include <genbb_help/manager.h>
#include <bayeux/genbb_help/manager.h>

// This project:
#include <bayeux/mctools/mctools_config.h>
#include <bayeux/mctools/utils.h>
#include <snsim/loggable_support.h>
#include <mctools/mctools_config.h>
#include <mctools/utils.h>

namespace genvtx {
class manager;
Expand Down Expand Up @@ -659,7 +659,7 @@ class manager : public loggable_support {
* OCD support : interface *
***************************/

#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::manager)

#endif // SNSIM_MANAGER_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/manager_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <boost/cstdint.hpp>

// This project:
#include <mctools/utils.h>
#include <bayeux/mctools/utils.h>

namespace snsim {

Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/neutrons_physics_constructor.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class neutrons_physics_constructor : public base_physics_constructor {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::neutrons_physics_constructor)

#endif // SNSIM_NEUTRONS_PHYSICS_CONSTRUCTOR_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/particles_physics_constructor.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class particles_physics_constructor : public base_physics_constructor {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::particles_physics_constructor)

#endif // SNSIM_PARTICLES_PHYSICS_CONSTRUCTOR_H
Expand Down
4 changes: 2 additions & 2 deletions modules/SNSimulation/snsim/physics_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// - Boost:
#include <boost/scoped_ptr.hpp>
// - Bayeux/datatools :
#include <datatools/i_tree_dump.h>
#include <bayeux/datatools/i_tree_dump.h>
// - Geant4:
#include "G4VModularPhysicsList.hh"

Expand Down Expand Up @@ -168,7 +168,7 @@ class physics_list : public G4VModularPhysicsList,
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::physics_list)

#endif // SNSIM_PHYSICS_LIST_H
Expand Down
4 changes: 2 additions & 2 deletions modules/SNSimulation/snsim/physics_list_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
// - Boost :
#include <boost/cstdint.hpp>
// - Bayeux/datatools :
#include <datatools/handle.h>
#include <datatools/properties.h>
#include <bayeux/datatools/handle.h>
#include <bayeux/datatools/properties.h>
// - Geant4 :
#include <G4BuilderType.hh>
#include <G4VModularPhysicsList.hh>
Expand Down
4 changes: 2 additions & 2 deletions modules/SNSimulation/snsim/primary_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// - Geant4
#include <G4VUserPrimaryGeneratorAction.hh>
// - Bayeux/geomtools:
#include <geomtools/utils.h>
#include <bayeux/geomtools/utils.h>

// This project:
#include <snsim/loggable_support.h>
Expand Down Expand Up @@ -135,7 +135,7 @@ class primary_generator : public G4VUserPrimaryGeneratorAction, public loggable_
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::primary_generator)

#endif // SNSIM_PRIMARY_GENERATOR_H
Expand Down
6 changes: 3 additions & 3 deletions modules/SNSimulation/snsim/processes/em_extra_models.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

// Third party:
// Bayeux/datatools:
#include <datatools/enriched_base.h>
#include <datatools/properties.h>
#include <bayeux/datatools/enriched_base.h>
#include <bayeux/datatools/properties.h>

class G4EmConfigurator;

Expand Down Expand Up @@ -155,7 +155,7 @@ class em_extra_model : public datatools::enriched_base {
} // namespace snsim

// /// OCD support : interface
// #include <datatools/ocd_macros.h>
// #include <bayeux/datatools/ocd_macros.h>
// DOCD_CLASS_DECLARATION(mctools::g4::processes::em_extra_models)

#endif // SNSIM_PROCESSES_EM_EXTRA_MODELS_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/processes/em_model_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// Geant4:
#include <G4VEmModel.hh>
// Bayeux/datatools:
#include <datatools/properties.h>
#include <bayeux/datatools/properties.h>

namespace snsim {

Expand Down
12 changes: 6 additions & 6 deletions modules/SNSimulation/snsim/region_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@

// Third party:
// - Bayeux/datatools :
#include <datatools/command_utils.h>
#include <datatools/enriched_base.h>
#include <datatools/i_tree_dump.h>
#include <datatools/properties.h>
#include <bayeux/datatools/command_utils.h>
#include <bayeux/datatools/enriched_base.h>
#include <bayeux/datatools/i_tree_dump.h>
#include <bayeux/datatools/properties.h>
// - Bayeux/geomtools :
#include <geomtools/manager.h>
#include <bayeux/geomtools/manager.h>

namespace snsim {

Expand Down Expand Up @@ -148,7 +148,7 @@ class base_region_user_info : public G4VUserRegionInformation
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::region_info)

#endif // SNSIM_REGION_TOOLS_H
Expand Down
10 changes: 5 additions & 5 deletions modules/SNSimulation/snsim/run_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
#include <boost/cstdint.hpp>
#include <boost/scoped_ptr.hpp>
// - Bayeux/datatools :
#include <datatools/io_factory.h>
#include <datatools/properties.h>
#include <bayeux/datatools/io_factory.h>
#include <bayeux/datatools/properties.h>
// - Bayeux/brio :
#include <brio/writer.h>
#include <bayeux/brio/writer.h>
// - Geant4 :
#include <G4UserRunAction.hh>

// This project:
#include <bayeux/mctools/utils.h>
#include <snsim/loggable_support.h>
#include <mctools/utils.h>

namespace datatools {
class data_writer;
Expand Down Expand Up @@ -216,7 +216,7 @@ class run_action : public G4UserRunAction, public loggable_support {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::run_action)

#endif // SNSIM_RUN_ACTION_H
Expand Down
6 changes: 3 additions & 3 deletions modules/SNSimulation/snsim/sensitive_detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// - Boost:
#include <boost/cstdint.hpp>
// - Bayeux/datatools :
#include <datatools/properties.h>
#include <bayeux/datatools/properties.h>

// For C++11 support, remove once Bayeux is c++11/Geant4 10.2 only
#ifdef __clang__
Expand All @@ -39,7 +39,7 @@
#endif

// This project:
#include <mctools/base_step_hit_processor.h>
#include <bayeux/mctools/base_step_hit_processor.h>
#include <snsim/loggable_support.h>
#include <snsim/sensitive_hit.h>
#include <snsim/sensitive_hit_collection.h>
Expand Down Expand Up @@ -241,7 +241,7 @@ class sensitive_detector : public G4VSensitiveDetector, public loggable_support
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::sensitive_detector)

#endif // SNSIM_SENSITIVE_DETECTOR_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/sensitive_hit.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <G4VHit.hh>

// This project:
#include <mctools/base_step_hit.h>
#include <bayeux/mctools/base_step_hit.h>

namespace snsim {

Expand Down
8 changes: 4 additions & 4 deletions modules/SNSimulation/snsim/simulation_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

// Third party:
// - Bayeux/dpp :
#include <dpp/base_module.h>
#include <mygsl/prng_state_manager.h>
#include <mygsl/seed_manager.h>
#include <bayeux/dpp/base_module.h>
#include <bayeux/mygsl/prng_state_manager.h>
#include <bayeux/mygsl/seed_manager.h>

// This project:
#include <snsim/manager_parameters.h>
Expand Down Expand Up @@ -107,7 +107,7 @@ class simulation_module : public dpp::base_module {
} // namespace snsim

// Object configuration description (OCD) support :
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::simulation_module)

#endif // SNSIM_SIMULATION_MODULE_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/stacking_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class stacking_action : public G4UserStackingAction, public loggable_support {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::stacking_action)

#endif // SNSIM_STACKING_ACTION_H
Expand Down
2 changes: 1 addition & 1 deletion modules/SNSimulation/snsim/stepping_action.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class stepping_action : public G4UserSteppingAction, public loggable_support {
} // namespace snsim

/// OCD support : interface
#include <datatools/ocd_macros.h>
#include <bayeux/datatools/ocd_macros.h>
DOCD_CLASS_DECLARATION(snsim::stepping_action)

#endif // SNSIM_STEPPING_ACTION_H
Expand Down
Loading

0 comments on commit cf38e71

Please sign in to comment.