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

#include <BmnHistStat.h>

Inheritance diagram for BmnHistStat:
Collaboration diagram for BmnHistStat:

Public Member Functions

 BmnHistStat (TString title, TString path="")
virtual ~BmnHistStat ()
void Reset ()
void Register (THttpServer *serv)
void SetDir (TFile *outFile=NULL, TTree *recoTree=NULL)
void DrawBoth ()
void FillFromDigi (DigiArrays *fDigiArrays)
void ClearRefRun ()
BmnStatus SetRefRun (Int_t id)
 BmnHistStat (TString title, TString path="")
virtual ~BmnHistStat ()
void Reset ()
void Register (THttpServer *serv)
void SetDir (TFile *outFile=NULL, TTree *recoTree=NULL)
void DrawBoth ()
void FillFromDigi (DigiArrays *fDigiArrays)
void ClearRefRun ()
BmnStatus SetRefRun (Int_t id)
Public Member Functions inherited from BmnHist
 BmnHist (Int_t periodID=7, BmnSetup setup=kBMNSETUP)
virtual ~BmnHist ()
void SetRefRunName (TString v)
TString GetRefRunName () const
void SetRefID (Int_t v)
Int_t GetRefID () const
void SetRefPath (TString v)
TString GetRefPath () const
void SetPeriodID (Int_t v)
Int_t GetPeriodID () const
void SetBmnSetup (BmnSetup v)
BmnSetup GetBmnSetup () const
void SetShow (Bool_t v)
Bool_t GetShow () const
 BmnHist (Int_t periodID=7, BmnSetup setup=kBMNSETUP)
virtual ~BmnHist ()
void SetRefRunName (TString v)
TString GetRefRunName () const
void SetRefID (Int_t v)
Int_t GetRefID () const
void SetRefPath (TString v)
TString GetRefPath () const
void SetPeriodID (Int_t v)
Int_t GetPeriodID () const
void SetBmnSetup (BmnSetup v)
BmnSetup GetBmnSetup () const
void SetShow (Bool_t v)
Bool_t GetShow () const
Public Member Functions inherited from TNamed
 TNamed ()
 TNamed (const char *name, const char *title)
 TNamed (const TNamed &named)
 TNamed (const TString &name, const TString &title)
virtual ~TNamed ()
void Clear (Option_t *option="") override
TObject * Clone (const char *newname="") const override
Int_t Compare (const TObject *obj) const override
void Copy (TObject &named) const override
virtual void FillBuffer (char *&buffer)
const char * GetName () const override
const char * GetTitle () const override
ULong_t Hash () const override
TClass * IsA () const override
Bool_t IsSortable () const override
void ls (Option_t *option="") const override
TNamed & operator= (const TNamed &rhs)
void Print (Option_t *option="") const override
virtual void SetName (const char *name)
virtual void SetNameTitle (const char *name, const char *title)
virtual void SetTitle (const char *title="")
virtual Int_t Sizeof () const
void Streamer (TBuffer &) override
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
Public Member Functions inherited from TObject
 TObject ()
 TObject (const TObject &object)
virtual ~TObject ()
void AbstractMethod (const char *method) const
virtual void AppendPad (Option_t *option="")
virtual void Browse (TBrowser *b)
ULong_t CheckedHash ()
virtual const char * ClassName () const
virtual void Delete (Option_t *option="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawClass () const
virtual TObject * DrawClone (Option_t *option="") const
virtual void Dump () const
virtual void Error (const char *method, const char *msgfmt,...) const
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual void Fatal (const char *method, const char *msgfmt,...) const
virtual TObject * FindObject (const char *name) const
virtual TObject * FindObject (const TObject *obj) const
virtual Option_t * GetDrawOption () const
virtual const char * GetIconName () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
virtual Option_t * GetOption () const
virtual UInt_t GetUniqueID () const
virtual Bool_t HandleTimer (TTimer *timer)
Bool_t HasInconsistentHash () const
virtual void Info (const char *method, const char *msgfmt,...) const
virtual Bool_t InheritsFrom (const char *classname) const
virtual Bool_t InheritsFrom (const TClass *cl) const
virtual void Inspect () const
void InvertBit (UInt_t f)
Bool_t IsDestructed () const
virtual Bool_t IsEqual (const TObject *obj) const
virtual Bool_t IsFolder () const
R__ALWAYS_INLINE Bool_t IsOnHeap () const
R__ALWAYS_INLINE Bool_t IsZombie () const
void MayNotUse (const char *method) const
virtual Bool_t Notify ()
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
void operator delete (void *ptr)
void operator delete (void *ptr, void *vp)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, void *vp)
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
TObject & operator= (const TObject &rhs)
virtual void Paint (Option_t *option="")
virtual void Pop ()
virtual Int_t Read (const char *name)
virtual void RecursiveRemove (TObject *obj)
void ResetBit (UInt_t f)
virtual void SaveAs (const char *filename="", Option_t *option="") const
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
virtual void SetDrawOption (Option_t *option="")
virtual void SetUniqueID (UInt_t uid)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
virtual void UseCurrentStyle ()
virtual void Warning (const char *method, const char *msgfmt,...) const
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const

Private Member Functions

void initHistDet ()
void initHistFD ()
void initHistBD ()
void initHistCorr ()
Int_t getPositionInArray (vector< TClonesArray * > *trigDigits, TString name)
void ResetTimelineCounters ()
void ResetRegistry ()
void CreateMetrics ()
void DestroyMetrics ()
BmnStatus UpdateMetrics ()
void initHistDet ()
void initHistFD ()
void initHistBD ()
void initHistCorr ()
Int_t getPositionInArray (vector< TClonesArray * > *trigDigits, TString name)
void ResetTimelineCounters ()
void ResetRegistry ()
void CreateMetrics ()
void DestroyMetrics ()
BmnStatus UpdateMetrics ()

Private Attributes

vector< TString > NamesStatDet
vector< TString > NamesStatFD
vector< TString > NamesStatBD
vector< TString > NamesStatCorr
const int32_t Max_ToF_Cnt = 301
const int32_t Max_GEM_Cnt = 5001
const int32_t Max_FSD_Cnt = 5001
const int32_t Max_CSC_Cnt = 2001
const int32_t Max_FHC_Cnt = 1001
const int32_t Max_BD_Cnt = 51
const int32_t Max_FD_Sig = 8000
TH1I * histGemStat
TH1I * histSiliconStat
TH1I * histTof400Stat
TH1I * histTof700Stat
TH1I * histCscStat
TH1I * histFHCalStat
TH2F * histFDGemStat
TH2F * histFDSiliconStat
TH2F * histFDTof400Stat
TH2F * histFDTof700Stat
TH2F * histFDCscStat
TH2F * histFDFHCalStat
TH2F * histBDGemStat
TH2F * histBDSiliconStat
TH2F * histBDTof400Stat
TH2F * histBDTof700Stat
TH2F * histBDCscStat
TH2F * histBDFHCalStat
TH2F * histGemSilicon
TH2F * histGemTof400
TH2F * histGemTof700
TH2F * histGemCsc
TH2F * histGemFHCal
TH2F * histCscFHCal
TCanvas * canStatDet
TCanvas * canStatFD
TCanvas * canStatBD
TCanvas * canStatCorr
vector< PadInfo * > canStatDetPads
vector< PadInfo * > canStatFDPads
vector< PadInfo * > canStatBDPads
vector< PadInfo * > canStatCorrPads
bool varsInitDone
int32_t fdPosition
int32_t bdPosition
int32_t bc1Position
const double Min_NBC1 = 100000
 Spill stat for DB.
uint16_t bit_filter
double sum_fsd
double sum_tof400
double sum_tof700
double sum_csc
double sum_fhcal
double sum_gem
double sum_nbc1
double nbc1
double fsd2gem
double tof4002gem
double tof7002gem
double csc2gem
double fhcal2gem
double gem2nbc1
uint64_t nevents
SysPoint last_ev_time
SysPoint last_ev_time_show
BmnEventType ev_type
BmnEventType ev_type_prev
unique_ptr< prometheus::Exposer > exposer
shared_ptr< prometheus::Registry > registry
prometheus::Family< prometheus::Gauge > * gauge_family
prometheus::Counter * counter_family
unordered_map< string, prometheus::Gauge * > gauges_by_name
bool registry_init_done
bool metrics_available

Additional Inherited Members

Public Types inherited from TObject
enum  EDeprecatedStatusBits
enum  EStatusBits
Static Public Member Functions inherited from BmnHist
static void DrawRef (unique_ptr< TCanvas > &canGemStrip, vector< PadInfo * > *canGemStripPads)
static void DrawRef (TCanvas *canGemStrip, vector< PadInfo * > *canGemStripPads)
static void DrawPad (TVirtualPad *pad, PadInfo *info)
static void FillPad (PadInfo *info, TTree *tree)
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads, vector< TString > Names)
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads)
static BmnStatus DrawPadFromTree (BmnPadBranch *br)
static void ResetPadTree (BmnPadBranch *br)
static BmnStatus FillPadFromTree (BmnPadBranch *br, TTree *tree)
static void SetHistStyleTH1 (TH1 *h)
static void DrawRef (unique_ptr< TCanvas > &canGemStrip, vector< PadInfo * > *canGemStripPads)
static void DrawRef (TCanvas *canGemStrip, vector< PadInfo * > *canGemStripPads)
static void DrawPad (TVirtualPad *pad, PadInfo *info)
static void FillPad (PadInfo *info, TTree *tree)
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads, vector< TString > Names)
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads)
static BmnStatus DrawPadFromTree (BmnPadBranch *br)
static void ResetPadTree (BmnPadBranch *br)
static BmnStatus FillPadFromTree (BmnPadBranch *br, TTree *tree)
static void SetHistStyleTH1 (TH1 *h)
Static Public Member Functions inherited from TNamed
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
Static Public Member Functions inherited from TObject
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
static Bool_t GetObjectStat ()
static void SetDtorOnly (void *obj)
static void SetObjectStat (Bool_t stat)
Public Attributes inherited from TObject
 kIsOnHeap
 kNotDeleted
 kZombie
 kInconsistent
 kBitMask
 kSingleKey
 kOverwrite
 kWriteDelete
 kObjInCanvas
 kCanDelete
 kMustCleanup
 kIsReferenced
 kHasUUID
 kCannotPick
 kNoContextMenu
 kInvalidObject
Protected Member Functions inherited from TNamed
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
void MakeZombie ()
Static Protected Member Functions inherited from TObject
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)
Protected Attributes inherited from BmnHist
Bool_t isShown
THttpServer * fServer
TTree * frecoTree
TDirectory * fDir
TString refPath
TString refRunName
Int_t refID
TFile * refFile
Int_t fPeriodID
BmnSetup fSetup
Protected Attributes inherited from TNamed
TString fName
TString fTitle
Protected Attributes inherited from TObject
 kOnlyPrepStep

Detailed Description

Definition at line 26 of file BmnHistStat.h.

Constructor & Destructor Documentation

◆ BmnHistStat() [1/2]

BmnHistStat::BmnHistStat ( TString title,
TString path = "" )

Definition at line 14 of file BmnHistStat.cxx.

References BmnHist::BmnHist(), bc1Position, bdPosition, bit_filter, counter_family, csc2gem, ev_type, ev_type_prev, fdPosition, fhcal2gem, TNamed::fName, fsd2gem, TNamed::fTitle, gauge_family, gem2nbc1, initHistBD(), initHistCorr(), initHistDet(), initHistFD(), kBMNPEDESTAL, last_ev_time, metrics_available, min(), nbc1, nevents, BmnHist::refPath, registry_init_done, sum_csc, sum_fhcal, sum_fsd, sum_gem, sum_nbc1, sum_tof400, sum_tof700, tof4002gem, tof7002gem, and varsInitDone.

Referenced by UpdateMetrics().

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

◆ ~BmnHistStat() [1/2]

◆ BmnHistStat() [2/2]

BmnHistStat::BmnHistStat ( TString title,
TString path = "" )

◆ ~BmnHistStat() [2/2]

virtual BmnHistStat::~BmnHistStat ( )
virtual

Member Function Documentation

◆ ClearRefRun() [1/2]

void BmnHistStat::ClearRefRun ( )
virtual

Implements BmnHist.

Definition at line 502 of file BmnHistStat.cxx.

References canStatDetPads, and BmnHist::refID.

◆ ClearRefRun() [2/2]

void BmnHistStat::ClearRefRun ( )
virtual

Implements BmnHist.

◆ CreateMetrics() [1/2]

void BmnHistStat::CreateMetrics ( )
private

Definition at line 126 of file BmnHistStat.cxx.

References exposer, gauge_family, gauges_by_name, metrics_available, and registry.

Referenced by FillFromDigi().

Here is the caller graph for this function:

◆ CreateMetrics() [2/2]

void BmnHistStat::CreateMetrics ( )
private

◆ DestroyMetrics() [1/2]

void BmnHistStat::DestroyMetrics ( )
private

Definition at line 167 of file BmnHistStat.cxx.

◆ DestroyMetrics() [2/2]

void BmnHistStat::DestroyMetrics ( )
private

◆ DrawBoth() [1/2]

void BmnHistStat::DrawBoth ( )
virtual

Implements BmnHist.

Definition at line 251 of file BmnHistStat.cxx.

References canStatBD, canStatBDPads, canStatCorr, canStatCorrPads, canStatDet, canStatDetPads, canStatFD, canStatFDPads, and BmnHist::DrawRef().

Referenced by SetRefRun().

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

◆ DrawBoth() [2/2]

void BmnHistStat::DrawBoth ( )
virtual

Implements BmnHist.

◆ FillFromDigi() [1/2]

void BmnHistStat::FillFromDigi ( DigiArrays * fDigiArrays)
virtual

◆ FillFromDigi() [2/2]

void BmnHistStat::FillFromDigi ( DigiArrays * fDigiArrays)
virtual

Implements BmnHist.

◆ getPositionInArray() [1/2]

Int_t BmnHistStat::getPositionInArray ( vector< TClonesArray * > * trigDigits,
TString name )
private

Definition at line 764 of file BmnHistStat.cxx.

References TString::EqualTo(), and TObject::TClonesArray.

Referenced by FillFromDigi().

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

◆ getPositionInArray() [2/2]

Int_t BmnHistStat::getPositionInArray ( vector< TClonesArray * > * trigDigits,
TString name )
private

◆ initHistBD() [1/2]

void BmnHistStat::initHistBD ( )
private

Definition at line 652 of file BmnHistStat.cxx.

References canStatBD, canStatBDPads, TNamed::fTitle, histBDCscStat, histBDFHCalStat, histBDGemStat, histBDSiliconStat, histBDTof400Stat, histBDTof700Stat, Max_BD_Cnt, Max_CSC_Cnt, Max_FHC_Cnt, Max_FSD_Cnt, Max_GEM_Cnt, Max_ToF_Cnt, NamesStatBD, PadInfo::opt, PAD_HEIGHT, and PAD_WIDTH.

Referenced by BmnHistStat().

Here is the caller graph for this function:

◆ initHistBD() [2/2]

void BmnHistStat::initHistBD ( )
private

◆ initHistCorr() [1/2]

void BmnHistStat::initHistCorr ( )
private

Definition at line 708 of file BmnHistStat.cxx.

References canStatCorr, canStatCorrPads, TNamed::fTitle, histCscFHCal, histGemCsc, histGemFHCal, histGemSilicon, histGemTof400, histGemTof700, Max_CSC_Cnt, Max_FHC_Cnt, Max_FSD_Cnt, Max_GEM_Cnt, Max_ToF_Cnt, NamesStatCorr, PadInfo::opt, PAD_HEIGHT, and PAD_WIDTH.

Referenced by BmnHistStat().

Here is the caller graph for this function:

◆ initHistCorr() [2/2]

void BmnHistStat::initHistCorr ( )
private

◆ initHistDet() [1/2]

void BmnHistStat::initHistDet ( )
private

Definition at line 544 of file BmnHistStat.cxx.

References canStatDet, canStatDetPads, TNamed::fTitle, histCscStat, histFHCalStat, histGemStat, histSiliconStat, histTof400Stat, histTof700Stat, Max_CSC_Cnt, Max_FHC_Cnt, Max_FSD_Cnt, Max_GEM_Cnt, Max_ToF_Cnt, NamesStatDet, PAD_HEIGHT, PAD_WIDTH, and BmnHist::SetHistStyleTH1().

Referenced by BmnHistStat().

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

◆ initHistDet() [2/2]

void BmnHistStat::initHistDet ( )
private

◆ initHistFD() [1/2]

void BmnHistStat::initHistFD ( )
private

Definition at line 595 of file BmnHistStat.cxx.

References canStatFD, canStatFDPads, TNamed::fTitle, histFDCscStat, histFDFHCalStat, histFDGemStat, histFDSiliconStat, histFDTof400Stat, histFDTof700Stat, Max_CSC_Cnt, Max_FD_Sig, Max_FHC_Cnt, Max_FSD_Cnt, Max_GEM_Cnt, Max_ToF_Cnt, NamesStatFD, PadInfo::opt, PAD_HEIGHT, and PAD_WIDTH.

Referenced by BmnHistStat().

Here is the caller graph for this function:

◆ initHistFD() [2/2]

void BmnHistStat::initHistFD ( )
private

◆ Register() [1/2]

void BmnHistStat::Register ( THttpServer * serv)
virtual

Implements BmnHist.

Definition at line 186 of file BmnHistStat.cxx.

References canStatBD, canStatCorr, canStatDet, canStatFD, TString::Data(), TNamed::fName, BmnHist::fServer, and TNamed::fTitle.

Here is the call graph for this function:

◆ Register() [2/2]

void BmnHistStat::Register ( THttpServer * serv)
virtual

Implements BmnHist.

◆ Reset() [1/2]

◆ Reset() [2/2]

void BmnHistStat::Reset ( )
virtual

Implements BmnHist.

◆ ResetRegistry() [1/2]

void BmnHistStat::ResetRegistry ( )
private

Definition at line 111 of file BmnHistStat.cxx.

References DBG, exposer, gauge_family, metrics_available, registry, and registry_init_done.

Referenced by FillFromDigi(), and SetDir().

Here is the caller graph for this function:

◆ ResetRegistry() [2/2]

void BmnHistStat::ResetRegistry ( )
private

◆ ResetTimelineCounters() [1/2]

void BmnHistStat::ResetTimelineCounters ( )
private

Definition at line 419 of file BmnHistStat.cxx.

References csc2gem, fhcal2gem, fsd2gem, gem2nbc1, nbc1, nevents, sum_csc, sum_fhcal, sum_fsd, sum_gem, sum_tof400, sum_tof700, tof4002gem, and tof7002gem.

Referenced by FillFromDigi().

Here is the caller graph for this function:

◆ ResetTimelineCounters() [2/2]

void BmnHistStat::ResetTimelineCounters ( )
private

◆ SetDir() [1/2]

void BmnHistStat::SetDir ( TFile * outFile = NULL,
TTree * recoTree = NULL )
virtual

◆ SetDir() [2/2]

void BmnHistStat::SetDir ( TFile * outFile = NULL,
TTree * recoTree = NULL )
virtual

Implements BmnHist.

◆ SetRefRun() [1/2]

BmnStatus BmnHistStat::SetRefRun ( Int_t id)

Definition at line 485 of file BmnHistStat.cxx.

References canStatDetPads, TString::Data(), DrawBoth(), TNamed::fTitle, kBMNSUCCESS, BmnHist::LoadRefRun(), NamesStatDet, BmnHist::refID, BmnHist::refPath, and BmnHist::refRunName.

Here is the call graph for this function:

◆ SetRefRun() [2/2]

BmnStatus BmnHistStat::SetRefRun ( Int_t id)

◆ UpdateMetrics() [1/2]

BmnStatus BmnHistStat::UpdateMetrics ( )
private

Definition at line 172 of file BmnHistStat.cxx.

References csc2gem, fhcal2gem, fsd2gem, gauges_by_name, gem2nbc1, kBMNSUCCESS, last_ev_time_show, sum_nbc1, tof4002gem, and tof7002gem.

Referenced by FillFromDigi().

Here is the caller graph for this function:

◆ UpdateMetrics() [2/2]

Member Data Documentation

◆ bc1Position

int32_t BmnHistStat::bc1Position
private

Definition at line 110 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ bdPosition

int32_t BmnHistStat::bdPosition
private

Definition at line 109 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ bit_filter

uint16_t BmnHistStat::bit_filter
private

Definition at line 114 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ canStatBD

TCanvas * BmnHistStat::canStatBD
private

Definition at line 100 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistBD(), Register(), and UpdateMetrics().

◆ canStatBDPads

vector< PadInfo * > BmnHistStat::canStatBDPads
private

Definition at line 104 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistBD(), and UpdateMetrics().

◆ canStatCorr

TCanvas * BmnHistStat::canStatCorr
private

Definition at line 101 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistCorr(), Register(), and UpdateMetrics().

◆ canStatCorrPads

vector< PadInfo * > BmnHistStat::canStatCorrPads
private

Definition at line 105 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistCorr(), and UpdateMetrics().

◆ canStatDet

TCanvas * BmnHistStat::canStatDet
private

Definition at line 98 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistDet(), Register(), and UpdateMetrics().

◆ canStatDetPads

vector< PadInfo * > BmnHistStat::canStatDetPads
private

◆ canStatFD

TCanvas * BmnHistStat::canStatFD
private

Definition at line 99 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistFD(), Register(), and UpdateMetrics().

◆ canStatFDPads

vector< PadInfo * > BmnHistStat::canStatFDPads
private

Definition at line 103 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), DrawBoth(), initHistFD(), and UpdateMetrics().

◆ counter_family

prometheus::Counter * BmnHistStat::counter_family
private

Definition at line 143 of file BmnHistStat.h.

Referenced by BmnHistStat(), and UpdateMetrics().

◆ csc2gem

double BmnHistStat::csc2gem
private

Definition at line 128 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ ev_type

BmnEventType BmnHistStat::ev_type
private

Definition at line 135 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ ev_type_prev

BmnEventType BmnHistStat::ev_type_prev
private

Definition at line 136 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ exposer

unique_ptr< prometheus::Exposer > BmnHistStat::exposer
private

Definition at line 139 of file BmnHistStat.h.

Referenced by CreateMetrics(), ResetRegistry(), and UpdateMetrics().

◆ fdPosition

int32_t BmnHistStat::fdPosition
private

Definition at line 108 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ fhcal2gem

double BmnHistStat::fhcal2gem
private

Definition at line 129 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ fsd2gem

double BmnHistStat::fsd2gem
private

Definition at line 125 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ gauge_family

prometheus::Family< prometheus::Gauge > * BmnHistStat::gauge_family
private

Definition at line 142 of file BmnHistStat.h.

Referenced by BmnHistStat(), CreateMetrics(), ResetRegistry(), and UpdateMetrics().

◆ gauges_by_name

unordered_map< string, prometheus::Gauge * > BmnHistStat::gauges_by_name
private

Definition at line 144 of file BmnHistStat.h.

Referenced by CreateMetrics(), and UpdateMetrics().

◆ gem2nbc1

double BmnHistStat::gem2nbc1
private

Definition at line 130 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ histBDCscStat

TH2F * BmnHistStat::histBDCscStat
private

Definition at line 87 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistBD(), Reset(), SetDir(), and UpdateMetrics().

◆ histBDFHCalStat

TH2F * BmnHistStat::histBDFHCalStat
private

Definition at line 88 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistBD(), Reset(), SetDir(), and UpdateMetrics().

◆ histBDGemStat

TH2F * BmnHistStat::histBDGemStat
private

Definition at line 83 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistBD(), Reset(), SetDir(), and UpdateMetrics().

◆ histBDSiliconStat

TH2F * BmnHistStat::histBDSiliconStat
private

Definition at line 84 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistBD(), Reset(), SetDir(), and UpdateMetrics().

◆ histBDTof400Stat

TH2F * BmnHistStat::histBDTof400Stat
private

Definition at line 85 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistBD(), Reset(), SetDir(), and UpdateMetrics().

◆ histBDTof700Stat

TH2F * BmnHistStat::histBDTof700Stat
private

Definition at line 86 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistBD(), Reset(), SetDir(), and UpdateMetrics().

◆ histCscFHCal

TH2F * BmnHistStat::histCscFHCal
private

Definition at line 96 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistCorr(), Reset(), SetDir(), and UpdateMetrics().

◆ histCscStat

TH1I * BmnHistStat::histCscStat
private

Definition at line 73 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistDet(), Reset(), SetDir(), and UpdateMetrics().

◆ histFDCscStat

TH2F * BmnHistStat::histFDCscStat
private

Definition at line 80 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistFD(), Reset(), SetDir(), and UpdateMetrics().

◆ histFDFHCalStat

TH2F * BmnHistStat::histFDFHCalStat
private

Definition at line 81 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistFD(), Reset(), SetDir(), and UpdateMetrics().

◆ histFDGemStat

TH2F * BmnHistStat::histFDGemStat
private

Definition at line 76 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistFD(), Reset(), SetDir(), and UpdateMetrics().

◆ histFDSiliconStat

TH2F * BmnHistStat::histFDSiliconStat
private

Definition at line 77 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistFD(), Reset(), SetDir(), and UpdateMetrics().

◆ histFDTof400Stat

TH2F * BmnHistStat::histFDTof400Stat
private

Definition at line 78 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistFD(), Reset(), SetDir(), and UpdateMetrics().

◆ histFDTof700Stat

TH2F * BmnHistStat::histFDTof700Stat
private

Definition at line 79 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistFD(), Reset(), SetDir(), and UpdateMetrics().

◆ histFHCalStat

TH1I * BmnHistStat::histFHCalStat
private

Definition at line 74 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistDet(), Reset(), SetDir(), and UpdateMetrics().

◆ histGemCsc

TH2F * BmnHistStat::histGemCsc
private

Definition at line 94 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistCorr(), Reset(), SetDir(), and UpdateMetrics().

◆ histGemFHCal

TH2F * BmnHistStat::histGemFHCal
private

Definition at line 95 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistCorr(), Reset(), SetDir(), and UpdateMetrics().

◆ histGemSilicon

TH2F * BmnHistStat::histGemSilicon
private

Definition at line 91 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistCorr(), Reset(), SetDir(), and UpdateMetrics().

◆ histGemStat

TH1I * BmnHistStat::histGemStat
private

Definition at line 69 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistDet(), Reset(), SetDir(), and UpdateMetrics().

◆ histGemTof400

TH2F * BmnHistStat::histGemTof400
private

Definition at line 92 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistCorr(), Reset(), SetDir(), and UpdateMetrics().

◆ histGemTof700

TH2F * BmnHistStat::histGemTof700
private

Definition at line 93 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistCorr(), Reset(), SetDir(), and UpdateMetrics().

◆ histSiliconStat

TH1I * BmnHistStat::histSiliconStat
private

Definition at line 70 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistDet(), Reset(), SetDir(), and UpdateMetrics().

◆ histTof400Stat

TH1I * BmnHistStat::histTof400Stat
private

Definition at line 71 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistDet(), Reset(), SetDir(), and UpdateMetrics().

◆ histTof700Stat

TH1I * BmnHistStat::histTof700Stat
private

Definition at line 72 of file BmnHistStat.h.

Referenced by ~BmnHistStat(), FillFromDigi(), initHistDet(), Reset(), SetDir(), and UpdateMetrics().

◆ last_ev_time

SysPoint BmnHistStat::last_ev_time
private

Definition at line 132 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ last_ev_time_show

SysPoint BmnHistStat::last_ev_time_show
private

Definition at line 133 of file BmnHistStat.h.

Referenced by FillFromDigi(), and UpdateMetrics().

◆ Max_BD_Cnt

const int32_t BmnHistStat::Max_BD_Cnt = 51
private

Definition at line 65 of file BmnHistStat.h.

Referenced by initHistBD(), and UpdateMetrics().

◆ Max_CSC_Cnt

const int32_t BmnHistStat::Max_CSC_Cnt = 2001
private

Definition at line 62 of file BmnHistStat.h.

Referenced by initHistBD(), initHistCorr(), initHistDet(), initHistFD(), and UpdateMetrics().

◆ Max_FD_Sig

const int32_t BmnHistStat::Max_FD_Sig = 8000
private

Definition at line 67 of file BmnHistStat.h.

Referenced by initHistFD(), and UpdateMetrics().

◆ Max_FHC_Cnt

const int32_t BmnHistStat::Max_FHC_Cnt = 1001
private

Definition at line 63 of file BmnHistStat.h.

Referenced by initHistBD(), initHistCorr(), initHistDet(), initHistFD(), and UpdateMetrics().

◆ Max_FSD_Cnt

const int32_t BmnHistStat::Max_FSD_Cnt = 5001
private

Definition at line 61 of file BmnHistStat.h.

Referenced by initHistBD(), initHistCorr(), initHistDet(), initHistFD(), and UpdateMetrics().

◆ Max_GEM_Cnt

const int32_t BmnHistStat::Max_GEM_Cnt = 5001
private

Definition at line 60 of file BmnHistStat.h.

Referenced by initHistBD(), initHistCorr(), initHistDet(), initHistFD(), and UpdateMetrics().

◆ Max_ToF_Cnt

const int32_t BmnHistStat::Max_ToF_Cnt = 301
private

Definition at line 59 of file BmnHistStat.h.

Referenced by initHistBD(), initHistCorr(), initHistDet(), initHistFD(), and UpdateMetrics().

◆ metrics_available

bool BmnHistStat::metrics_available
private

◆ Min_NBC1

const double BmnHistStat::Min_NBC1 = 100000
private

Definition at line 113 of file BmnHistStat.h.

Referenced by FillFromDigi(), and UpdateMetrics().

◆ NamesStatBD

vector< TString > BmnHistStat::NamesStatBD
private

Definition at line 56 of file BmnHistStat.h.

Referenced by initHistBD(), and UpdateMetrics().

◆ NamesStatCorr

vector< TString > BmnHistStat::NamesStatCorr
private

Definition at line 57 of file BmnHistStat.h.

Referenced by initHistCorr(), and UpdateMetrics().

◆ NamesStatDet

vector< TString > BmnHistStat::NamesStatDet
private

Definition at line 54 of file BmnHistStat.h.

Referenced by initHistDet(), SetRefRun(), and UpdateMetrics().

◆ NamesStatFD

vector< TString > BmnHistStat::NamesStatFD
private

Definition at line 55 of file BmnHistStat.h.

Referenced by initHistFD(), and UpdateMetrics().

◆ nbc1

double BmnHistStat::nbc1
private

Definition at line 124 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ nevents

uint64_t BmnHistStat::nevents
private

Definition at line 131 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ registry

shared_ptr< prometheus::Registry > BmnHistStat::registry
private

Definition at line 140 of file BmnHistStat.h.

Referenced by CreateMetrics(), ResetRegistry(), and UpdateMetrics().

◆ registry_init_done

bool BmnHistStat::registry_init_done
private

Definition at line 145 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetRegistry(), and UpdateMetrics().

◆ sum_csc

double BmnHistStat::sum_csc
private

Definition at line 119 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ sum_fhcal

double BmnHistStat::sum_fhcal
private

Definition at line 120 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ sum_fsd

double BmnHistStat::sum_fsd
private

Definition at line 116 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ sum_gem

double BmnHistStat::sum_gem
private

Definition at line 121 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ sum_nbc1

double BmnHistStat::sum_nbc1
private

Definition at line 122 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().

◆ sum_tof400

double BmnHistStat::sum_tof400
private

Definition at line 117 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ sum_tof700

double BmnHistStat::sum_tof700
private

Definition at line 118 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ tof4002gem

double BmnHistStat::tof4002gem
private

Definition at line 126 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ tof7002gem

double BmnHistStat::tof7002gem
private

Definition at line 127 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), ResetTimelineCounters(), and UpdateMetrics().

◆ varsInitDone

bool BmnHistStat::varsInitDone
private

Definition at line 107 of file BmnHistStat.h.

Referenced by BmnHistStat(), FillFromDigi(), and UpdateMetrics().


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