BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnFillTrigInfoDst Class Reference

#include <BmnFillTrigInfoDst.h>

Inheritance diagram for BmnFillTrigInfoDst:
Collaboration diagram for BmnFillTrigInfoDst:

Public Member Functions

 BmnFillTrigInfoDst ()
 Default constructor.
 BmnFillTrigInfoDst (Bool_t isExp)
 Constructor with flag whether experimental data are used.
 ~BmnFillTrigInfoDst ()
 Destructor.
virtual InitStatus Init ()
 Initialization of task at the beginning.
virtual void Exec (Option_t *opt)
 Executed for each event.
virtual void Finish ()
 Finish task called at the end.
 BmnFillTrigInfoDst ()
 Default constructor.
 BmnFillTrigInfoDst (Bool_t isExp)
 Constructor with flag whether experimental data are used.
 ~BmnFillTrigInfoDst ()
 Destructor.
virtual InitStatus Init ()
 Initialization of task at the beginning.
virtual void Exec (Option_t *opt)
 Executed for each event.
virtual void Finish ()
 Finish task called at the end.
Public Member Functions inherited from BmnTask
 BmnTask ()
 Default constructor.
 BmnTask (const char *name, Int_t iVerbose=1)
 Standard constructor.
virtual ~BmnTask ()
 Destroy the BmnTask object.
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
 BmnTask (const BmnTask &)=delete
BmnTask & operator= (const BmnTask &)=delete
 BmnTask ()
 Default constructor.
 BmnTask (const char *name, Int_t iVerbose=1)
 Standard constructor.
virtual ~BmnTask ()
 Destroy the BmnTask object.
virtual void OnlineWrite (const std::unique_ptr< TTree > &resultTree)
 Write task resul to tree.
 BmnTask (const BmnTask &)=delete
BmnTask & operator= (const BmnTask &)=delete

Private Member Functions

Float_t CalculateT0 (Float_t *amp)
Double_t FindTimeFromVector (vector< Double_t > vtime)
void ClearTGraph (TGraph *g1)
bool GetT0SlewingFromDb ()
Float_t CalculateT0 (Float_t *amp)
Double_t FindTimeFromVector (vector< Double_t > vtime)
void ClearTGraph (TGraph *g1)
bool GetT0SlewingFromDb ()

Private Attributes

Bool_t isExpData
bool doProcessTriggers
BmnEventHeader * fDigiEventHeader
TClonesArray * fVCDigits
TClonesArray * fBC0Digits
TClonesArray * fBC1Digits
TClonesArray * fBC2Digits
TClonesArray * fBDDigits
TClonesArray * fSiMDDigits
TClonesArray * fFDDigits
DigiRunHeader * fDigiRunHeader
 Arrays for T0 calculation.
TClonesArray * fBC1Digits_Top
TClonesArray * fBC1Digits_Bottom
BmnTrigInfoDst * fTrigInfo
TGraph * fGr4FitBC1Top
TGraph * fGr4FitBC1Bottom
TF1 * f_gaus
TF1 * f_BC1
Double_t LimitTdcLow
Double_t LimitTdcHgh
Double_t GateFitLow
Double_t GateFitHgh
Double_t LimitWvLow
Double_t LimitWvHgh
Double_t LimitLowAmpBC1T
Double_t LimitLowAmpBC1B
Int_t fnRun
Int_t fnPeriod

Detailed Description

Definition at line 18 of file BmnFillTrigInfoDst.h.

Constructor & Destructor Documentation

◆ BmnFillTrigInfoDst() [1/4]

BmnFillTrigInfoDst::BmnFillTrigInfoDst ( )

Definition at line 25 of file BmnFillTrigInfoDst.cxx.

References BmnFillTrigInfoDst().

Referenced by BmnFillTrigInfoDst(), and GetT0SlewingFromDb().

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

◆ BmnFillTrigInfoDst() [2/4]

BmnFillTrigInfoDst::BmnFillTrigInfoDst ( Bool_t isExp)

Definition at line 32 of file BmnFillTrigInfoDst.cxx.

References BmnTask::BmnTask(), doProcessTriggers, fBC0Digits, fBC1Digits, fBC1Digits_Bottom, fBC1Digits_Top, fBC2Digits, fBDDigits, fDigiEventHeader, fFDDigits, fnPeriod, fnRun, fSiMDDigits, fTrigInfo, fVCDigits, and isExpData.

Here is the call graph for this function:

◆ ~BmnFillTrigInfoDst() [1/2]

BmnFillTrigInfoDst::~BmnFillTrigInfoDst ( )

Definition at line 55 of file BmnFillTrigInfoDst.cxx.

References fTrigInfo.

◆ BmnFillTrigInfoDst() [3/4]

BmnFillTrigInfoDst::BmnFillTrigInfoDst ( )

◆ BmnFillTrigInfoDst() [4/4]

BmnFillTrigInfoDst::BmnFillTrigInfoDst ( Bool_t isExp)

◆ ~BmnFillTrigInfoDst() [2/2]

BmnFillTrigInfoDst::~BmnFillTrigInfoDst ( )

Member Function Documentation

◆ CalculateT0() [1/2]

Float_t BmnFillTrigInfoDst::CalculateT0 ( Float_t * amp)
private

Definition at line 208 of file BmnFillTrigInfoDst.cxx.

References ClearTGraph(), f_BC1, f_gaus, fBC1Digits_Bottom, fBC1Digits_Top, fGr4FitBC1Bottom, fGr4FitBC1Top, FindTimeFromVector(), GateFitHgh, GateFitLow, BmnTrigWaveDigit::GetNSamples(), BmnTrigWaveDigit::GetValue(), LimitLowAmpBC1B, LimitLowAmpBC1T, LimitWvHgh, LimitWvLow, TMath::Sqrt(), and BmnTrigWaveDigit::TdcVector().

Referenced by Exec().

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

◆ CalculateT0() [2/2]

Float_t BmnFillTrigInfoDst::CalculateT0 ( Float_t * amp)
private

◆ ClearTGraph() [1/2]

void BmnFillTrigInfoDst::ClearTGraph ( TGraph * g1)
private

Definition at line 293 of file BmnFillTrigInfoDst.cxx.

References TGraph::GetN(), and TGraph::RemovePoint().

Referenced by CalculateT0().

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

◆ ClearTGraph() [2/2]

void BmnFillTrigInfoDst::ClearTGraph ( TGraph * g1)
private

◆ Exec() [1/2]

void BmnFillTrigInfoDst::Exec ( Option_t * opt)
virtual

Definition at line 130 of file BmnFillTrigInfoDst.cxx.

References CalculateT0(), doProcessTriggers, fBC0Digits, fBC1Digits, fBC1Digits_Bottom, fBC1Digits_Top, fBC2Digits, fBDDigits, fDigiEventHeader, fFDDigits, fnPeriod, fSiMDDigits, fTrigInfo, fVCDigits, BmnTrigWaveDigit::GetIntegral(), BmnTrigWaveDigit::GetPeak(), isExpData, TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and workTime.

Here is the call graph for this function:

◆ Exec() [2/2]

virtual void BmnFillTrigInfoDst::Exec ( Option_t * opt)
virtual

◆ FindTimeFromVector() [1/2]

Double_t BmnFillTrigInfoDst::FindTimeFromVector ( vector< Double_t > vtime)
private

Definition at line 282 of file BmnFillTrigInfoDst.cxx.

References i, LimitTdcHgh, and LimitTdcLow.

Referenced by CalculateT0().

Here is the caller graph for this function:

◆ FindTimeFromVector() [2/2]

Double_t BmnFillTrigInfoDst::FindTimeFromVector ( vector< Double_t > vtime)
private

◆ Finish() [1/2]

void BmnFillTrigInfoDst::Finish ( )
virtual

Definition at line 201 of file BmnFillTrigInfoDst.cxx.

References workTime.

◆ Finish() [2/2]

◆ GetT0SlewingFromDb() [1/2]

bool BmnFillTrigInfoDst::GetT0SlewingFromDb ( )
private

Definition at line 304 of file BmnFillTrigInfoDst.cxx.

References TBufferJSON::ConvertFromJSON(), f_BC1, fnPeriod, fnRun, GateFitHgh, GateFitLow, UniDetectorParameter::GetDetectorParameter(), UniDetectorParameter::GetValue(), LimitLowAmpBC1B, LimitLowAmpBC1T, LimitTdcHgh, LimitTdcLow, LimitWvHgh, LimitWvLow, and JsonValue::value.

Referenced by Init().

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

◆ GetT0SlewingFromDb() [2/2]

bool BmnFillTrigInfoDst::GetT0SlewingFromDb ( )
private

References BmnFillTrigInfoDst(), f_BC1, f_gaus, fGr4FitBC1Bottom, fGr4FitBC1Top, fnPeriod, fnRun, GateFitHgh, GateFitLow, LimitLowAmpBC1B, LimitLowAmpBC1T, LimitTdcHgh, LimitTdcLow, LimitWvHgh, and LimitWvLow.

Here is the call graph for this function:

◆ Init() [1/2]

InitStatus BmnFillTrigInfoDst::Init ( )
virtual

Definition at line 63 of file BmnFillTrigInfoDst.cxx.

References doProcessTriggers, f_gaus, fBC0Digits, fBC1Digits, fBC1Digits_Bottom, fBC1Digits_Top, fBC2Digits, fBDDigits, fDigiEventHeader, fDigiRunHeader, fFDDigits, fGr4FitBC1Bottom, fGr4FitBC1Top, fnPeriod, fnRun, fSiMDDigits, fTrigInfo, fVCDigits, GetT0SlewingFromDb(), and isExpData.

Here is the call graph for this function:

◆ Init() [2/2]

virtual InitStatus BmnFillTrigInfoDst::Init ( )
virtual

Member Data Documentation

◆ doProcessTriggers

bool BmnFillTrigInfoDst::doProcessTriggers
private

Definition at line 41 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ f_BC1

TF1 * BmnFillTrigInfoDst::f_BC1
private

Definition at line 67 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().

◆ f_gaus

TF1 * BmnFillTrigInfoDst::f_gaus
private

Definition at line 66 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), GetT0SlewingFromDb(), and Init().

◆ fBC0Digits

TClonesArray * BmnFillTrigInfoDst::fBC0Digits
private

Definition at line 46 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fBC1Digits

TClonesArray * BmnFillTrigInfoDst::fBC1Digits
private

Definition at line 47 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fBC1Digits_Bottom

TClonesArray * BmnFillTrigInfoDst::fBC1Digits_Bottom
private

Definition at line 55 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), CalculateT0(), Exec(), Finish(), and Init().

◆ fBC1Digits_Top

TClonesArray * BmnFillTrigInfoDst::fBC1Digits_Top
private

Definition at line 54 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), CalculateT0(), Exec(), Finish(), and Init().

◆ fBC2Digits

TClonesArray * BmnFillTrigInfoDst::fBC2Digits
private

Definition at line 48 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fBDDigits

TClonesArray * BmnFillTrigInfoDst::fBDDigits
private

Definition at line 49 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fDigiEventHeader

BmnEventHeader * BmnFillTrigInfoDst::fDigiEventHeader
private

Definition at line 44 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fDigiRunHeader

DigiRunHeader * BmnFillTrigInfoDst::fDigiRunHeader
private

Definition at line 53 of file BmnFillTrigInfoDst.h.

Referenced by Finish(), and Init().

◆ fFDDigits

TClonesArray * BmnFillTrigInfoDst::fFDDigits
private

Definition at line 51 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fGr4FitBC1Bottom

TGraph * BmnFillTrigInfoDst::fGr4FitBC1Bottom
private

Definition at line 65 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), GetT0SlewingFromDb(), and Init().

◆ fGr4FitBC1Top

TGraph * BmnFillTrigInfoDst::fGr4FitBC1Top
private

Definition at line 65 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), GetT0SlewingFromDb(), and Init().

◆ fnPeriod

Int_t BmnFillTrigInfoDst::fnPeriod
private

Definition at line 72 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), GetT0SlewingFromDb(), and Init().

◆ fnRun

Int_t BmnFillTrigInfoDst::fnRun
private

Definition at line 72 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), GetT0SlewingFromDb(), and Init().

◆ fSiMDDigits

TClonesArray * BmnFillTrigInfoDst::fSiMDDigits
private

Definition at line 50 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fTrigInfo

BmnTrigInfoDst * BmnFillTrigInfoDst::fTrigInfo
private

Definition at line 58 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), ~BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ fVCDigits

TClonesArray * BmnFillTrigInfoDst::fVCDigits
private

Definition at line 45 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ GateFitHgh

Double_t BmnFillTrigInfoDst::GateFitHgh
private

Definition at line 69 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().

◆ GateFitLow

Double_t BmnFillTrigInfoDst::GateFitLow
private

Definition at line 69 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().

◆ isExpData

Bool_t BmnFillTrigInfoDst::isExpData
private

Definition at line 40 of file BmnFillTrigInfoDst.h.

Referenced by BmnFillTrigInfoDst(), Exec(), Finish(), and Init().

◆ LimitLowAmpBC1B

Double_t BmnFillTrigInfoDst::LimitLowAmpBC1B
private

Definition at line 71 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().

◆ LimitLowAmpBC1T

Double_t BmnFillTrigInfoDst::LimitLowAmpBC1T
private

Definition at line 71 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().

◆ LimitTdcHgh

Double_t BmnFillTrigInfoDst::LimitTdcHgh
private

Definition at line 68 of file BmnFillTrigInfoDst.h.

Referenced by FindTimeFromVector(), and GetT0SlewingFromDb().

◆ LimitTdcLow

Double_t BmnFillTrigInfoDst::LimitTdcLow
private

Definition at line 68 of file BmnFillTrigInfoDst.h.

Referenced by FindTimeFromVector(), and GetT0SlewingFromDb().

◆ LimitWvHgh

Double_t BmnFillTrigInfoDst::LimitWvHgh
private

Definition at line 70 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().

◆ LimitWvLow

Double_t BmnFillTrigInfoDst::LimitWvLow
private

Definition at line 70 of file BmnFillTrigInfoDst.h.

Referenced by CalculateT0(), and GetT0SlewingFromDb().


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