BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnFillTrigInfoDst.h
Go to the documentation of this file.
1/********************************************************************************
2 * BmnFillTrigInfoDst.h *
3 * Fill Trigger information from DIGI chain into DST chain *
4 * Sergei Merts *
5 * Created: May 26 2023 *
6 *******************************************************************************/
7#ifndef BMNFILLTRIGINFODST_H
8#define BMNFILLTRIGINFODST_H
9
10#include "BmnEventHeader.h"
11#include "BmnTask.h"
12#include "BmnTrigInfoDst.h"
13#include "DigiRunHeader.h"
14#include "TClonesArray.h"
15#include "TF1.h"
16#include "TGraph.h"
17
18class BmnFillTrigInfoDst : public BmnTask
19{
20 public:
21 /** Default constructor **/
23 /** Constructor with flag whether experimental data are used **/
25
26 /** Destructor **/
28
29 /** Initialization of task at the beginning **/
30 virtual InitStatus Init();
31
32 /** Executed for each event **/
33 virtual void Exec(Option_t* opt);
34
35 /** Finish task called at the end **/
36 virtual void Finish();
37
38 private:
39 // flag whether experimental data are used in the reconstruction
42
43 // input data
52 /** Arrays for T0 calculation**/
56
57 // output data
59
60 // variables and methods for T0 calculation
62 Double_t FindTimeFromVector(vector<Double_t> vtime);
66 TF1* f_gaus;
67 TF1* f_BC1;
73
75};
76
77#endif
bool Bool_t
int Int_t
float Float_t
double Double_t
const char Option_t
#define ClassDef(name, id)
TClonesArray * fBDDigits
Double_t FindTimeFromVector(vector< Double_t > vtime)
TClonesArray * fVCDigits
TClonesArray * fBC1Digits_Bottom
DigiRunHeader * fDigiRunHeader
Arrays for T0 calculation.
~BmnFillTrigInfoDst()
Destructor.
Float_t CalculateT0(Float_t *amp)
TClonesArray * fFDDigits
BmnFillTrigInfoDst(Bool_t isExp)
Constructor with flag whether experimental data are used.
TClonesArray * fSiMDDigits
TClonesArray * fBC1Digits
void ClearTGraph(TGraph *g1)
BmnEventHeader * fDigiEventHeader
TClonesArray * fBC2Digits
virtual InitStatus Init()
Initialization of task at the beginning.
virtual void Exec(Option_t *opt)
Executed for each event.
BmnTrigInfoDst * fTrigInfo
TClonesArray * fBC1Digits_Top
virtual void Finish()
Finish task called at the end.
BmnFillTrigInfoDst()
Default constructor.
TClonesArray * fBC0Digits
BmnTask.
Definition BmnTask.h:13