BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
bmn::online::ReconstructionProcessor Struct Reference
Inheritance diagram for bmn::online::ReconstructionProcessor:
Collaboration diagram for bmn::online::ReconstructionProcessor:

Protected Member Functions

void Init () override
void InitTask () override
void ResetTask () override
Bool_t SetupExperimentalRun (std::unique_ptr< TTree > &inputTree, Int_t &runNumber)
void RegisterBranches (std::unique_ptr< TTree > &inputTree)
void UploadData (std::unique_ptr< TTree > &inputTree)
void InitializeReconstructionTasks (Int_t runNumber)
Bool_t HandleData (fair::mq::MessagePtr &inputMessage, Int_t)

Static Protected Attributes

static constexpr auto INPUT_CHANNEL_NAME = "in-channel"
static constexpr auto OUTPUT_CHANNEL_NAME = "out-channel"

Private Attributes

Long64_t fCurrentEvent = 0
Int_t fRunPeriod = 0
std::vector< std::unique_ptr< BmnTask > > fTasks
std::unordered_map< std::string, std::unique_ptr< TClonesArray > > fRegisteredBranches
std::unique_ptr< FairRunAna > fRunAna

Detailed Description

Definition at line 37 of file reco_processor.cxx.

Member Function Documentation

◆ HandleData()

Bool_t bmn::online::ReconstructionProcessor::HandleData ( fair::mq::MessagePtr & inputMessage,
Int_t  )
inlineprotected

Definition at line 287 of file reco_processor.cxx.

References fCurrentEvent, fTasks, InitializeReconstructionTasks(), OUTPUT_CHANNEL_NAME, RegisterBranches(), SetupExperimentalRun(), and UploadData().

Referenced by Init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

void bmn::online::ReconstructionProcessor::Init ( )
inlineoverrideprotected

Definition at line 43 of file reco_processor.cxx.

References HandleData(), and INPUT_CHANNEL_NAME.

Here is the call graph for this function:

◆ InitializeReconstructionTasks()

void bmn::online::ReconstructionProcessor::InitializeReconstructionTasks ( Int_t runNumber)
inlineprotected

no inheritance from BmnTask

no inheritance from BmnTask

no inheritance from BmnTask

no inheritance from BmnTask

Definition at line 144 of file reco_processor.cxx.

References fRunPeriod, fTasks, kTOF1, and kTOF701.

Referenced by HandleData().

Here is the caller graph for this function:

◆ InitTask()

void bmn::online::ReconstructionProcessor::InitTask ( )
inlineoverrideprotected

Definition at line 45 of file reco_processor.cxx.

References fRegisteredBranches, fRunAna, fRunPeriod, and fTasks.

◆ RegisterBranches()

void bmn::online::ReconstructionProcessor::RegisterBranches ( std::unique_ptr< TTree > & inputTree)
inlineprotected

Definition at line 114 of file reco_processor.cxx.

References fRegisteredBranches.

Referenced by HandleData().

Here is the caller graph for this function:

◆ ResetTask()

void bmn::online::ReconstructionProcessor::ResetTask ( )
inlineoverrideprotected

Definition at line 59 of file reco_processor.cxx.

References fTasks.

◆ SetupExperimentalRun()

Bool_t bmn::online::ReconstructionProcessor::SetupExperimentalRun ( std::unique_ptr< TTree > & inputTree,
Int_t & runNumber )
inlineprotected

Definition at line 61 of file reco_processor.cxx.

References TString::Format(), fRunAna, fRunPeriod, GeoSetup::GetLastApprovedSetupTag(), UniRun::GetRun(), and GeoSetup::LoadSetupToGeoManager().

Referenced by HandleData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UploadData()

void bmn::online::ReconstructionProcessor::UploadData ( std::unique_ptr< TTree > & inputTree)
inlineprotected

Definition at line 131 of file reco_processor.cxx.

References fRegisteredBranches.

Referenced by HandleData().

Here is the caller graph for this function:

Member Data Documentation

◆ fCurrentEvent

Long64_t bmn::online::ReconstructionProcessor::fCurrentEvent = 0
private

Definition at line 324 of file reco_processor.cxx.

Referenced by HandleData().

◆ fRegisteredBranches

std::unordered_map<std::string, std::unique_ptr<TClonesArray> > bmn::online::ReconstructionProcessor::fRegisteredBranches
private

Definition at line 328 of file reco_processor.cxx.

Referenced by InitTask(), RegisterBranches(), and UploadData().

◆ fRunAna

std::unique_ptr<FairRunAna> bmn::online::ReconstructionProcessor::fRunAna
private

Definition at line 330 of file reco_processor.cxx.

Referenced by InitTask(), and SetupExperimentalRun().

◆ fRunPeriod

Int_t bmn::online::ReconstructionProcessor::fRunPeriod = 0
private

◆ fTasks

std::vector<std::unique_ptr<BmnTask> > bmn::online::ReconstructionProcessor::fTasks
private

Definition at line 327 of file reco_processor.cxx.

Referenced by HandleData(), InitializeReconstructionTasks(), InitTask(), and ResetTask().

◆ INPUT_CHANNEL_NAME

auto bmn::online::ReconstructionProcessor::INPUT_CHANNEL_NAME = "in-channel"
staticconstexprprotected

Definition at line 40 of file reco_processor.cxx.

Referenced by Init().

◆ OUTPUT_CHANNEL_NAME

auto bmn::online::ReconstructionProcessor::OUTPUT_CHANNEL_NAME = "out-channel"
staticconstexprprotected

Definition at line 41 of file reco_processor.cxx.

Referenced by HandleData().


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