ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::CandidatePlots Struct Reference

candidate based plots More...

#include <MuonInsideOutAnalysisPlots.h>

Collaboration diagram for Muon::CandidatePlots:

Public Member Functions

void book (TDirectory *dir, const TString &prefix)
 candidate based plots
void fill (int ntruth_, int nseg_, int nseg1_, int nhough_)
void fill (const MuonValidationTrackParticleBlock &tracks, int index)

Public Attributes

TH1 * pt
TH1 * eta
TH1 * phi
TH1 * beta
TH1 * nseg
BetaFitPlots betaCandidates
BetaFitPlots betaBestCandidate

Detailed Description

candidate based plots

Definition at line 174 of file MuonInsideOutAnalysisPlots.h.

Member Function Documentation

◆ book()

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

candidate based plots

Definition at line 323 of file MuonInsideOutAnalysisPlots.cxx.

323 {
324 pt = new TH1F(prefix+"pt","pt",100,0,300.);
325 eta = new TH1F(prefix+"eta","eta",100,-3,3);
326 phi = new TH1F(prefix+"phi","phi",100,-3,3);
327 beta = new TH1F(prefix+"beta","beta",100,0,1);
328 nseg = new TH1F(prefix+"nseg","nseg",10,-0.5,9.5);
329
330 betaCandidates.book(dir,prefix+"all_");
331 betaBestCandidate.book(dir,prefix+"best_");
332 }
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)

◆ fill() [1/2]

void Muon::CandidatePlots::fill ( const MuonValidationTrackParticleBlock & tracks,
int index )

Definition at line 334 of file MuonInsideOutAnalysisPlots.cxx.

334 {
335 pt->Fill( (*tracks.pt)[index]*0.001 );
336 eta->Fill( (*tracks.eta)[index] );
337 phi->Fill( (*tracks.phi)[index] );
338 beta->Fill( (*tracks.truth.beta)[index] );
339 }

◆ fill() [2/2]

void Muon::CandidatePlots::fill ( int ntruth_,
int nseg_,
int nseg1_,
int nhough_ )

Member Data Documentation

◆ beta

TH1* Muon::CandidatePlots::beta

Definition at line 178 of file MuonInsideOutAnalysisPlots.h.

◆ betaBestCandidate

BetaFitPlots Muon::CandidatePlots::betaBestCandidate

Definition at line 182 of file MuonInsideOutAnalysisPlots.h.

◆ betaCandidates

BetaFitPlots Muon::CandidatePlots::betaCandidates

Definition at line 181 of file MuonInsideOutAnalysisPlots.h.

◆ eta

TH1* Muon::CandidatePlots::eta

Definition at line 176 of file MuonInsideOutAnalysisPlots.h.

◆ nseg

TH1* Muon::CandidatePlots::nseg

Definition at line 179 of file MuonInsideOutAnalysisPlots.h.

◆ phi

TH1* Muon::CandidatePlots::phi

Definition at line 177 of file MuonInsideOutAnalysisPlots.h.

◆ pt

TH1* Muon::CandidatePlots::pt

Definition at line 175 of file MuonInsideOutAnalysisPlots.h.


The documentation for this struct was generated from the following files: