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 querySimConfig (fair::mq::Channel &channel)
 
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
 

Static Protected Member Functions

static void CustomCleanup (void *data, void *hint)
 

Detailed Description

Definition at line 52 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 56 of file O2SimDevice.h.

◆ ~O2SimDevice()

o2::devices::O2SimDevice::~O2SimDevice ( )
inlinefinal

Default destructor.

Definition at line 59 of file O2SimDevice.h.

Member Function Documentation

◆ ConditionalRun()

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

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

Definition at line 332 of file O2SimDevice.h.

◆ CustomCleanup()

static void o2::devices::O2SimDevice::CustomCleanup ( void data,
void hint 
)
inlinestaticprotected

Definition at line 84 of file O2SimDevice.h.

◆ initSim()

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

Definition at line 135 of file O2SimDevice.h.

◆ InitTask()

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

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

Definition at line 70 of file O2SimDevice.h.

◆ isWorkAvailable()

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

Definition at line 156 of file O2SimDevice.h.

◆ Kernel()

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

Definition at line 200 of file O2SimDevice.h.

◆ lateInit()

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

Definition at line 87 of file O2SimDevice.h.

◆ PostRun()

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

Definition at line 337 of file O2SimDevice.h.

◆ querySimConfig()

static bool o2::devices::O2SimDevice::querySimConfig ( fair::mq::Channel &  channel)
inlinestatic

Definition at line 96 of file O2SimDevice.h.


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