ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MuonVal::RpcRDOAnalysis::PadHistoSet Struct Reference
Collaboration diagram for MuonVal::RpcRDOAnalysis::PadHistoSet:

Public Member Functions

 PadHistoSet (const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const ChIdx_t chIndex)
 Constructor instantiating the monitoring histograms. More...
 

Public Attributes

ChIdx_t chIdx {ChIdx_t::ChUnknown}
 
TH1 * h_status {nullptr}
 
TH1 * h_err {nullptr}
 
TH1 * h_onlineID {nullptr}
 
TH1 * h_lvl1ID {nullptr}
 
TH1 * h_bcID {nullptr}
 
TH1 * h_sector {nullptr}
 
TH1 * h_coinRpcID {nullptr}
 
TH1 * h_coinOnID {nullptr}
 
TH1 * h_coinCrc {nullptr}
 
TH1 * h_coinFel1ID {nullptr}
 
TH1 * h_coinFebcID {nullptr}
 
TH1 * h_firedBcID {nullptr}
 
TH1 * h_firedTime {nullptr}
 
TH1 * h_firedIjk {nullptr}
 
TH1 * h_firedChan {nullptr}
 
TH1 * h_firedOvl {nullptr}
 
TH1 * h_firedThr {nullptr}
 

Detailed Description

Definition at line 46 of file RpcRDOAnalysis.h.

Constructor & Destructor Documentation

◆ PadHistoSet()

MuonVal::RpcRDOAnalysis::PadHistoSet::PadHistoSet ( const ServiceHandle< ITHistSvc > &  histSvc,
const std::string &  basePath,
const ChIdx_t  chIndex 
)

Constructor instantiating the monitoring histograms.

Parameters
histSvcReference to the histSvc to register the histograms with the file
basePathBasic path for all histograms
chIndexStation index to consider for the histogram set

Definition at line 11 of file RpcRDOAnalysis.cxx.

13  :
14  chIdx{chIndex} {
15 
16  auto createHisto = [&histSvc, &basePath, chIndex](const std::string& hName,
17  const std::string& hTitle,
18  const unsigned nBins,
19  const float xLow,
20  const float xHigh) {
21  TH1* h = new TH1F(hName.c_str(), hTitle.c_str(), nBins, xLow, xHigh);
22  h->Sumw2();
23  histSvc->regHist(std::format("/{}/PAD/Chamber_{}/{}",
24  basePath,
25  chIndex != ChIdx_t::ChUnknown ? chName(chIndex) : "Inclusive",
26  hName), h).ignore();
27  return h;
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  }

Member Data Documentation

◆ chIdx

ChIdx_t MuonVal::RpcRDOAnalysis::PadHistoSet::chIdx {ChIdx_t::ChUnknown}

Definition at line 56 of file RpcRDOAnalysis.h.

◆ h_bcID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_bcID {nullptr}

Definition at line 62 of file RpcRDOAnalysis.h.

◆ h_coinCrc

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinCrc {nullptr}

Definition at line 67 of file RpcRDOAnalysis.h.

◆ h_coinFebcID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinFebcID {nullptr}

Definition at line 69 of file RpcRDOAnalysis.h.

◆ h_coinFel1ID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinFel1ID {nullptr}

Definition at line 68 of file RpcRDOAnalysis.h.

◆ h_coinOnID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinOnID {nullptr}

Definition at line 66 of file RpcRDOAnalysis.h.

◆ h_coinRpcID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinRpcID {nullptr}

Definition at line 65 of file RpcRDOAnalysis.h.

◆ h_err

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_err {nullptr}

Definition at line 59 of file RpcRDOAnalysis.h.

◆ h_firedBcID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedBcID {nullptr}

Definition at line 71 of file RpcRDOAnalysis.h.

◆ h_firedChan

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedChan {nullptr}

Definition at line 74 of file RpcRDOAnalysis.h.

◆ h_firedIjk

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedIjk {nullptr}

Definition at line 73 of file RpcRDOAnalysis.h.

◆ h_firedOvl

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedOvl {nullptr}

Definition at line 75 of file RpcRDOAnalysis.h.

◆ h_firedThr

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedThr {nullptr}

Definition at line 76 of file RpcRDOAnalysis.h.

◆ h_firedTime

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedTime {nullptr}

Definition at line 72 of file RpcRDOAnalysis.h.

◆ h_lvl1ID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_lvl1ID {nullptr}

Definition at line 61 of file RpcRDOAnalysis.h.

◆ h_onlineID

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_onlineID {nullptr}

Definition at line 60 of file RpcRDOAnalysis.h.

◆ h_sector

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_sector {nullptr}

Definition at line 63 of file RpcRDOAnalysis.h.

◆ h_status

TH1* MuonVal::RpcRDOAnalysis::PadHistoSet::h_status {nullptr}

Definition at line 58 of file RpcRDOAnalysis.h.


The documentation for this struct was generated from the following files:
AthHistogramAlgorithm::histSvc
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
Definition: AthHistogramAlgorithm.h:113
MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedTime
TH1 * h_firedTime
Definition: RpcRDOAnalysis.h:72
vtune_athena.format
format
Definition: vtune_athena.py:14
MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinFebcID
TH1 * h_coinFebcID
Definition: RpcRDOAnalysis.h:69
MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinCrc
TH1 * h_coinCrc
Definition: RpcRDOAnalysis.h:67
MuonVal::RpcRDOAnalysis::PadHistoSet::h_sector
TH1 * h_sector
Definition: RpcRDOAnalysis.h:63
MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedBcID
TH1 * h_firedBcID
Definition: RpcRDOAnalysis.h:71
MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedIjk
TH1 * h_firedIjk
Definition: RpcRDOAnalysis.h:73
MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedChan
TH1 * h_firedChan
Definition: RpcRDOAnalysis.h:74
MuonVal::RpcRDOAnalysis::PadHistoSet::h_lvl1ID
TH1 * h_lvl1ID
Definition: RpcRDOAnalysis.h:61
MuonVal::RpcRDOAnalysis::PadHistoSet::h_err
TH1 * h_err
Definition: RpcRDOAnalysis.h:59
h
Muon::MuonStationIndex::chIndex
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
Definition: MuonStationIndex.cxx:11
Muon::MuonStationIndex::chName
const std::string & chName(ChIndex index)
convert ChIndex into a string
Definition: MuonStationIndex.cxx:119
extractSporadic.h
list h
Definition: extractSporadic.py:96
MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedOvl
TH1 * h_firedOvl
Definition: RpcRDOAnalysis.h:75
MuonVal::RpcRDOAnalysis::PadHistoSet::h_firedThr
TH1 * h_firedThr
Definition: RpcRDOAnalysis.h:76
MuonVal::RpcRDOAnalysis::PadHistoSet::chIdx
ChIdx_t chIdx
Definition: RpcRDOAnalysis.h:56
MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinFel1ID
TH1 * h_coinFel1ID
Definition: RpcRDOAnalysis.h:68
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
MuonVal::RpcRDOAnalysis::PadHistoSet::h_onlineID
TH1 * h_onlineID
Definition: RpcRDOAnalysis.h:60
MuonVal::RpcRDOAnalysis::PadHistoSet::h_status
TH1 * h_status
Definition: RpcRDOAnalysis.h:58
MuonVal::RpcRDOAnalysis::PadHistoSet::h_bcID
TH1 * h_bcID
Definition: RpcRDOAnalysis.h:62
MuonVal::RpcRDOAnalysis::PadHistoSet::h_coinOnID
TH1 * h_coinOnID
Definition: RpcRDOAnalysis.h:66
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24