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

Public Member Functions

 HistoSet (const TgcIdHelper &idHelper, const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const int stName)
 Constructor instantiating the monitoring histograms. More...
 

Public Attributes

int stationName {-1}
 
TH1 * h_tgcID {nullptr}
 
TH1 * h_tgcSubDetID {nullptr}
 
TH1 * h_tgcRodID {nullptr}
 
TH1 * h_tgcTrigType {nullptr}
 
TH1 * h_tgcBcID {nullptr}
 
TH1 * h_tgcL1ID {nullptr}
 
TH1 * h_bcTag {nullptr}
 
TH1 * h_subDetID {nullptr}
 
TH1 * h_rodID {nullptr}
 
TH1 * h_sswID {nullptr}
 
TH1 * h_slbID {nullptr}
 
TH1 * h_bcID {nullptr}
 
TH1 * h_l1ID {nullptr}
 
TH1 * h_type {nullptr}
 
TH1 * h_slbType {nullptr}
 
TH1 * h_bitPos {nullptr}
 
TH1 * h_track {nullptr}
 
TH1 * h_adj {nullptr}
 

Detailed Description

Definition at line 36 of file TgcRDOAnalysis.h.

Constructor & Destructor Documentation

◆ HistoSet()

MuonVal::TgcRDOAnalysis::HistoSet::HistoSet ( const TgcIdHelper idHelper,
const ServiceHandle< ITHistSvc > &  histSvc,
const std::string &  basePath,
const int  stName 
)

Constructor instantiating the monitoring histograms.

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

Definition at line 12 of file TgcRDOAnalysis.cxx.

15  :
17  auto createHisto = [&](const std::string& hName,
18  const std::string& hTitle,
19  const unsigned nBins,
20  const float xLow,
21  const float xHigh) {
22  TH1* h = new TH1F(hName.c_str(), hTitle.c_str(), nBins, xLow, xHigh);
23  h->Sumw2();
24  histSvc->regHist(std::format("/{}/RDO/Station_{}/{}",
25  basePath,
26  stName > 0 ? idHelper.stationNameString(stName) : "Inclusive",
27  hName), h).ignore();
28  return h;
29  };
30  h_tgcID = createHisto("tgcID", "TGC ID", 100, 0, 25);
31  h_tgcSubDetID = createHisto("tgcSubDetID", "TGC sub-detector ID", 100, 0, 110);
32  h_tgcRodID = createHisto("tgcRodID", "TGC ROD ID", 100, 0, 15);
33  h_tgcTrigType = createHisto("tgcTrigType", "TGC trigger type", 100, 0, 2);
34  h_tgcBcID = createHisto("tgcBcID", "TGC BCID", 100, 0, 2);
35  h_tgcL1ID = createHisto("tgcL1ID", "TGC L1ID", 100, 0, 2);
36  h_bcTag = createHisto("bcTag", "BC Tag", 100, 0, 5);
37  h_subDetID = createHisto("subDetID", "Sub-detector ID", 100, 0, 110);
38  h_rodID = createHisto("rodID", "ROD ID", 100, 0, 15);
39  h_sswID = createHisto("sswID", "SSW ID", 100, 0, 10);
40  h_slbID = createHisto("slbID", "SLB ID", 100, 0, 30);
41  h_bcID = createHisto("bcID", "BCID", 100, 0, 10);
42  h_l1ID = createHisto("l1ID", "L1ID", 100, 0, 10);
43  h_type = createHisto("type", "type (hit or coinc)", 100, 0, 10);
44  h_slbType = createHisto("slbType", "SLB type", 100, 0, 10);
45  h_bitPos = createHisto("bitPos", "Bitmap position", 100, 0, 220);
46  h_track = createHisto("track", "tracklet", 100, 0, 10);
47  h_adj = createHisto("adj", "Adjacent", 100, 0, 2);
48  }

Member Data Documentation

◆ h_adj

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_adj {nullptr}

Definition at line 66 of file TgcRDOAnalysis.h.

◆ h_bcID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_bcID {nullptr}

Definition at line 60 of file TgcRDOAnalysis.h.

◆ h_bcTag

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_bcTag {nullptr}

Definition at line 55 of file TgcRDOAnalysis.h.

◆ h_bitPos

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_bitPos {nullptr}

Definition at line 64 of file TgcRDOAnalysis.h.

◆ h_l1ID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_l1ID {nullptr}

Definition at line 61 of file TgcRDOAnalysis.h.

◆ h_rodID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_rodID {nullptr}

Definition at line 57 of file TgcRDOAnalysis.h.

◆ h_slbID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_slbID {nullptr}

Definition at line 59 of file TgcRDOAnalysis.h.

◆ h_slbType

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_slbType {nullptr}

Definition at line 63 of file TgcRDOAnalysis.h.

◆ h_sswID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_sswID {nullptr}

Definition at line 58 of file TgcRDOAnalysis.h.

◆ h_subDetID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_subDetID {nullptr}

Definition at line 56 of file TgcRDOAnalysis.h.

◆ h_tgcBcID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_tgcBcID {nullptr}

Definition at line 53 of file TgcRDOAnalysis.h.

◆ h_tgcID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_tgcID {nullptr}

Definition at line 49 of file TgcRDOAnalysis.h.

◆ h_tgcL1ID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_tgcL1ID {nullptr}

Definition at line 54 of file TgcRDOAnalysis.h.

◆ h_tgcRodID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_tgcRodID {nullptr}

Definition at line 51 of file TgcRDOAnalysis.h.

◆ h_tgcSubDetID

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_tgcSubDetID {nullptr}

Definition at line 50 of file TgcRDOAnalysis.h.

◆ h_tgcTrigType

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_tgcTrigType {nullptr}

Definition at line 52 of file TgcRDOAnalysis.h.

◆ h_track

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_track {nullptr}

Definition at line 65 of file TgcRDOAnalysis.h.

◆ h_type

TH1* MuonVal::TgcRDOAnalysis::HistoSet::h_type {nullptr}

Definition at line 62 of file TgcRDOAnalysis.h.

◆ stationName

int MuonVal::TgcRDOAnalysis::HistoSet::stationName {-1}

Definition at line 48 of file TgcRDOAnalysis.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::TgcRDOAnalysis::HistoSet::h_tgcBcID
TH1 * h_tgcBcID
Definition: TgcRDOAnalysis.h:53
MuonVal::TgcRDOAnalysis::HistoSet::h_tgcRodID
TH1 * h_tgcRodID
Definition: TgcRDOAnalysis.h:51
vtune_athena.format
format
Definition: vtune_athena.py:14
MuonVal::TgcRDOAnalysis::HistoSet::h_sswID
TH1 * h_sswID
Definition: TgcRDOAnalysis.h:58
MuonVal::TgcRDOAnalysis::HistoSet::h_bitPos
TH1 * h_bitPos
Definition: TgcRDOAnalysis.h:64
Muon::MuonStationIndex::stName
const std::string & stName(StIndex index)
convert StIndex into a string
Definition: MuonStationIndex.cxx:104
MuonVal::TgcRDOAnalysis::HistoSet::h_track
TH1 * h_track
Definition: TgcRDOAnalysis.h:65
MuonVal::TgcRDOAnalysis::HistoSet::h_slbID
TH1 * h_slbID
Definition: TgcRDOAnalysis.h:59
MuonVal::TgcRDOAnalysis::HistoSet::h_slbType
TH1 * h_slbType
Definition: TgcRDOAnalysis.h:63
MuonVal::TgcRDOAnalysis::HistoSet::h_tgcID
TH1 * h_tgcID
Definition: TgcRDOAnalysis.h:49
MuonVal::TgcRDOAnalysis::HistoSet::h_tgcSubDetID
TH1 * h_tgcSubDetID
Definition: TgcRDOAnalysis.h:50
MuonVal::TgcRDOAnalysis::HistoSet::h_type
TH1 * h_type
Definition: TgcRDOAnalysis.h:62
MuonVal::TgcRDOAnalysis::HistoSet::h_tgcTrigType
TH1 * h_tgcTrigType
Definition: TgcRDOAnalysis.h:52
MuonVal::TgcRDOAnalysis::HistoSet::h_bcID
TH1 * h_bcID
Definition: TgcRDOAnalysis.h:60
MuonVal::TgcRDOAnalysis::HistoSet::stationName
int stationName
Definition: TgcRDOAnalysis.h:48
extractSporadic.h
list h
Definition: extractSporadic.py:96
MuonIdHelper::stationNameString
const std::string & stationNameString(const int &index) const
Definition: MuonIdHelper.cxx:860
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
MuonVal::TgcRDOAnalysis::HistoSet::h_tgcL1ID
TH1 * h_tgcL1ID
Definition: TgcRDOAnalysis.h:54
h
MuonVal::TgcRDOAnalysis::HistoSet::h_subDetID
TH1 * h_subDetID
Definition: TgcRDOAnalysis.h:56
MuonVal::TgcRDOAnalysis::HistoSet::h_adj
TH1 * h_adj
Definition: TgcRDOAnalysis.h:66
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
MuonVal::TgcRDOAnalysis::HistoSet::h_bcTag
TH1 * h_bcTag
Definition: TgcRDOAnalysis.h:55
MuonVal::TgcRDOAnalysis::HistoSet::h_rodID
TH1 * h_rodID
Definition: TgcRDOAnalysis.h:57
MuonVal::TgcRDOAnalysis::HistoSet::h_l1ID
TH1 * h_l1ID
Definition: TgcRDOAnalysis.h:61