Project
Loading...
Searching...
No Matches
o2::devices::O2SimDevice Class Referencefinal

#include <O2SimDevice.h>

Inherits fair::mq::Device.

Public Member Functions

 O2SimDevice ()=default
 
 O2SimDevice (o2::steer::O2MCApplication *vmcapp, TVirtualMC *vmc)
 
 ~O2SimDevice () final
 Default destructor.
 
void lateInit ()
 
bool isWorkAvailable (fair::mq::Channel &statuschannel, int workerID=-1)
 
bool Kernel (int workerID, fair::mq::Channel &requestchannel, fair::mq::Channel &dataoutchannel, fair::mq::Channel *statuschannel=nullptr)
 

Static Public Member Functions

static bool initSim (fair::mq::Channel &channel, std::unique_ptr< FairRunSim > &simptr)
 

Protected Member Functions

void InitTask () final
 Overloads the InitTask() method of fair::mq::Device.
 
bool ConditionalRun () final
 Overloads the ConditionalRun() method of fair::mq::Device.
 
void PostRun () final
 

Detailed Description

Definition at line 40 of file O2SimDevice.h.

Constructor & Destructor Documentation

◆ O2SimDevice() [1/2]

o2::devices::O2SimDevice::O2SimDevice ( )
default

◆ O2SimDevice() [2/2]

o2::devices::O2SimDevice::O2SimDevice ( o2::steer::O2MCApplication *  vmcapp,
TVirtualMC *  vmc 
)
inline

Definition at line 44 of file O2SimDevice.h.

◆ ~O2SimDevice()

o2::devices::O2SimDevice::~O2SimDevice ( )
final

Default destructor.

Definition at line 37 of file O2SimDevice.cxx.

Member Function Documentation

◆ ConditionalRun()

bool o2::devices::O2SimDevice::ConditionalRun ( )
finalprotected

Overloads the ConditionalRun() method of fair::mq::Device.

Definition at line 261 of file O2SimDevice.cxx.

◆ initSim()

bool o2::devices::O2SimDevice::initSim ( fair::mq::Channel &  channel,
std::unique_ptr< FairRunSim > &  simptr 
)
static

Definition at line 66 of file O2SimDevice.cxx.

◆ InitTask()

void o2::devices::O2SimDevice::InitTask ( )
finalprotected

Overloads the InitTask() method of fair::mq::Device.

Definition at line 46 of file O2SimDevice.cxx.

◆ isWorkAvailable()

bool o2::devices::O2SimDevice::isWorkAvailable ( fair::mq::Channel &  statuschannel,
int  workerID = -1 
)

Definition at line 87 of file O2SimDevice.cxx.

◆ Kernel()

bool o2::devices::O2SimDevice::Kernel ( int  workerID,
fair::mq::Channel &  requestchannel,
fair::mq::Channel &  dataoutchannel,
fair::mq::Channel *  statuschannel = nullptr 
)

Definition at line 131 of file O2SimDevice.cxx.

◆ lateInit()

void o2::devices::O2SimDevice::lateInit ( )

Definition at line 60 of file O2SimDevice.cxx.

◆ PostRun()

void o2::devices::O2SimDevice::PostRun ( )
finalprotected

Definition at line 266 of file O2SimDevice.cxx.


The documentation for this class was generated from the following files: