Skip to content

Commit

Permalink
Change to test if it compiles with the celeritas configuration functi…
Browse files Browse the repository at this point in the history
…on definitions placed outside the dd4hep::sim namespace
  • Loading branch information
SAKIB RAHMAN committed Dec 13, 2024
1 parent e9cc08b commit 905a879
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions DDG4/include/DDG4/Celeritas.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,24 @@ namespace dd4hep {
/// Namespace for the Geant4 based simulation part of the AIDA detector description toolkit
namespace sim {

class LocalTransporter;
struct SetupOptions;
class SharedParams;

class EMPhysicsConstructor final : public G4EmStandardPhysics
{
public:
using G4EmStandardPhysics::G4EmStandardPhysics;

void ConstructProcess() override;
};

// Global shared setup options
celeritas::SetupOptions& CelerSetupOptions();
// Shared data and GPU setup
celeritas::SharedParams& CelerSharedParams();
// Thread-local transporter
celeritas::LocalTransporter& CelerLocalTransporter();
// Thread-local offload
celeritas::SimpleOffload& CelerSimpleOffload();

} /* End namespace sim */
} /* End namespace dd4hep*/

// Global shared setup options
celeritas::SetupOptions& CelerSetupOptions();
// Shared data and GPU setup
celeritas::SharedParams& CelerSharedParams();
// Thread-local transporter
celeritas::LocalTransporter& CelerLocalTransporter();
// Thread-local offload
celeritas::SimpleOffload& CelerSimpleOffload();

#endif

0 comments on commit 905a879

Please sign in to comment.