ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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 More...
 
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  }

◆ 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:
index
Definition: index.py:1
Muon::BetaFitPlots::book
void book(TDirectory *dir, const TString &prefix)
Definition: MuonInsideOutAnalysisPlots.cxx:295
Muon::CandidatePlots::eta
TH1 * eta
Definition: MuonInsideOutAnalysisPlots.h:176
Muon::CandidatePlots::betaCandidates
BetaFitPlots betaCandidates
Definition: MuonInsideOutAnalysisPlots.h:181
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
Muon::CandidatePlots::beta
TH1 * beta
Definition: MuonInsideOutAnalysisPlots.h:178
beamspotman.dir
string dir
Definition: beamspotman.py:623
Muon::CandidatePlots::pt
TH1 * pt
Definition: MuonInsideOutAnalysisPlots.h:175
Muon::CandidatePlots::phi
TH1 * phi
Definition: MuonInsideOutAnalysisPlots.h:177
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
Muon::CandidatePlots::nseg
TH1 * nseg
Definition: MuonInsideOutAnalysisPlots.h:179
Muon::CandidatePlots::betaBestCandidate
BetaFitPlots betaBestCandidate
Definition: MuonInsideOutAnalysisPlots.h:182