ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Muon::ChamberResPlots Struct Reference

residual plots per chamber index More...

#include <MuonInsideOutAnalysisPlots.h>

Collaboration diagram for Muon::ChamberResPlots:

Public Member Functions

void book (TDirectory *dir, const TString &prefix)
 
void fill (int chIndex_, float res_, float pull_, float exerr_, float p_)
 

Public Attributes

std::vector< ResPlotsplots
 
std::vector< ResPlotsPtplots_p
 

Detailed Description

residual plots per chamber index

Definition at line 38 of file MuonInsideOutAnalysisPlots.h.

Member Function Documentation

◆ book()

void Muon::ChamberResPlots::book ( TDirectory *  dir,
const TString &  prefix 
)

Definition at line 40 of file MuonInsideOutAnalysisPlots.cxx.

40  {
41  TDirectory* ndir = dir->mkdir(prefix+"Chamber");
42  ndir->cd();
45  for( unsigned int i=0;i<plots.size();++i ){
46  TString name = prefix + "chIndex_" + std::to_string(i).c_str() + "_";
47  plots[i].book(name);
48  plots_p[i].book(name);
49  }
50  dir->cd();
51  }

◆ fill()

void Muon::ChamberResPlots::fill ( int  chIndex_,
float  res_,
float  pull_,
float  exerr_,
float  p_ 
)

Definition at line 53 of file MuonInsideOutAnalysisPlots.cxx.

53  {
54  if( chIndex_ < 0 || chIndex_ >= MuonStationIndex::ChIndexMax ) return;
55 
56  plots[chIndex_].fill(res_,pull_,exerr_);
57  plots_p[chIndex_].fill(res_,pull_,exerr_,p_);
58 
59  }

Member Data Documentation

◆ plots

std::vector<ResPlots> Muon::ChamberResPlots::plots

Definition at line 40 of file MuonInsideOutAnalysisPlots.h.

◆ plots_p

std::vector<ResPlotsPt> Muon::ChamberResPlots::plots_p

Definition at line 41 of file MuonInsideOutAnalysisPlots.h.


The documentation for this struct was generated from the following files:
lumiFormat.i
int i
Definition: lumiFormat.py:85
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
beamspotman.dir
string dir
Definition: beamspotman.py:623
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
Muon::MuonStationIndex::ChIndexMax
@ ChIndexMax
Definition: MuonStationIndex.h:19
Muon::ChamberResPlots::plots_p
std::vector< ResPlotsPt > plots_p
Definition: MuonInsideOutAnalysisPlots.h:41
Muon::ChamberResPlots::plots
std::vector< ResPlots > plots
Definition: MuonInsideOutAnalysisPlots.h:40