ATLAS Offline Software
Loading...
Searching...
No Matches
CelerOffload.cxx
Go to the documentation of this file.
1#include "CelerOffload.h"
2
3#include "accel/TrackingManagerIntegration.hh"
4#include "G4Threading.hh"
5
6namespace G4UA {
8 {
9 ATH_MSG_INFO( "Constructor " << "tid: " << G4Threading::G4GetThreadId() );
10 celeritas::TrackingManagerIntegration::Instance();
11 // Set options from constructor arg (from Tool?)
12 }
13
15 {
16 ATH_MSG_INFO( "Begin of Run" );
17 celeritas::TrackingManagerIntegration::Instance().BeginOfRunAction(run);
18 }
19
21 {
22 ATH_MSG_INFO( "End of Run" );
23 celeritas::TrackingManagerIntegration::Instance().EndOfRunAction(run);
24 }
25}
#define ATH_MSG_INFO(x)
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
virtual void EndOfRunAction(const G4Run *) override
virtual void BeginOfRunAction(const G4Run *) override
int run(int argc, char *argv[])