7#ifndef BMNFILLDSTTASK_H
8#define BMNFILLDSTTASK_H
10#include "BmnEventHeader.h"
11#include "BmnMCInfoDst.h"
14#include "DstEventHeader.h"
15#include "DstRunHeader.h"
16#include "FairMCEventHeader.h"
36 Int_t period_number = -1,
37 Int_t run_number = -1);
#define ClassDef(name, id)
virtual void Exec(Option_t *opt)
Executed for each event.
DstRunHeader * fRunHeader
Output BmnRunHeader.
virtual InitStatus ReInit()
ReInitialization of task when the runID/file changes.
void InitParticleInfo()
Fill map with weight-charge of possible particles.
virtual void SetParContainers()
Load the parameter container from the runtime database.
Int_t fRunNumber
run number
Long64_t fNStartEvent
start event from which the processing is started
void Reset()
Reset variables between events.
TClonesArray * fMCTracks
Input Monte-Carlo tracks from Simulation File.
Long64_t fNEvents
event count to be processed
virtual void Finish()
Finish task called at the end.
BmnEventHeader * fEventHeader
Input BmnEventHeader from Experimental Digit File.
void SetRunNumber(Int_t period_number, Int_t run_number)
Setting period-number information to fill RunHeader.
FairMCEventHeader * fMCEventHeader
Input MCEventHeader from Simulation File.
BmnFillDstTask(Long64_t nStartEvent, Long64_t nEvents)
Constructor with start event and event number to be processed, and autodefinition whether experimenta...
void DoZCalibration(Bool_t cal)
BmnFillDstTask(Long64_t nStartEvent, Long64_t nEvents, Bool_t isExp, Int_t period_number=-1, Int_t run_number=-1)
Constructor with start event and event number to be processed, experimental data flag,...
DstEventHeader * fDstHeader
Output DstEventHeader prepared in FairRunAna.
CbmVertex * fPrimaryVertex
pointer to primary vertex in the current event
bool autoSetHeaders()
set headers with autodefinition whether experimental or simulation data are used
virtual InitStatus Init()
Initialization of task at the beginning.
Long64_t fIEvent
current event being processed for progress bar
BmnFillDstTask(const BmnFillDstTask &)=delete
BmnFillDstTask operator=(const BmnFillDstTask &)=delete
Int_t fPeriodNumber
period number
TClonesArray * fGlobalTracks
pointer to global tracks in the current event
Double_t fZCalib1
z calibration parameters:
BmnFillDstTask()
Default constructor.
BmnMCInfoDst * fMCInfoDst
Output MC Information for physics analysis.
map< TString, stParticleInfo > mapParticleInfo
map with particle names and corresponding weight-charge pairs
~BmnFillDstTask()
Destructor.