12#ifndef O2_MC_APPLICATION_H
13#define O2_MC_APPLICATION_H
15#include "FairMCApplication.h"
23#include <FairRootManager.h>
24#include <FairDetector.h>
26#include <fairmq/FwdDecls.h>
51 fStack->FillTrackArray();
52 fStack->UpdateTrackIndex(fActiveDetectors);
61 for (
auto det : listActiveDetectors) {
77 LOG(
debug) <<
"O2MCApplication: Init primaries from external buffer " <<
mPrimaries.size();
Definition of the Stack class.
void finishEventCommon()
some common parts of finishEvent
o2::data::SubEventInfo * mSubEventInfo
generic channel on which to send sim data
fair::mq::Channel * mSimDataChannel
std::vector< o2::base::Detector * > mActiveO2Detectors
what are we currently processing?
void setSimDataChannel(fair::mq::Channel *channel)
void GeneratePrimaries() override
void attachSubEventInfo(fair::mq::Parts &, o2::data::SubEventInfo const &info) const
~O2MCApplication() override=default
void FinishEvent() override
void setPrimaries(std::vector< TParticle > const &p)
std::vector< TParticle > mPrimaries
ClassDefOverride(O2MCApplication, 1)
active (data taking) o2 detectors
void setSubEventInfo(o2::data::SubEventInfo *i)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"