33 void SetDir(TFile* outFile = NULL, TTree* recoTree = NULL);
44 Int_t getPositionInArray(vector<TClonesArray*>* trigDigits, TString name);
47 void ResetTimelineCounters();
51 void DestroyMetrics();
54 vector<TString> NamesStatDet;
55 vector<TString> NamesStatFD;
56 vector<TString> NamesStatBD;
57 vector<TString> NamesStatCorr;
59 const int32_t Max_ToF_Cnt = 301;
60 const int32_t Max_GEM_Cnt = 5001;
61 const int32_t Max_FSD_Cnt = 5001;
62 const int32_t Max_CSC_Cnt = 2001;
63 const int32_t Max_FHC_Cnt = 1001;
65 const int32_t Max_BD_Cnt = 51;
67 const int32_t Max_FD_Sig = 8000;
70 TH1I* histSiliconStat;
77 TH2F* histFDSiliconStat;
78 TH2F* histFDTof400Stat;
79 TH2F* histFDTof700Stat;
81 TH2F* histFDFHCalStat;
84 TH2F* histBDSiliconStat;
85 TH2F* histBDTof400Stat;
86 TH2F* histBDTof700Stat;
88 TH2F* histBDFHCalStat;
101 TCanvas* canStatCorr;
102 vector<PadInfo*> canStatDetPads;
103 vector<PadInfo*> canStatFDPads;
104 vector<PadInfo*> canStatBDPads;
105 vector<PadInfo*> canStatCorrPads;
113 const double Min_NBC1 = 100000;
139 unique_ptr<prometheus::Exposer> exposer;
140 shared_ptr<prometheus::Registry> registry;
142 prometheus::Family<prometheus::Gauge>* gauge_family;
143 prometheus::Counter* counter_family;
144 unordered_map<string, prometheus::Gauge*> gauges_by_name;
145 bool registry_init_done;
146 bool metrics_available;