ATLAS Offline Software
Functions
FPGATrackSimMatrixGenAlgo.cxx File Reference

See FPGATrackSimMatrixGenAlgo.h. More...

#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/ITHistSvc.h"
#include "FPGATrackSimMatrixGenAlgo.h"
#include "FPGATrackSimMatrixAccumulator.h"
#include "FPGATrackSimConfTools/FPGATrackSimRegionSlices.h"
#include "FPGATrackSimObjects/FPGATrackSimConstants.h"
#include "TruthUtils/MagicNumbers.h"
#include "TH1.h"
#include "TH2.h"
#include "TStyle.h"
#include <cassert>
#include <sstream>
#include <iostream>
#include <fstream>
#include <cmath>
#include <utility>

Go to the source code of this file.

Functions

void fillTrackPars (TH1I *const hists[FPGATrackSimTrackPars::NPARS], FPGATrackSimTruthTrack const &track)
 

Detailed Description

See FPGATrackSimMatrixGenAlgo.h.

Author
Rewrite by Riley Xu - riley.nosp@m..xu@.nosp@m.cern..nosp@m.ch after FTK code
Date
May 8th, 2020

Definition in file FPGATrackSimMatrixGenAlgo.cxx.

Function Documentation

◆ fillTrackPars()

void fillTrackPars ( TH1I *const  hists[FPGATrackSimTrackPars::NPARS],
FPGATrackSimTruthTrack const track 
)

Definition at line 185 of file FPGATrackSimMatrixGenAlgo.cxx.

186 {
187  FPGATrackSimTrackPars pars = track.getPars();
188  for (unsigned i = 0; i < FPGATrackSimTrackPars::NPARS; i++)
189  hists[i]->Fill(pars[i]);
190 }
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimTrackPars
Definition: FPGATrackSimTrackPars.h:22
lumiFormat.i
int i
Definition: lumiFormat.py:92
MakeTH3DFromTH2Ds.hists
hists
Definition: MakeTH3DFromTH2Ds.py:72
FPGATrackSimTrackPars::NPARS
@ NPARS
Definition: FPGATrackSimTrackPars.h:49
xAOD::track
@ track
Definition: TrackingPrimitives.h:512