ATLAS Offline Software
Loading...
Searching...
No Matches
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 "FPGATrackSimObjects/FPGATrackSimFunctions.h"
#include "FPGATrackSimHough/FPGATrackSimHoughFunctions.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 192 of file FPGATrackSimMatrixGenAlgo.cxx.

193{
194 FPGATrackSimTrackPars pars = track.getPars();
195 for (unsigned i = 0; i < FPGATrackSimTrackPars::NPARS; i++)
196 hists[i]->Fill(pars[i]);
197}