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