ATLAS Offline Software
Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
RecoMuonPlots Class Reference

#include <RecoMuonPlots.h>

Inheritance diagram for RecoMuonPlots:
Collaboration diagram for RecoMuonPlots:

Public Member Functions

 RecoMuonPlots (PlotBase *pParent, const std::string &sDir, bool detail=false)
 
void fill (const xAOD::Muon &mu)
 
void fill (const xAOD::Muon &mu, xAOD::Muon::Quality my_quality)
 
void initialize ()
 
void finalize ()
 
void setDetailLevel (int iDetailLevel)
 
void RegisterSubPlot (PlotBase *pPlotBase)
 
std::vector< HistDataretrieveBookedHistograms ()
 Retrieve all booked histograms. More...
 
std::vector< TreeDataretrieveBookedTrees ()
 Retrieve all booked trees. More...
 
std::vector< EfficiencyDataretrieveBookedEfficiencies ()
 Retrieve all booked efficiency objects. More...
 
TTree * BookTree (const std::string &name, bool prependDir=true)
 Book a TTree. More...
 
const std::string & getDirectory ()
 

Public Attributes

Trk::ParamPlots m_oAllPlots
 
Muon::RecoInfoPlots m_oMuRecoInfoPlots
 
Trk::ImpactPlots m_oImpactPlots
 
Muon::MomentumPullPlots m_oMomentumPullPlots
 
TH2 * m_origin_eta_phi
 
TH2 * m_eff_tight
 
TH2 * m_eff_medium
 
TH2 * m_tight_eta_phi
 
TH2 * m_medium_eta_phi
 
TH1 * m_pt_broad
 
TH2 * m_eta_phi_broad
 
TH2 * m_eff_nPrec
 
TH2 * m_eff_nPhi
 
TH2 * m_eff_nTrigEta
 
TH2 * m_eff_ndof
 
TH2 * m_eff_chi2
 
TH2 * m_ID_eff_ndof
 
TH2 * m_ID_eff_chi2
 
TH2 * m_MS_eff_ndof
 
TH2 * m_MS_eff_chi2
 
TH2 * m_avg_hits_precision_inner = nullptr
 
TH2 * m_avg_hits_precision_middle = nullptr
 
TH2 * m_avg_hits_precision_outer = nullptr
 
TH2 * m_avg_hits_precision_extended = nullptr
 
TH2 * m_avg_hits_trigger_layer1 = nullptr
 
TH2 * m_avg_hits_trigger_layer2 = nullptr
 
TH2 * m_avg_hits_trigger_layer3 = nullptr
 
TH2 * m_avg_hits_trigger_layer4 = nullptr
 
TH2 * m_avg_hits_ibl = nullptr
 
TH2 * m_avg_hits_pix = nullptr
 
TH2 * m_avg_hits_sct = nullptr
 
TH2 * m_avg_hits_trt = nullptr
 
TH2 * m_avg_ddpt_idme = nullptr
 
TH2 * m_avg_dptsignif = nullptr
 
uint8_t hitval_numberOfPrecisionLayers = 0
 
uint8_t hitval_numberOfPhiLayers = 0
 
uint8_t hitval_numberOfTriggerEtaLayers = 0
 
uint8_t hitval_innerSmallHits = 0
 
uint8_t hitval_innerLargeHits = 0
 
uint8_t hitval_middleSmallHits = 0
 
uint8_t hitval_middleLargeHits = 0
 
uint8_t hitval_outerSmallHits = 0
 
uint8_t hitval_outerLargeHits = 0
 
uint8_t hitval_extendedSmallHits = 0
 
uint8_t hitval_extendedLargeHits = 0
 
uint8_t hitval_etaLayer1Hits = 0
 
uint8_t hitval_etaLayer2Hits = 0
 
uint8_t hitval_etaLayer3Hits = 0
 
uint8_t hitval_etaLayer4Hits = 0
 
uint8_t hitval_numberOfBLayerHits = 0
 
uint8_t hitval_numberOfPixelHits = 0
 
uint8_t hitval_numberOfSCTHits = 0
 
uint8_t hitval_numberOfTRTHits = 0
 
float ddpt_idme = 0
 
float qoverp_diff = 0
 
float qoverp_sigma = 0
 
float qoverp_signif = 0
 
bool Detail
 

Protected Attributes

std::vector< PlotBase * > m_vSubNodes
 
std::vector< HistDatam_vBookedHistograms
 
std::vector< TreeDatam_vBookedTrees
 
std::vector< EfficiencyDatam_vBookedEfficiencies
 
std::string m_sDirectory
 
int m_iDetailLevel
 

Private Member Functions

void initializePlots ()
 
virtual void finalizePlots ()
 

Static Private Member Functions

static std::string constructPrefix (std::string dir, bool prependDir)
 

Detailed Description

Definition at line 18 of file RecoMuonPlots.h.

Constructor & Destructor Documentation

◆ RecoMuonPlots()

RecoMuonPlots::RecoMuonPlots ( PlotBase pParent,
const std::string &  sDir,
bool  detail = false 
)

Definition at line 19 of file RecoMuonPlots.cxx.

19  :PlotBase(pParent, sDir)
20 
21 , m_oAllPlots(this, "/", "Reco Muon")
22 , m_oMuRecoInfoPlots(this, "/")
23 , m_oImpactPlots(this, "/")
24 , m_oMomentumPullPlots(this, "/")
25 , m_origin_eta_phi(nullptr)
26 , m_eff_tight(nullptr)
27 , m_eff_medium(nullptr)
28 , m_tight_eta_phi(nullptr)
29 , m_medium_eta_phi(nullptr)
30 , m_pt_broad(nullptr)
31 , m_eta_phi_broad(nullptr)
32 , m_eff_nPrec(nullptr)
33 , m_eff_nPhi(nullptr)
34 , m_eff_nTrigEta(nullptr)
35 , m_eff_ndof(nullptr)
36 , m_eff_chi2(nullptr)
37 , m_ID_eff_ndof(nullptr)
38 , m_ID_eff_chi2(nullptr)
39 , m_MS_eff_ndof(nullptr)
40 , m_MS_eff_chi2(nullptr)
41 {
42  Detail = detail;
43 }

Member Function Documentation

◆ Book1D() [1/2]

TH1D * PlotBase::Book1D ( const std::string &  name,
const std::string &  labels,
int  nBins,
float  start,
float  end,
bool  prependDir = true 
)
inherited

Book a TH1D histogram.

Definition at line 94 of file PlotBase.cxx.

95  {
96  std::string prefix = constructPrefix(m_sDirectory, prependDir);
97  Bool_t oldstat = TH1::AddDirectoryStatus();
98  TH1::AddDirectory(false);
99  TH1D *hist = new TH1D((prefix + name).c_str(), labels.c_str(), nBins, start, end);
100  TH1::AddDirectory(oldstat);
101 
102  hist->Sumw2();
103  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
104  return hist;
105 }

◆ Book1D() [2/2]

TH1D * PlotBase::Book1D ( const std::string &  name,
TH1 *  refHist,
const std::string &  labels,
bool  prependDir = true 
)
inherited

Book a TH1D histogram using refHist as reference for number of bins and axis range.

Definition at line 108 of file PlotBase.cxx.

108  {
109  std::string prefix = constructPrefix(m_sDirectory, prependDir);
110  Bool_t oldstat = TH1::AddDirectoryStatus();
111  TH1::AddDirectory(false);
112  TH1D *hist = new TH1D((prefix + name).c_str(), labels.c_str(), refHist->GetNbinsX(),
113  refHist->GetXaxis()->GetXbins()->GetArray());
114  hist->Sumw2();
115  TH1::AddDirectory(oldstat);
116 
117 
118  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
119  return hist;
120 }

◆ Book2D() [1/3]

TH2F * PlotBase::Book2D ( const std::string &  name,
const std::string &  labels,
int  nBinsX,
Double_t *  binsX,
int  nBinsY,
Double_t  startY,
Double_t  endY,
bool  prependDir = true 
)
inherited

Book a TH2F histogram with variable x axis binning.

Definition at line 144 of file PlotBase.cxx.

145  {
146  std::string prefix = constructPrefix(m_sDirectory, prependDir);
147  Bool_t oldstat = TH2::AddDirectoryStatus();
148  TH2::AddDirectory(false);
149  TH2F *hist = new TH2F((prefix + name).c_str(), labels.c_str(), nBinsX, binsX, nBinsY, startY, endY);
150  hist->Sumw2();
151  TH2::AddDirectory(oldstat);
152  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
153  return hist;
154 }

◆ Book2D() [2/3]

TH2F * PlotBase::Book2D ( const std::string &  name,
const std::string &  labels,
int  nBinsX,
float  startX,
float  endX,
int  nBinsY,
float  startY,
float  endY,
bool  prependDir = true 
)
inherited

Book a TH2F histogram.

Definition at line 123 of file PlotBase.cxx.

124  {
125  std::string prefix = constructPrefix(m_sDirectory, prependDir);
126  Bool_t oldstat = TH2::AddDirectoryStatus();
127  TH2::AddDirectory(false);
128  TH2F *hist = new TH2F((prefix + name).c_str(), labels.c_str(), nBinsX, startX, endX, nBinsY, startY, endY);
129  hist->Sumw2();
130  TH2::AddDirectory(oldstat);
131 
132 
133  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
134  return hist;
135 }

◆ Book2D() [3/3]

TH2F * PlotBase::Book2D ( const std::string &  name,
TH2 *  refHist,
const std::string &  labels,
bool  prependDir = true 
)
inherited

Book a TH2D histogram using refHist as reference for number of bins and axis range.

Definition at line 138 of file PlotBase.cxx.

138  {
139  return Book2D(name, labels, refHist->GetNbinsX(), refHist->GetXaxis()->GetXmin(), refHist->GetXaxis()->GetXmax(),
140  refHist->GetNbinsY(), refHist->GetYaxis()->GetXmin(), refHist->GetYaxis()->GetXmax(), prependDir);
141 }

◆ Book3D() [1/2]

TH3F * PlotBase::Book3D ( const std::string &  name,
const std::string &  labels,
int  nBinsX,
float  startX,
float  endX,
int  nBinsY,
float  startY,
float  endY,
int  nBinsZ,
float  startZ,
float  endZ,
bool  prependDir = true 
)
inherited

Book a TH3F histogram.

Definition at line 157 of file PlotBase.cxx.

158  {
159  std::string prefix = constructPrefix(m_sDirectory, prependDir);
160  Bool_t oldstat = TH3::AddDirectoryStatus();
161  TH3::AddDirectory(false);
162  TH3F *hist = new TH3F((prefix + name).c_str(),
163  labels.c_str(), nBinsX, startX, endX, nBinsY, startY, endY, nBinsZ, startZ, endZ);
164  hist->Sumw2();
165  TH3::AddDirectory(oldstat);
166  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
167  return hist;
168 }

◆ Book3D() [2/2]

TH3F * PlotBase::Book3D ( const std::string &  name,
TH3 *  refHist,
const std::string &  labels,
bool  prependDir = true 
)
inherited

Book a TH3F histogram using refHist as reference for number of bins and axis range.

Definition at line 171 of file PlotBase.cxx.

171  {
172  std::string prefix = constructPrefix(m_sDirectory, prependDir);
173  Bool_t oldstat = TH3::AddDirectoryStatus();
174  TH3::AddDirectory(false);
175  TH3F *hist = new TH3F((prefix + name).c_str(), labels.c_str(), refHist->GetNbinsX(),
176  refHist->GetXaxis()->GetXbins()->GetArray(), refHist->GetNbinsY(),
177  refHist->GetYaxis()->GetXbins()->GetArray(), refHist->GetNbinsZ(),
178  refHist->GetZaxis()->GetXbins()->GetArray());
179  TH3::AddDirectory(oldstat);
180 
181  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
182  return hist;
183 }

◆ BookTEfficiency() [1/2]

TEfficiency * PlotBase::BookTEfficiency ( const std::string &  name,
const std::string &  labels,
const int  nBinsX,
const float  xlo,
const float  xhi,
const bool  prependDir = true 
)
inherited

Book a (1-D) TEfficiency histogram.

Definition at line 257 of file PlotBase.cxx.

257  {
258  std::string prefix = constructPrefix(m_sDirectory, prependDir);
259  //Bool_t oldstat = TEfficiency::AddDirectoryStatus();
260  TEfficiency *hist = new TEfficiency((prefix + name).c_str(), labels.c_str(), nBinsX, xlo, xhi);
261  //hist->SetAutoSave(0);
262  //hist->SetAtoFlush(0);
263  hist->SetDirectory(nullptr);
264  m_vBookedEfficiencies.emplace_back(hist, m_sDirectory);
265  //TEfficiency::AddDirectory(oldstat);
266  return hist;
267 }

◆ BookTEfficiency() [2/2]

TEfficiency * PlotBase::BookTEfficiency ( const std::string &  name,
const std::string &  labels,
const int  nBinsX,
const float  xlo,
const float  xhi,
const int  nBinsy,
const float  ylo,
const float  yhi,
const bool  prependDir = true 
)
inherited

Book a (2-D) TEfficiency histogram.

Definition at line 270 of file PlotBase.cxx.

270  {
271  std::string prefix = constructPrefix(m_sDirectory, prependDir);
272 
273  TEfficiency *hist = new TEfficiency((prefix + name).c_str(), labels.c_str(), nBinsX, xlo, xhi, nBinsY, ylo, yhi);
274  hist->SetDirectory(nullptr);
275  m_vBookedEfficiencies.emplace_back(hist, m_sDirectory);
276 
277  return hist;
278 }

◆ BookTProfile() [1/2]

TProfile * PlotBase::BookTProfile ( const std::string &  name,
const std::string &  labels,
int  nBinsX,
float *  binsX,
bool  prependDir = true 
)
inherited

Book a TProfile histogram with variable binning in x-axis.

Definition at line 204 of file PlotBase.cxx.

204  {
205  std::string prefix = constructPrefix(m_sDirectory, prependDir);
206  TProfile *hist(nullptr);
207  Bool_t oldstat = TProfile::AddDirectoryStatus();
208  TProfile::AddDirectory(false);
209 
210  hist = new TProfile((prefix + name).c_str(), labels.c_str(), nBinsX, binsX);
211  TProfile::AddDirectory(oldstat);
212  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
213  return hist;
214 }

◆ BookTProfile() [2/2]

TProfile * PlotBase::BookTProfile ( const std::string &  name,
const std::string &  labels,
int  nBinsX,
float  startX,
float  endX,
float  startY = -1,
float  endY = -1,
bool  prependDir = true,
bool  useRMS = false 
)
inherited

Book a TProfile histogram.

Definition at line 186 of file PlotBase.cxx.

187  {
188  std::string prefix = constructPrefix(m_sDirectory, prependDir);
189  TProfile *hist(nullptr);
190  Bool_t oldstat = TProfile::AddDirectoryStatus();
191  TProfile::AddDirectory(false);
192  std::string opt = useRMS ? "S" : "";
193  if ((startY == -1) and (endY == -1)) {
194  hist = new TProfile((prefix + name).c_str(), labels.c_str(), nBinsX, startX, endX, opt.c_str());
195  } else {
196  hist = new TProfile((prefix + name).c_str(), labels.c_str(), nBinsX, startX, endX, startY, endY, opt.c_str());
197  }
198  TProfile::AddDirectory(oldstat);
199  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
200  return hist;
201 }

◆ BookTProfile2D() [1/2]

TProfile2D * PlotBase::BookTProfile2D ( const std::string &  name,
const std::string &  labels,
const int  nBinsX,
const double  xlo,
const double  xhi,
const int  nBinsY,
const double  ylo,
const double  yhi,
bool  prependDir = true,
bool  useRMS = false 
)
inherited

Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.

Definition at line 231 of file PlotBase.cxx.

233  {
234  std::string prefix = constructPrefix(m_sDirectory, prependDir);
235  Bool_t oldstat = TProfile2D::AddDirectoryStatus();
236  TProfile2D::AddDirectory(false);
237  std::string opt = useRMS ? "S" : "";
238  TProfile2D *hist = new TProfile2D((prefix + name).c_str(), labels.c_str(), nBinsX, xlo, xhi, nBinsY, ylo, yhi, opt.c_str());
239  TProfile2D::AddDirectory(oldstat);
240  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
241  return hist;
242 }

◆ BookTProfile2D() [2/2]

TProfile2D * PlotBase::BookTProfile2D ( const std::string &  name,
const std::string &  labels,
const int  nBinsX,
double *  binsX,
const int  nBinsY,
double *  binsY,
bool  prependDir = true,
bool  useRMS = false 
)
inherited

Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.

Definition at line 245 of file PlotBase.cxx.

245  {
246  std::string prefix = constructPrefix(m_sDirectory, prependDir);
247  Bool_t oldstat = TProfile2D::AddDirectoryStatus();
248  TProfile2D::AddDirectory(false);
249  std::string opt = useRMS ? "S" : "";
250  TProfile2D *hist = new TProfile2D((prefix + name).c_str(), labels.c_str(), nBinsX, binsX, nBinsY, binsY, opt.c_str());
251  TProfile2D::AddDirectory(oldstat);
252  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
253  return hist;
254 }

◆ BookTProfileRangeY()

TProfile * PlotBase::BookTProfileRangeY ( const std::string &  name,
const std::string &  labels,
int  nBinsX,
double *  binsX,
double  startY,
double  endY,
bool  prependDir = true 
)
inherited

Book a TProfile histogram with variable binning in x-axis and limits in y-values.

Definition at line 217 of file PlotBase.cxx.

218  {
219  std::string prefix = constructPrefix(m_sDirectory, prependDir);
220  TProfile *hist(nullptr);
221  Bool_t oldstat = TProfile::AddDirectoryStatus();
222  TProfile::AddDirectory(false);
223 
224  hist = new TProfile((prefix + name).c_str(), labels.c_str(), (Int_t) nBinsX, binsX, startY, endY);
225  TProfile::AddDirectory(oldstat);
226  m_vBookedHistograms.emplace_back(hist, m_sDirectory);
227  return hist;
228 }

◆ BookTree()

TTree * PlotBase::BookTree ( const std::string &  name,
bool  prependDir = true 
)
inherited

Book a TTree.

Definition at line 281 of file PlotBase.cxx.

281  {
282  std::string prefix = constructPrefix(m_sDirectory, prependDir);
283  TTree *tree = new TTree((prefix + name).c_str(), "");
284 
285  tree->SetAutoSave(0);
286  tree->SetAutoFlush(0);
287  tree->SetDirectory(nullptr);
288  m_vBookedTrees.emplace_back(tree, m_sDirectory);
289  return tree;
290 }

◆ constructPrefix()

std::string PlotBase::constructPrefix ( std::string  dir,
bool  prependDir 
)
staticprivateinherited

Definition at line 293 of file PlotBase.cxx.

293  {
294  if (!prependDir) {
295  return "";
296  }
297  std::replace(dir.begin(), dir.end(), '/', '_');
298  return dir;
299 }

◆ fill() [1/2]

void RecoMuonPlots::fill ( const xAOD::Muon mu)

Definition at line 96 of file RecoMuonPlots.cxx.

96  {
97  //General Plots
101 
102  const xAOD::TrackParticle* primaryTrk = mu.trackParticle(xAOD::Muon::Primary);
103  // tracking related plots
104  if (!primaryTrk) return;
105  m_oImpactPlots.fill(*primaryTrk);
106  //m_oMSHitPlots.fill(*primaryTrk);
107 
108 }

◆ fill() [2/2]

void RecoMuonPlots::fill ( const xAOD::Muon mu,
xAOD::Muon::Quality  my_quality 
)

Definition at line 110 of file RecoMuonPlots.cxx.

110  {
111 
112  //always fill the origin plot
113  m_origin_eta_phi->Fill(mu.eta(), mu.phi());
114 
115  //General Plots; inclusive
116  if (my_quality <= xAOD::Muon::Tight) m_tight_eta_phi->Fill(mu.eta(), mu.phi());
117  if (my_quality <= xAOD::Muon::Medium) m_medium_eta_phi->Fill(mu.eta(), mu.phi());
118 
119  if(!Detail) return;
120  if (mu.pt()/1000.0 > 100) {//ony for high pt muons
121  m_pt_broad->Fill(mu.pt()/1000.0);
122  m_eta_phi_broad->Fill(mu.eta(), mu.phi());
123  }
124  const xAOD::TrackParticle* primaryTrk = mu.trackParticle(xAOD::Muon::Primary);
125  const xAOD::TrackParticle* inDetTrk = mu.trackParticle(xAOD::Muon::InnerDetectorTrackParticle);
126  int correctEnum = (int) xAOD::Muon::MuonSpectrometerTrackParticle;
128  extrapMSTPLinkAcc("extrapolatedMuonSpectrometerTrackParticleLink");
129  if (extrapMSTPLinkAcc.isAvailable(mu) && extrapMSTPLinkAcc(mu).isValid()) correctEnum+=2; //check correct numbering in Muon.h
130  const xAOD::TrackParticle* msExtrapTrk = mu.trackParticle((xAOD::Muon::TrackParticleType) correctEnum);
131 
132  //fill the ndof and chi2 as eta phi map; to calculate efficiencies in post processing
133  //if necessary, can use a quality cut here
134  if (primaryTrk) {
135  m_eff_ndof->Fill(primaryTrk->eta(), primaryTrk->phi(), primaryTrk->numberDoF());
136  m_eff_chi2->Fill(primaryTrk->eta(), primaryTrk->phi(), primaryTrk->chiSquared()/(primaryTrk->numberDoF() * 1.0));
137  }
138  if (inDetTrk) {
139  m_ID_eff_ndof->Fill(inDetTrk->eta(), inDetTrk->phi(), inDetTrk->numberDoF());
140  m_ID_eff_chi2->Fill(inDetTrk->eta(), inDetTrk->phi(), inDetTrk->chiSquared()/(inDetTrk->numberDoF() * 1.0));
141  }
142  if (msExtrapTrk) {
143  m_MS_eff_ndof->Fill(msExtrapTrk->eta(), msExtrapTrk->phi(), msExtrapTrk->numberDoF());
144  m_MS_eff_chi2->Fill(msExtrapTrk->eta(), msExtrapTrk->phi(), msExtrapTrk->chiSquared()/(msExtrapTrk->numberDoF() * 1.0));
145  }
146 
147  if (primaryTrk) {
151  }
152 
161 
162  if (!mu.summaryValue(hitval_etaLayer1Hits, xAOD::MuonSummaryType::etaLayer1Hits)) return;
163  if (!mu.summaryValue(hitval_etaLayer2Hits, xAOD::MuonSummaryType::etaLayer2Hits)) return;
164  if (!mu.summaryValue(hitval_etaLayer3Hits, xAOD::MuonSummaryType::etaLayer3Hits)) return;
165  if (!mu.summaryValue(hitval_etaLayer4Hits, xAOD::MuonSummaryType::etaLayer4Hits)) return;
166 
171 
172  m_eff_nPrec -> Fill(mu.eta(), mu.phi(), hitval_numberOfPrecisionLayers);
173  m_eff_nPhi -> Fill(mu.eta(), mu.phi(), hitval_numberOfPhiLayers);
174  m_eff_nTrigEta -> Fill(mu.eta(), mu.phi(), hitval_numberOfTriggerEtaLayers);
175 
180 
181  m_avg_hits_trigger_layer1 -> Fill(mu.eta(), mu.phi(), hitval_etaLayer1Hits);
182  m_avg_hits_trigger_layer2 -> Fill(mu.eta(), mu.phi(), hitval_etaLayer2Hits);
183  m_avg_hits_trigger_layer3 -> Fill(mu.eta(), mu.phi(), hitval_etaLayer3Hits);
184  m_avg_hits_trigger_layer4 -> Fill(mu.eta(), mu.phi(), hitval_etaLayer4Hits);
185 
186  m_avg_hits_ibl -> Fill(mu.eta(), mu.phi(), hitval_numberOfBLayerHits);
187  m_avg_hits_pix -> Fill(mu.eta(), mu.phi(), hitval_numberOfPixelHits);
188  m_avg_hits_sct -> Fill(mu.eta(), mu.phi(), hitval_numberOfSCTHits);
189  m_avg_hits_trt -> Fill(mu.eta(), mu.phi(), hitval_numberOfTRTHits);
190 
191  if (primaryTrk && inDetTrk && msExtrapTrk) {
192  qoverp_diff = std::abs(inDetTrk->qOverP() - msExtrapTrk->qOverP());
193  qoverp_sigma = std::sqrt(inDetTrk->definingParametersCovMatrix()(4,4) + msExtrapTrk->definingParametersCovMatrix()(4,4));
194  qoverp_signif = (qoverp_sigma > 0) ? (qoverp_diff / qoverp_sigma) : -999;
195  ddpt_idme = (primaryTrk->pt() > 0) ? std::abs(inDetTrk->pt() - msExtrapTrk->pt()) / primaryTrk->pt() : -999;
196 
197  m_avg_ddpt_idme -> Fill(mu.eta(), mu.phi(), ddpt_idme);
198  m_avg_dptsignif -> Fill(mu.eta(), mu.phi(), qoverp_signif);
199  }
200 
201 }

◆ finalize()

void PlotBase::finalize ( )
inherited

Definition at line 47 of file PlotBase.cxx.

47  {
48  for (auto *subNode: m_vSubNodes) {
49  subNode->finalize();
50  }
51  finalizePlots();
52 }

◆ finalizePlots()

virtual void PlotBase::finalizePlots ( )
inlineprivatevirtualinherited

◆ getDirectory()

const std::string& PlotBase::getDirectory ( )
inlineinherited

Definition at line 88 of file PlotBase.h.

88 {return m_sDirectory;}

◆ initialize()

void PlotBase::initialize ( )
inherited

Definition at line 39 of file PlotBase.cxx.

39  {
40  for (auto *subNode: m_vSubNodes) {
41  subNode->initialize();
42  }
44 }

◆ initializePlots()

void RecoMuonPlots::initializePlots ( )
privatevirtual

Reimplemented from PlotBase.

Definition at line 45 of file RecoMuonPlots.cxx.

45  {
46  //be very careful here, bin size is the same as the defult value
47  std::vector<HistData> hists = m_oAllPlots.retrieveBookedHistograms(); // HistData -> std::pair<TH1*, std::string>
48  int xbins = 52;
49  int ybins = 64;
50  float xmin = -2.6;
51  float xmax = 2.6;
52  float ymin = -3.2;
53  float ymax = 3.2;
54 
55  //now register!
56  m_origin_eta_phi= Book2D("_Origin_eta_phi", "Original Distribution;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
57  m_eff_tight = Book2D("_Tight_eff", "Tight Quality Efficiency;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
58  m_eff_medium = Book2D("_Medium_eff", "Medium Quality Efficiency;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
59  m_tight_eta_phi = Book2D("_Tight_eta_phi", "Tight Muon #eta #phi Distribution;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
60  m_medium_eta_phi = Book2D("_Medium_eta_phi", "Medium Muon #eta #phi Distribution;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
61  if (Detail){
62  m_pt_broad = Book1D("_pt_broad", "High p_{T} Distribution;p_{T} [GeV]", 70, 100, 1500);
63  m_eta_phi_broad = Book2D("_eta_phi_broad", "High p_{T} Muon #eta #phi Distribution;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
64 
65  m_eff_nPrec = Book2D("_eff_nPrec", "average number of Precision Layers;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
66  m_eff_nPhi = Book2D("_eff_nPhi", "average number of Phi Layers;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
67  m_eff_nTrigEta = Book2D("_eff_nTrigEta","average number of Trigger Eta Layers;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
68  m_eff_ndof = Book2D("_eff_ndof", "average number of hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
69  m_eff_chi2 = Book2D("_eff_chi2", "average #chi^{2} per DOF;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
70  m_ID_eff_ndof = Book2D("_ID_eff_ndof", "ID track average number of hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
71  m_ID_eff_chi2 = Book2D("_ID_eff_chi2", "ID track average #chi^{2} per DOF;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
72  m_MS_eff_ndof = Book2D("_MS_eff_ndof", "MS track average number of hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
73  m_MS_eff_chi2 = Book2D("_MS_eff_chi2", "MS track average #chi^{2} per DOF;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
74 
75  m_avg_hits_precision_inner = Book2D("_avg_hits_precision_inner", "avg. precision hits, inner;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
76  m_avg_hits_precision_middle = Book2D("_avg_hits_precision_middle", "avg. precision hits, middle;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
77  m_avg_hits_precision_outer = Book2D("_avg_hits_precision_outer", "avg. precision hits, outer;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
78  m_avg_hits_precision_extended = Book2D("_avg_hits_precision_extended", "avg. precision hits, extended;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
79 
80  m_avg_hits_trigger_layer1 = Book2D("_avg_hits_trigger_layer1", "avg. trigger hits, layer 1;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
81  m_avg_hits_trigger_layer2 = Book2D("_avg_hits_trigger_layer2", "avg. trigger hits, layer 2;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
82  m_avg_hits_trigger_layer3 = Book2D("_avg_hits_trigger_layer3", "avg. trigger hits, layer 3;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
83  m_avg_hits_trigger_layer4 = Book2D("_avg_hits_trigger_layer4", "avg. trigger hits, layer 4;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
84 
85  m_avg_hits_ibl = Book2D("_avg_hits_ibl", "avg. IBL hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
86  m_avg_hits_pix = Book2D("_avg_hits_pix", "avg. Pix hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
87  m_avg_hits_sct = Book2D("_avg_hits_sct", "avg. SCT hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
88  m_avg_hits_trt = Book2D("_avg_hits_trt", "avg. TRT hits;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
89 
90  m_avg_ddpt_idme = Book2D("_avg_ddpt_idme", "avg. |pt_{ID} - pt_{ME}| / pt_{CB};#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
91  m_avg_dptsignif = Book2D("_avg_dptsignif", "avg. momentum diff. signif.;#eta;#phi", xbins, xmin, xmax, ybins, ymin, ymax);
92 
93  }
94 }

◆ RegisterSubPlot()

void PlotBase::RegisterSubPlot ( PlotBase pPlotBase)
inlineinherited

Definition at line 41 of file PlotBase.h.

41 {m_vSubNodes.push_back(pPlotBase);}

◆ retrieveBookedEfficiencies()

std::vector< EfficiencyData > PlotBase::retrieveBookedEfficiencies ( )
inherited

Retrieve all booked efficiency objects.

Definition at line 83 of file PlotBase.cxx.

83  {
84  std::vector<EfficiencyData> vBookedEfficiencies = m_vBookedEfficiencies;
85  for (const auto &subNode: m_vSubNodes) {
86  std::vector<EfficiencyData> subNodeHists = subNode->retrieveBookedEfficiencies();
87  vBookedEfficiencies.insert(vBookedEfficiencies.end(), subNodeHists.begin(), subNodeHists.end());
88  }
89  return vBookedEfficiencies;
90 }

◆ retrieveBookedHistograms()

std::vector< HistData > PlotBase::retrieveBookedHistograms ( )
inherited

Retrieve all booked histograms.

Definition at line 63 of file PlotBase.cxx.

63  {
64  std::vector<HistData> vBookedHistograms = m_vBookedHistograms;
65  for (const auto &subNode: m_vSubNodes) {
66  std::vector<HistData> subNodeHists = subNode->retrieveBookedHistograms();
67  vBookedHistograms.insert(vBookedHistograms.end(), subNodeHists.begin(), subNodeHists.end());
68  }
69  return vBookedHistograms;
70 }

◆ retrieveBookedTrees()

std::vector< TreeData > PlotBase::retrieveBookedTrees ( )
inherited

Retrieve all booked trees.

Definition at line 73 of file PlotBase.cxx.

73  {
74  std::vector<TreeData> vBookedTrees = m_vBookedTrees;
75  for (auto *subNode: m_vSubNodes) {
76  std::vector<TreeData> subNodeTrees = subNode->retrieveBookedTrees();
77  vBookedTrees.insert(vBookedTrees.end(), subNodeTrees.begin(), subNodeTrees.end());
78  }
79  return vBookedTrees;
80 }

◆ setDetailLevel()

void PlotBase::setDetailLevel ( int  iDetailLevel)
inherited

Definition at line 55 of file PlotBase.cxx.

55  {
56  for (auto *subNode: m_vSubNodes) {
57  subNode->setDetailLevel(iDetailLevel);
58  }
59  m_iDetailLevel = iDetailLevel;
60 }

Member Data Documentation

◆ ddpt_idme

float RecoMuonPlots::ddpt_idme = 0

Definition at line 96 of file RecoMuonPlots.h.

◆ Detail

bool RecoMuonPlots::Detail

Definition at line 101 of file RecoMuonPlots.h.

◆ hitval_etaLayer1Hits

uint8_t RecoMuonPlots::hitval_etaLayer1Hits = 0

Definition at line 84 of file RecoMuonPlots.h.

◆ hitval_etaLayer2Hits

uint8_t RecoMuonPlots::hitval_etaLayer2Hits = 0

Definition at line 85 of file RecoMuonPlots.h.

◆ hitval_etaLayer3Hits

uint8_t RecoMuonPlots::hitval_etaLayer3Hits = 0

Definition at line 86 of file RecoMuonPlots.h.

◆ hitval_etaLayer4Hits

uint8_t RecoMuonPlots::hitval_etaLayer4Hits = 0

Definition at line 87 of file RecoMuonPlots.h.

◆ hitval_extendedLargeHits

uint8_t RecoMuonPlots::hitval_extendedLargeHits = 0

Definition at line 81 of file RecoMuonPlots.h.

◆ hitval_extendedSmallHits

uint8_t RecoMuonPlots::hitval_extendedSmallHits = 0

Definition at line 80 of file RecoMuonPlots.h.

◆ hitval_innerLargeHits

uint8_t RecoMuonPlots::hitval_innerLargeHits = 0

Definition at line 75 of file RecoMuonPlots.h.

◆ hitval_innerSmallHits

uint8_t RecoMuonPlots::hitval_innerSmallHits = 0

Definition at line 74 of file RecoMuonPlots.h.

◆ hitval_middleLargeHits

uint8_t RecoMuonPlots::hitval_middleLargeHits = 0

Definition at line 77 of file RecoMuonPlots.h.

◆ hitval_middleSmallHits

uint8_t RecoMuonPlots::hitval_middleSmallHits = 0

Definition at line 76 of file RecoMuonPlots.h.

◆ hitval_numberOfBLayerHits

uint8_t RecoMuonPlots::hitval_numberOfBLayerHits = 0

Definition at line 90 of file RecoMuonPlots.h.

◆ hitval_numberOfPhiLayers

uint8_t RecoMuonPlots::hitval_numberOfPhiLayers = 0

Definition at line 70 of file RecoMuonPlots.h.

◆ hitval_numberOfPixelHits

uint8_t RecoMuonPlots::hitval_numberOfPixelHits = 0

Definition at line 91 of file RecoMuonPlots.h.

◆ hitval_numberOfPrecisionLayers

uint8_t RecoMuonPlots::hitval_numberOfPrecisionLayers = 0

Definition at line 69 of file RecoMuonPlots.h.

◆ hitval_numberOfSCTHits

uint8_t RecoMuonPlots::hitval_numberOfSCTHits = 0

Definition at line 92 of file RecoMuonPlots.h.

◆ hitval_numberOfTriggerEtaLayers

uint8_t RecoMuonPlots::hitval_numberOfTriggerEtaLayers = 0

Definition at line 71 of file RecoMuonPlots.h.

◆ hitval_numberOfTRTHits

uint8_t RecoMuonPlots::hitval_numberOfTRTHits = 0

Definition at line 93 of file RecoMuonPlots.h.

◆ hitval_outerLargeHits

uint8_t RecoMuonPlots::hitval_outerLargeHits = 0

Definition at line 79 of file RecoMuonPlots.h.

◆ hitval_outerSmallHits

uint8_t RecoMuonPlots::hitval_outerSmallHits = 0

Definition at line 78 of file RecoMuonPlots.h.

◆ m_avg_ddpt_idme

TH2* RecoMuonPlots::m_avg_ddpt_idme = nullptr

Definition at line 65 of file RecoMuonPlots.h.

◆ m_avg_dptsignif

TH2* RecoMuonPlots::m_avg_dptsignif = nullptr

Definition at line 66 of file RecoMuonPlots.h.

◆ m_avg_hits_ibl

TH2* RecoMuonPlots::m_avg_hits_ibl = nullptr

Definition at line 60 of file RecoMuonPlots.h.

◆ m_avg_hits_pix

TH2* RecoMuonPlots::m_avg_hits_pix = nullptr

Definition at line 61 of file RecoMuonPlots.h.

◆ m_avg_hits_precision_extended

TH2* RecoMuonPlots::m_avg_hits_precision_extended = nullptr

Definition at line 53 of file RecoMuonPlots.h.

◆ m_avg_hits_precision_inner

TH2* RecoMuonPlots::m_avg_hits_precision_inner = nullptr

Definition at line 50 of file RecoMuonPlots.h.

◆ m_avg_hits_precision_middle

TH2* RecoMuonPlots::m_avg_hits_precision_middle = nullptr

Definition at line 51 of file RecoMuonPlots.h.

◆ m_avg_hits_precision_outer

TH2* RecoMuonPlots::m_avg_hits_precision_outer = nullptr

Definition at line 52 of file RecoMuonPlots.h.

◆ m_avg_hits_sct

TH2* RecoMuonPlots::m_avg_hits_sct = nullptr

Definition at line 62 of file RecoMuonPlots.h.

◆ m_avg_hits_trigger_layer1

TH2* RecoMuonPlots::m_avg_hits_trigger_layer1 = nullptr

Definition at line 55 of file RecoMuonPlots.h.

◆ m_avg_hits_trigger_layer2

TH2* RecoMuonPlots::m_avg_hits_trigger_layer2 = nullptr

Definition at line 56 of file RecoMuonPlots.h.

◆ m_avg_hits_trigger_layer3

TH2* RecoMuonPlots::m_avg_hits_trigger_layer3 = nullptr

Definition at line 57 of file RecoMuonPlots.h.

◆ m_avg_hits_trigger_layer4

TH2* RecoMuonPlots::m_avg_hits_trigger_layer4 = nullptr

Definition at line 58 of file RecoMuonPlots.h.

◆ m_avg_hits_trt

TH2* RecoMuonPlots::m_avg_hits_trt = nullptr

Definition at line 63 of file RecoMuonPlots.h.

◆ m_eff_chi2

TH2* RecoMuonPlots::m_eff_chi2

Definition at line 44 of file RecoMuonPlots.h.

◆ m_eff_medium

TH2* RecoMuonPlots::m_eff_medium

Definition at line 33 of file RecoMuonPlots.h.

◆ m_eff_ndof

TH2* RecoMuonPlots::m_eff_ndof

Definition at line 43 of file RecoMuonPlots.h.

◆ m_eff_nPhi

TH2* RecoMuonPlots::m_eff_nPhi

Definition at line 41 of file RecoMuonPlots.h.

◆ m_eff_nPrec

TH2* RecoMuonPlots::m_eff_nPrec

Definition at line 40 of file RecoMuonPlots.h.

◆ m_eff_nTrigEta

TH2* RecoMuonPlots::m_eff_nTrigEta

Definition at line 42 of file RecoMuonPlots.h.

◆ m_eff_tight

TH2* RecoMuonPlots::m_eff_tight

Definition at line 32 of file RecoMuonPlots.h.

◆ m_eta_phi_broad

TH2* RecoMuonPlots::m_eta_phi_broad

Definition at line 37 of file RecoMuonPlots.h.

◆ m_ID_eff_chi2

TH2* RecoMuonPlots::m_ID_eff_chi2

Definition at line 46 of file RecoMuonPlots.h.

◆ m_ID_eff_ndof

TH2* RecoMuonPlots::m_ID_eff_ndof

Definition at line 45 of file RecoMuonPlots.h.

◆ m_iDetailLevel

int PlotBase::m_iDetailLevel
protectedinherited

Definition at line 101 of file PlotBase.h.

◆ m_medium_eta_phi

TH2* RecoMuonPlots::m_medium_eta_phi

Definition at line 35 of file RecoMuonPlots.h.

◆ m_MS_eff_chi2

TH2* RecoMuonPlots::m_MS_eff_chi2

Definition at line 48 of file RecoMuonPlots.h.

◆ m_MS_eff_ndof

TH2* RecoMuonPlots::m_MS_eff_ndof

Definition at line 47 of file RecoMuonPlots.h.

◆ m_oAllPlots

Trk::ParamPlots RecoMuonPlots::m_oAllPlots

Definition at line 25 of file RecoMuonPlots.h.

◆ m_oImpactPlots

Trk::ImpactPlots RecoMuonPlots::m_oImpactPlots

Definition at line 27 of file RecoMuonPlots.h.

◆ m_oMomentumPullPlots

Muon::MomentumPullPlots RecoMuonPlots::m_oMomentumPullPlots

Definition at line 28 of file RecoMuonPlots.h.

◆ m_oMuRecoInfoPlots

Muon::RecoInfoPlots RecoMuonPlots::m_oMuRecoInfoPlots

Definition at line 26 of file RecoMuonPlots.h.

◆ m_origin_eta_phi

TH2* RecoMuonPlots::m_origin_eta_phi

Definition at line 31 of file RecoMuonPlots.h.

◆ m_pt_broad

TH1* RecoMuonPlots::m_pt_broad

Definition at line 36 of file RecoMuonPlots.h.

◆ m_sDirectory

std::string PlotBase::m_sDirectory
protectedinherited

Definition at line 100 of file PlotBase.h.

◆ m_tight_eta_phi

TH2* RecoMuonPlots::m_tight_eta_phi

Definition at line 34 of file RecoMuonPlots.h.

◆ m_vBookedEfficiencies

std::vector<EfficiencyData> PlotBase::m_vBookedEfficiencies
protectedinherited

Definition at line 99 of file PlotBase.h.

◆ m_vBookedHistograms

std::vector<HistData> PlotBase::m_vBookedHistograms
protectedinherited

Definition at line 97 of file PlotBase.h.

◆ m_vBookedTrees

std::vector<TreeData> PlotBase::m_vBookedTrees
protectedinherited

Definition at line 98 of file PlotBase.h.

◆ m_vSubNodes

std::vector<PlotBase*> PlotBase::m_vSubNodes
protectedinherited

Definition at line 96 of file PlotBase.h.

◆ qoverp_diff

float RecoMuonPlots::qoverp_diff = 0

Definition at line 97 of file RecoMuonPlots.h.

◆ qoverp_sigma

float RecoMuonPlots::qoverp_sigma = 0

Definition at line 98 of file RecoMuonPlots.h.

◆ qoverp_signif

float RecoMuonPlots::qoverp_signif = 0

Definition at line 99 of file RecoMuonPlots.h.


The documentation for this class was generated from the following files:
RecoMuonPlots::m_eff_tight
TH2 * m_eff_tight
Definition: RecoMuonPlots.h:32
Trk::ParamPlots::fill
void fill(const xAOD::IParticle &prt, float weight=1.0)
Definition: Tracking/TrkValidation/TrkValHistUtils/Root/ParamPlots.cxx:40
RecoMuonPlots::hitval_numberOfPrecisionLayers
uint8_t hitval_numberOfPrecisionLayers
Definition: RecoMuonPlots.h:69
PlotBase::constructPrefix
static std::string constructPrefix(std::string dir, bool prependDir)
Definition: PlotBase.cxx:293
RecoMuonPlots::qoverp_signif
float qoverp_signif
Definition: RecoMuonPlots.h:99
xAOD::TrackParticle_v1::pt
virtual double pt() const override final
The transverse momentum ( ) of the particle.
Definition: TrackParticle_v1.cxx:73
WritePulseShapeToCool.yhi
yhi
Definition: WritePulseShapeToCool.py:153
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
PlotBase::m_iDetailLevel
int m_iDetailLevel
Definition: PlotBase.h:101
RecoMuonPlots::m_avg_hits_ibl
TH2 * m_avg_hits_ibl
Definition: RecoMuonPlots.h:60
RecoMuonPlots::hitval_numberOfSCTHits
uint8_t hitval_numberOfSCTHits
Definition: RecoMuonPlots.h:92
xAOD::etaLayer1Hits
@ etaLayer1Hits
number of eta hits in the first trigger layer (BML1 ot T4)
Definition: TrackingPrimitives.h:353
PlotBase::m_vBookedHistograms
std::vector< HistData > m_vBookedHistograms
Definition: PlotBase.h:97
ymin
double ymin
Definition: listroot.cxx:63
RecoMuonPlots::m_oMomentumPullPlots
Muon::MomentumPullPlots m_oMomentumPullPlots
Definition: RecoMuonPlots.h:28
RecoMuonPlots::m_avg_dptsignif
TH2 * m_avg_dptsignif
Definition: RecoMuonPlots.h:66
RecoMuonPlots::m_avg_hits_precision_extended
TH2 * m_avg_hits_precision_extended
Definition: RecoMuonPlots.h:53
RecoMuonPlots::m_avg_hits_trigger_layer2
TH2 * m_avg_hits_trigger_layer2
Definition: RecoMuonPlots.h:56
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
make_coralServer_rep.opt
opt
Definition: make_coralServer_rep.py:19
RecoMuonPlots::m_eff_nPhi
TH2 * m_eff_nPhi
Definition: RecoMuonPlots.h:41
RecoMuonPlots::m_eff_nPrec
TH2 * m_eff_nPrec
Definition: RecoMuonPlots.h:40
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
xAOD::TrackParticle_v1::eta
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Definition: TrackParticle_v1.cxx:77
plotmaker.hist
hist
Definition: plotmaker.py:148
xAOD::TrackParticle_v1::summaryValue
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
Definition: TrackParticle_v1.cxx:736
mergePhysValFiles.start
start
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:14
PlotBase::initializePlots
virtual void initializePlots()
Definition: PlotBase.h:91
PlotBase::m_sDirectory
std::string m_sDirectory
Definition: PlotBase.h:100
PlotBase::m_vBookedEfficiencies
std::vector< EfficiencyData > m_vBookedEfficiencies
Definition: PlotBase.h:99
tree
TChain * tree
Definition: tile_monitor.h:30
RecoMuonPlots::m_pt_broad
TH1 * m_pt_broad
Definition: RecoMuonPlots.h:36
RecoMuonPlots::m_eff_nTrigEta
TH2 * m_eff_nTrigEta
Definition: RecoMuonPlots.h:42
PixelAthClusterMonAlgCfg.ybins
ybins
Definition: PixelAthClusterMonAlgCfg.py:169
RecoMuonPlots::m_avg_hits_precision_inner
TH2 * m_avg_hits_precision_inner
Definition: RecoMuonPlots.h:50
PlotBase::Book2D
TH2F * Book2D(const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
Book a TH2F histogram.
Definition: PlotBase.cxx:123
xAOD::TrackParticle_v1::chiSquared
float chiSquared() const
Returns the of the overall track fit.
RecoMuonPlots::qoverp_sigma
float qoverp_sigma
Definition: RecoMuonPlots.h:98
RecoMuonPlots::hitval_innerLargeHits
uint8_t hitval_innerLargeHits
Definition: RecoMuonPlots.h:75
detail
Definition: extract_histogram_tag.cxx:14
xAOD::numberOfPixelHits
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:259
xAOD::numberOfTRTHits
@ numberOfTRTHits
number of TRT hits [unit8_t].
Definition: TrackingPrimitives.h:275
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:55
RecoMuonPlots::m_oImpactPlots
Trk::ImpactPlots m_oImpactPlots
Definition: RecoMuonPlots.h:27
RecoMuonPlots::hitval_outerSmallHits
uint8_t hitval_outerSmallHits
Definition: RecoMuonPlots.h:78
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:225
RecoMuonPlots::hitval_etaLayer3Hits
uint8_t hitval_etaLayer3Hits
Definition: RecoMuonPlots.h:86
RecoMuonPlots::m_avg_hits_precision_middle
TH2 * m_avg_hits_precision_middle
Definition: RecoMuonPlots.h:51
RecoMuonPlots::m_MS_eff_ndof
TH2 * m_MS_eff_ndof
Definition: RecoMuonPlots.h:47
RecoMuonPlots::m_avg_ddpt_idme
TH2 * m_avg_ddpt_idme
Definition: RecoMuonPlots.h:65
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
RecoMuonPlots::m_avg_hits_trigger_layer3
TH2 * m_avg_hits_trigger_layer3
Definition: RecoMuonPlots.h:57
RecoMuonPlots::m_tight_eta_phi
TH2 * m_tight_eta_phi
Definition: RecoMuonPlots.h:34
RecoMuonPlots::hitval_extendedLargeHits
uint8_t hitval_extendedLargeHits
Definition: RecoMuonPlots.h:81
PlotBase::PlotBase
PlotBase(PlotBase *parent, const std::string &sDir)
Definition: PlotBase.cxx:29
xAOD::innerLargeHits
@ innerLargeHits
number of precision hits in the inner large layer
Definition: TrackingPrimitives.h:331
RecoMuonPlots::m_avg_hits_trt
TH2 * m_avg_hits_trt
Definition: RecoMuonPlots.h:63
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
xAOD::etaLayer3Hits
@ etaLayer3Hits
number of eta hits in the third trigger layer (BOL1 ot T2)
Definition: TrackingPrimitives.h:355
PlotBase::Book1D
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
Definition: PlotBase.cxx:94
xAOD::middleLargeHits
@ middleLargeHits
number of precision hits in the middle large layer
Definition: TrackingPrimitives.h:333
InDet::ExclusiveOrigin::Primary
@ Primary
Definition: InDetTrackTruthOriginDefs.h:163
RecoMuonPlots::ddpt_idme
float ddpt_idme
Definition: RecoMuonPlots.h:96
xAOD::etaLayer2Hits
@ etaLayer2Hits
number of eta hits in the second trigger layer (BML2 ot T1)
Definition: TrackingPrimitives.h:354
beamspotnt.labels
list labels
Definition: bin/beamspotnt.py:1447
PlotBase::m_vSubNodes
std::vector< PlotBase * > m_vSubNodes
Definition: PlotBase.h:96
RecoMuonPlots::hitval_numberOfBLayerHits
uint8_t hitval_numberOfBLayerHits
Definition: RecoMuonPlots.h:90
RecoMuonPlots::hitval_numberOfTRTHits
uint8_t hitval_numberOfTRTHits
Definition: RecoMuonPlots.h:93
PlotBase::retrieveBookedHistograms
std::vector< HistData > retrieveBookedHistograms()
Retrieve all booked histograms.
Definition: PlotBase.cxx:63
RecoMuonPlots::m_avg_hits_precision_outer
TH2 * m_avg_hits_precision_outer
Definition: RecoMuonPlots.h:52
xAOD::numberOfTriggerEtaLayers
@ numberOfTriggerEtaLayers
layers with trigger eta hits [unit8_t].
Definition: TrackingPrimitives.h:292
WritePulseShapeToCool.xhi
xhi
Definition: WritePulseShapeToCool.py:152
xmin
double xmin
Definition: listroot.cxx:60
xAOD::extendedLargeHits
@ extendedLargeHits
number of precision hits in the extended large layer
Definition: TrackingPrimitives.h:337
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
RecoMuonPlots::hitval_numberOfPixelHits
uint8_t hitval_numberOfPixelHits
Definition: RecoMuonPlots.h:91
ChangeHistoRange.binsY
list binsY
Definition: ChangeHistoRange.py:59
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
RecoMuonPlots::m_avg_hits_sct
TH2 * m_avg_hits_sct
Definition: RecoMuonPlots.h:62
RecoMuonPlots::hitval_etaLayer2Hits
uint8_t hitval_etaLayer2Hits
Definition: RecoMuonPlots.h:85
RecoMuonPlots::hitval_innerSmallHits
uint8_t hitval_innerSmallHits
Definition: RecoMuonPlots.h:74
MakeTH3DFromTH2Ds.hists
hists
Definition: MakeTH3DFromTH2Ds.py:72
WritePulseShapeToCool.xlo
xlo
Definition: WritePulseShapeToCool.py:133
RecoMuonPlots::Detail
bool Detail
Definition: RecoMuonPlots.h:101
WritePulseShapeToCool.ylo
ylo
Definition: WritePulseShapeToCool.py:134
RecoMuonPlots::m_avg_hits_trigger_layer4
TH2 * m_avg_hits_trigger_layer4
Definition: RecoMuonPlots.h:58
RecoMuonPlots::m_MS_eff_chi2
TH2 * m_MS_eff_chi2
Definition: RecoMuonPlots.h:48
RecoMuonPlots::m_ID_eff_ndof
TH2 * m_ID_eff_ndof
Definition: RecoMuonPlots.h:45
beamspotman.dir
string dir
Definition: beamspotman.py:623
LikeEnum::Tight
@ Tight
Definition: LikelihoodEnums.h:15
dumpTgcDigiJitter.nBins
list nBins
Definition: dumpTgcDigiJitter.py:29
xAOD::TrackParticle_v1::qOverP
float qOverP() const
Returns the parameter.
RecoMuonPlots::m_avg_hits_pix
TH2 * m_avg_hits_pix
Definition: RecoMuonPlots.h:61
xAOD::TrackParticle_v1::definingParametersCovMatrix
const ParametersCovMatrix_t definingParametersCovMatrix() const
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix.
Definition: TrackParticle_v1.cxx:246
xAOD::middleSmallHits
@ middleSmallHits
number of precision hits in the middle small layer
Definition: TrackingPrimitives.h:332
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
RecoMuonPlots::qoverp_diff
float qoverp_diff
Definition: RecoMuonPlots.h:97
RecoMuonPlots::m_eff_medium
TH2 * m_eff_medium
Definition: RecoMuonPlots.h:33
RecoMuonPlots::m_eta_phi_broad
TH2 * m_eta_phi_broad
Definition: RecoMuonPlots.h:37
xAOD::outerSmallHits
@ outerSmallHits
number of precision hits in the outer small layer
Definition: TrackingPrimitives.h:334
RecoMuonPlots::m_avg_hits_trigger_layer1
TH2 * m_avg_hits_trigger_layer1
Definition: RecoMuonPlots.h:55
LArCellBinning.xbins
int xbins
Definition: LArCellBinning.py:163
Muon::RecoInfoPlots::fill
void fill(const xAOD::Muon &mu, float weight=1.0)
Definition: MuonSpectrometer/MuonValidation/MuonHistogramming/MuonHistUtils/Root/RecoInfoPlots.cxx:41
xAOD::outerLargeHits
@ outerLargeHits
number of precision hits in the outer large layer
Definition: TrackingPrimitives.h:335
RecoMuonPlots::m_ID_eff_chi2
TH2 * m_ID_eff_chi2
Definition: RecoMuonPlots.h:46
Trk::ImpactPlots::fill
void fill(const xAOD::TrackParticle &trkprt, float weight=1.0)
Definition: ImpactPlots.cxx:27
RecoMuonPlots::m_oMuRecoInfoPlots
Muon::RecoInfoPlots m_oMuRecoInfoPlots
Definition: RecoMuonPlots.h:26
RecoMuonPlots::hitval_numberOfTriggerEtaLayers
uint8_t hitval_numberOfTriggerEtaLayers
Definition: RecoMuonPlots.h:71
RecoMuonPlots::hitval_extendedSmallHits
uint8_t hitval_extendedSmallHits
Definition: RecoMuonPlots.h:80
LikeEnum::Medium
@ Medium
Definition: LikelihoodEnums.h:14
RecoMuonPlots::hitval_middleLargeHits
uint8_t hitval_middleLargeHits
Definition: RecoMuonPlots.h:77
xmax
double xmax
Definition: listroot.cxx:61
xAOD::numberOfSCTHits
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Definition: TrackingPrimitives.h:268
xAOD::TrackParticle_v1::numberDoF
float numberDoF() const
Returns the number of degrees of freedom of the overall track or vertex fit as float.
ChangeHistoRange.binsX
list binsX
Definition: ChangeHistoRange.py:56
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
xAOD::extendedSmallHits
@ extendedSmallHits
number of precision hits in the extended small layer
Definition: TrackingPrimitives.h:336
RecoMuonPlots::m_medium_eta_phi
TH2 * m_medium_eta_phi
Definition: RecoMuonPlots.h:35
xAOD::innerSmallHits
@ innerSmallHits
number of precision hits in the inner small layer
Definition: TrackingPrimitives.h:330
RecoMuonPlots::hitval_etaLayer1Hits
uint8_t hitval_etaLayer1Hits
Definition: RecoMuonPlots.h:84
RecoMuonPlots::m_eff_ndof
TH2 * m_eff_ndof
Definition: RecoMuonPlots.h:43
RecoMuonPlots::hitval_outerLargeHits
uint8_t hitval_outerLargeHits
Definition: RecoMuonPlots.h:79
RecoMuonPlots::m_oAllPlots
Trk::ParamPlots m_oAllPlots
Definition: RecoMuonPlots.h:25
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
xAOD::numberOfPhiLayers
@ numberOfPhiLayers
layers with a trigger phi hit [unit8_t].
Definition: TrackingPrimitives.h:290
RecoMuonPlots::hitval_etaLayer4Hits
uint8_t hitval_etaLayer4Hits
Definition: RecoMuonPlots.h:87
PlotBase::finalizePlots
virtual void finalizePlots()
Definition: PlotBase.h:92
PlotBase::m_vBookedTrees
std::vector< TreeData > m_vBookedTrees
Definition: PlotBase.h:98
Muon::MomentumPullPlots::fill
void fill(const xAOD::Muon &mu, float weight=1.0)
Definition: MomentumPullPlots.cxx:30
xAOD::etaLayer4Hits
@ etaLayer4Hits
number of eta hits in the fourth trigger layer (T3)
Definition: TrackingPrimitives.h:356
RecoMuonPlots::hitval_middleSmallHits
uint8_t hitval_middleSmallHits
Definition: RecoMuonPlots.h:76
RecoMuonPlots::hitval_numberOfPhiLayers
uint8_t hitval_numberOfPhiLayers
Definition: RecoMuonPlots.h:70
RecoMuonPlots::m_eff_chi2
TH2 * m_eff_chi2
Definition: RecoMuonPlots.h:44
xAOD::TrackParticle_v1::phi
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .)
RecoMuonPlots::m_origin_eta_phi
TH2 * m_origin_eta_phi
Definition: RecoMuonPlots.h:31
xAOD::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
Definition: TrackingPrimitives.h:237
ymax
double ymax
Definition: listroot.cxx:64
xAOD::numberOfPrecisionLayers
@ numberOfPrecisionLayers
layers with at least 3 hits [unit8_t].
Definition: TrackingPrimitives.h:288