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

Public Member Functions

 RdoHistoSet (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_bcid {nullptr}
 Bunch crossing ID. More...
 
TH1 * h_time {nullptr}
 Time of record. More...
 
TH1 * h_tOverThr {nullptr}
 Time over threshold. More...
 
TH1 * h_subDet {nullptr}
 sub detector More...
 
TH1 * h_boardSec {nullptr}
 board sector More...
 
TH1 * h_board {nullptr}
 board Id More...
 
TH1 * h_channelId {nullptr}
 channel Id More...
 

Detailed Description

Definition at line 79 of file RpcRDOAnalysis.h.

Constructor & Destructor Documentation

◆ RdoHistoSet()

MuonVal::RpcRDOAnalysis::RdoHistoSet::RdoHistoSet ( 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 48 of file RpcRDOAnalysis.cxx.

50  :
51  chIdx{chIndex} {
52 
53  auto createHisto = [&histSvc, &basePath, chIndex](const std::string& hName,
54  const std::string& hTitle,
55  const unsigned nBins,
56  const float xLow,
57  const float xHigh) {
58  TH1* h = new TH1F(hName.c_str(), hTitle.c_str(), nBins, xLow, xHigh);
59  h->Sumw2();
60  histSvc->regHist(std::format("/{}/RDO/Chamber_{}/{}",
61  basePath,
62  chIndex != ChIdx_t::ChUnknown ? chName(chIndex) : "Inclusive",
63  hName), h).ignore();
64  return h;
65  };
66  h_bcid = createHisto("bcid", "Bunch Crossing ID", 5,10,100);
67  h_time = createHisto("time", "Recorded time", 45, 10, 100);
68  h_tOverThr = createHisto("tot", "Time over threshold", 0, 30 , 30);
69  h_subDet = createHisto("subdet", "Subdetector ID", 50, 0, 100);
70  h_boardSec = createHisto("boardsector", "Board sector ID", 50, 0, 100);
71  h_board = createHisto("boardID", "Board identifier", 50, 0, 100);
72  h_channelId = createHisto("channelID", "Channel identifier", 50,0 , 100);
73 
74  }

Member Data Documentation

◆ chIdx

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

Definition at line 88 of file RpcRDOAnalysis.h.

◆ h_bcid

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_bcid {nullptr}

Bunch crossing ID.

Definition at line 90 of file RpcRDOAnalysis.h.

◆ h_board

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_board {nullptr}

board Id

Definition at line 100 of file RpcRDOAnalysis.h.

◆ h_boardSec

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_boardSec {nullptr}

board sector

Definition at line 98 of file RpcRDOAnalysis.h.

◆ h_channelId

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_channelId {nullptr}

channel Id

Definition at line 102 of file RpcRDOAnalysis.h.

◆ h_subDet

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_subDet {nullptr}

sub detector

Definition at line 96 of file RpcRDOAnalysis.h.

◆ h_time

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_time {nullptr}

Time of record.

Definition at line 92 of file RpcRDOAnalysis.h.

◆ h_tOverThr

TH1* MuonVal::RpcRDOAnalysis::RdoHistoSet::h_tOverThr {nullptr}

Time over threshold.

Definition at line 94 of file RpcRDOAnalysis.h.


The documentation for this struct was generated from the following files:
MuonVal::RpcRDOAnalysis::RdoHistoSet::h_subDet
TH1 * h_subDet
sub detector
Definition: RpcRDOAnalysis.h:96
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
vtune_athena.format
format
Definition: vtune_athena.py:14
MuonVal::RpcRDOAnalysis::RdoHistoSet::h_tOverThr
TH1 * h_tOverThr
Time over threshold.
Definition: RpcRDOAnalysis.h:94
MuonVal::RpcRDOAnalysis::RdoHistoSet::h_channelId
TH1 * h_channelId
channel Id
Definition: RpcRDOAnalysis.h:102
MuonVal::RpcRDOAnalysis::RdoHistoSet::h_boardSec
TH1 * h_boardSec
board sector
Definition: RpcRDOAnalysis.h:98
MuonVal::RpcRDOAnalysis::RdoHistoSet::h_board
TH1 * h_board
board Id
Definition: RpcRDOAnalysis.h:100
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::RdoHistoSet::h_bcid
TH1 * h_bcid
Bunch crossing ID.
Definition: RpcRDOAnalysis.h:90
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
MuonVal::RpcRDOAnalysis::RdoHistoSet::h_time
TH1 * h_time
Time of record.
Definition: RpcRDOAnalysis.h:92
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
MuonVal::RpcRDOAnalysis::RdoHistoSet::chIdx
ChIdx_t chIdx
Definition: RpcRDOAnalysis.h:88