Definition at line 46 of file RpcRDOAnalysis.h.
◆ PadHistoSet()
| MuonVal::RpcRDOAnalysis::PadHistoSet::PadHistoSet |
( |
const ServiceHandle< ITHistSvc > & | histSvc, |
|
|
const std::string & | basePath, |
|
|
const ChIdx_t | chIndex ) |
Constructor instantiating the monitoring histograms.
- Parameters
-
| histSvc | Reference to the histSvc to register the histograms with the file |
| basePath | Basic path for all histograms |
| chIndex | Station index to consider for the histogram set |
Definition at line 11 of file RpcRDOAnalysis.cxx.
13 :
15
16 auto createHisto = [&
histSvc, &basePath,
chIndex](
const std::string& hName,
17 const std::string& hTitle,
19 const float xLow,
20 const float xHigh) {
21 TH1*
h =
new TH1F(hName.c_str(), hTitle.c_str(), nBins, xLow, xHigh);
23 histSvc->regHist(std::format(
"/{}/PAD/Chamber_{}/{}",
24 basePath,
26 hName), h).ignore();
28 };
29 h_status = createHisto(
"status",
"RPC Pad Status", 100, 0, 10);
30 h_err = createHisto(
"error",
"RPC Pad error code", 100, 0, 10);
31 h_onlineID = createHisto(
"onlineID",
"RPC pad online ID", 100, 0, 10);
32 h_lvl1ID = createHisto(
"lvl1ID",
"RPC Pad online ID", 100, 0, 10);
33 h_bcID = createHisto(
"bcid",
"RPC Pad BCID", 100,0, 10);
34 h_sector = createHisto(
"sector",
"RPC Pad Sector", 100, 0, 75);
35
36 h_coinOnID = createHisto(
"coinOnID",
"CM Online ID", 100, 0, 10);
37 h_coinCrc = createHisto(
"coinCrc",
"CM CRC", 100, 0 , 300);
38 h_coinFel1ID = createHisto(
"coinFel1ID",
"CM FEL1ID", 100, 0, 10);
39 h_coinFebcID = createHisto(
"coinFebcID",
"CM FEBCID", 100, 0, 10);
40 h_firedBcID = createHisto(
"h_firedBcID",
"Fired Channel BCID", 100, 0, 10);
41 h_firedTime = createHisto(
"h_firedTime",
"Fired Channel time", 100, 0, 10);
42 h_firedChan = createHisto(
"h_firedChan",
"Fired Channel number", 100, 0, 35);
43 h_firedIjk = createHisto(
"h_firedIjk",
"Fired Channel ijk", 100, 0, 10);
44
45 h_firedOvl = createHisto(
"h_firedOvl",
"Fired Channel overlap", 100, 0, 10);
46 h_firedThr = createHisto(
"h_firedThr",
"Fired Channel threshold", 100, 0, 5);
47 }
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
const std::string & chName(ChIndex index)
convert ChIndex into a string
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
◆ chIdx
| ChIdx_t MuonVal::RpcRDOAnalysis::PadHistoSet::chIdx {ChIdx_t::ChUnknown} |
◆ h_bcID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_bcID {nullptr} |
◆ h_coinCrc
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinCrc {nullptr} |
◆ h_coinFebcID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinFebcID {nullptr} |
◆ h_coinFel1ID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinFel1ID {nullptr} |
◆ h_coinOnID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinOnID {nullptr} |
◆ h_coinRpcID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinRpcID {nullptr} |
◆ h_err
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_err {nullptr} |
◆ h_firedBcID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedBcID {nullptr} |
◆ h_firedChan
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedChan {nullptr} |
◆ h_firedIjk
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedIjk {nullptr} |
◆ h_firedOvl
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedOvl {nullptr} |
◆ h_firedThr
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedThr {nullptr} |
◆ h_firedTime
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedTime {nullptr} |
◆ h_lvl1ID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_lvl1ID {nullptr} |
◆ h_onlineID
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_onlineID {nullptr} |
◆ h_sector
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_sector {nullptr} |
◆ h_status
| TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_status {nullptr} |
The documentation for this struct was generated from the following files: