ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MuonVal::MdtRDOAnalysis::HistoSet Struct Reference

Histograms per station index. More...

Collaboration diagram for MuonVal::MdtRDOAnalysis::HistoSet:

Public Member Functions

 HistoSet ()=default
 Default constructor. More...
 
 HistoSet (const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const StIdx_t stIdx)
 Constructor instantiating the monitoring histograms. More...
 

Public Attributes

StIdx_t stIdx {StIdx_t::StUnknown}
 
TH1 * h_subID {nullptr}
 
TH1 * h_mrodID {nullptr}
 
TH1 * h_csmID {nullptr}
 
TH1 * h_tdcID {nullptr}
 
TH1 * h_chanID {nullptr}
 
TH1 * h_coarse {nullptr}
 
TH1 * h_fine {nullptr}
 
TH1 * h_width {nullptr}
 

Detailed Description

Histograms per station index.

Definition at line 36 of file MdtRDOAnalysis.h.

Constructor & Destructor Documentation

◆ HistoSet() [1/2]

MuonVal::MdtRDOAnalysis::HistoSet::HistoSet ( )
default

Default constructor.

◆ HistoSet() [2/2]

MuonVal::MdtRDOAnalysis::HistoSet::HistoSet ( const ServiceHandle< ITHistSvc > &  histSvc,
const std::string &  basePath,
const StIdx_t  stIdx 
)

Constructor instantiating the monitoring histograms.

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

Definition at line 18 of file MdtRDOAnalysis.cxx.

20  :
21  stIdx{stIndex} {
22 
23  auto createHisto = [stIndex, &histSvc, &basePath](const std::string& hName,
24  const std::string& hTitle,
25  const unsigned nBins,
26  const float xLow,
27  const float xHigh){
28  TH1* h = new TH1F(hName.c_str(), hTitle.c_str(), nBins, xLow, xHigh);
29  histSvc->regHist(std::format("/{}/RDO/Station_{}/{}",
30  basePath,
31  stIndex != StIdx_t::StUnknown ? stName(stIndex) : "Inclusive",
32  hName), h).ignore();
33  return h;
34  };
35 
36  h_subID = createHisto("subDetId", "Subdetector ID", 100, 0 , 150);
37  h_mrodID = createHisto("mrodID", "MROD ID", 100, 0, 150);
38  h_csmID = createHisto("csmID", "CSM ID", 100, 0, 10);
39  h_tdcID = createHisto("tdcID", "TDC ID", 100, 0, 50);
40  h_chanID = createHisto("channelID", "Channel ID", 100, 0, 50);
41  h_coarse = createHisto("coarseTime", "Drift time (coarse)", 100, 0, 100);
42  h_fine = createHisto("fineTime", "Drift time (fine)", 100, 0, 50);
43  h_width = createHisto("width", "Width", 100, 0, 500);
44  }

Member Data Documentation

◆ h_chanID

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_chanID {nullptr}

Definition at line 52 of file MdtRDOAnalysis.h.

◆ h_coarse

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_coarse {nullptr}

Definition at line 53 of file MdtRDOAnalysis.h.

◆ h_csmID

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_csmID {nullptr}

Definition at line 50 of file MdtRDOAnalysis.h.

◆ h_fine

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_fine {nullptr}

Definition at line 54 of file MdtRDOAnalysis.h.

◆ h_mrodID

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_mrodID {nullptr}

Definition at line 49 of file MdtRDOAnalysis.h.

◆ h_subID

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_subID {nullptr}

Definition at line 48 of file MdtRDOAnalysis.h.

◆ h_tdcID

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_tdcID {nullptr}

Definition at line 51 of file MdtRDOAnalysis.h.

◆ h_width

TH1* MuonVal::MdtRDOAnalysis::HistoSet::h_width {nullptr}

Definition at line 55 of file MdtRDOAnalysis.h.

◆ stIdx

StIdx_t MuonVal::MdtRDOAnalysis::HistoSet::stIdx {StIdx_t::StUnknown}

Definition at line 47 of file MdtRDOAnalysis.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::MdtRDOAnalysis::HistoSet::h_subID
TH1 * h_subID
Definition: MdtRDOAnalysis.h:48
vtune_athena.format
format
Definition: vtune_athena.py:14
MuonVal::MdtRDOAnalysis::HistoSet::h_width
TH1 * h_width
Definition: MdtRDOAnalysis.h:55
Muon::MuonStationIndex::stName
const std::string & stName(StIndex index)
convert StIndex into a string
Definition: MuonStationIndex.cxx:104
MuonVal::MdtRDOAnalysis::HistoSet::h_coarse
TH1 * h_coarse
Definition: MdtRDOAnalysis.h:53
MuonVal::MdtRDOAnalysis::HistoSet::stIdx
StIdx_t stIdx
Definition: MdtRDOAnalysis.h:47
MuonVal::MdtRDOAnalysis::HistoSet::h_csmID
TH1 * h_csmID
Definition: MdtRDOAnalysis.h:50
h
extractSporadic.h
list h
Definition: extractSporadic.py:96
MuonVal::MdtRDOAnalysis::HistoSet::h_tdcID
TH1 * h_tdcID
Definition: MdtRDOAnalysis.h:51
MuonVal::MdtRDOAnalysis::HistoSet::h_chanID
TH1 * h_chanID
Definition: MdtRDOAnalysis.h:52
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
MuonVal::MdtRDOAnalysis::HistoSet::h_mrodID
TH1 * h_mrodID
Definition: MdtRDOAnalysis.h:49
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
MuonVal::MdtRDOAnalysis::HistoSet::h_fine
TH1 * h_fine
Definition: MdtRDOAnalysis.h:54