BmnRoot
Loading...
Searching...
No Matches
BmnHistSiBT.h
Go to the documentation of this file.
1/*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6
7/*
8 * Author: Andrei Driuk
9 *
10 * Created on August 14, 2022
11 */
12#ifndef BMNHISTSiBT_H
13#define BMNHISTSiBT_H 1
14
15#include "BmnHist.h"
16#include "BmnSiBTStationSet.h"
17
18#include <TGraph.h>
19#include <TH1.h>
20#include <vector>
21
22using namespace std;
23
24class BmnHistSiBT : public BmnHist
25{
26 public:
27 BmnHistSiBT(TString title, TString path = "", Int_t periodID = 8);
28 virtual ~BmnHistSiBT();
29 void Reset();
30 void Register(THttpServer* serv);
31 void SetDir(TFile* outFile = NULL, TTree* recoTree = NULL);
32 void DrawBoth();
33 void FillFromDigi(DigiArrays* fDigiArrays);
34 void ClearRefRun();
35 BmnStatus SetRefRun(Int_t id);
36
37 private:
38 unique_ptr<BmnSiBTStationSet> sibtStationSet;
39 vector<TString> NamesStrip;
40 vector<TString> NamesSignal;
41 vector<TString> NamesStripSignal;
42 vector<TString> NamesStripNoise;
43 vector<TString> NamesChipSignal;
44
45 vector<vector<vector<TH1F*>>> histSiBTStrip; // 1-dim hist for signal in each layer
46 vector<vector<vector<vector<TH1F*>>>> histSiBTChipSignal; // 1-dim hist for signal in each chip in each layer
47 vector<vector<vector<TH2F*>>> histSiBTStripSignal; // 2-dim hist for number of strip and signal
48 vector<vector<vector<TH1F*>>> histSiBTStripNoise; // 1-dim hist for noise in each layer
49 vector<vector<TH2F*>> histSiBTSignal2D; // 2-dim hist for corrrelation between signals in up and low layers
50
51 vector<vector<vector<Double_t>>> signalSiBT; // vector of signals for 2dim Hists
52
53 TCanvas* canSiBTStrip;
54 TCanvas* canSiBTSignal;
55 TCanvas* canSiBTStripSignal;
56 TCanvas* canSiBTStripNoise;
57 TCanvas* canSiBTChipSignal;
58
59 vector<PadInfo*> canStripPads;
60 vector<PadInfo*> canSignalPads;
61 vector<PadInfo*> canStripSignalPads;
62 vector<PadInfo*> canStripNoisePads;
63 vector<PadInfo*> canChipSignalPads;
64
65 Int_t sumMods;
66 Int_t maxLayers;
67 Int_t maxMods;
68 Int_t numberOfStations;
69 Int_t numberOfChips;
70 Int_t numberOfStrips;
71
72 ClassDef(BmnHistSiBT, 1)
73};
74
75#endif /* BMNMONHISTS_H */
BmnStatus
Definition BmnEnums.h:24
void SetDir(TFile *outFile=NULL, TTree *recoTree=NULL)
void ClearRefRun()
void Register(THttpServer *serv)
void FillFromDigi(DigiArrays *fDigiArrays)
BmnStatus SetRefRun(Int_t id)
virtual ~BmnHistSiBT()
STL namespace.