Analysis Software
Documentation for sPHENIX simulation software
|
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <tuple>
#include <TCanvas.h>
#include <TDirectory.h>
#include <TFile.h>
#include <TH1F.h>
#include <TProfile.h>
#include <TTree.h>
Go to the source code of this file.
Classes | |
struct | MaterialHistograms |
struct | Region |
Functions | |
void | materialComposition (const std::string &inFile, const std::string &treeName, const std::string &outFile, unsigned int bins, float eta, const std::vector< Region > ®ions) |
void materialComposition | ( | const std::string & | inFile, |
const std::string & | treeName, | ||
const std::string & | outFile, | ||
unsigned int | bins, | ||
float | eta, | ||
const std::vector< Region > & | regions | ||
) |
Plot the material composition
inFile | the input root file |
treeNAme | the input tree name (default: 'trackstates) |
outFile | the output root file |
bins | the number of bins |
eta | the eta range |
Definition at line 118 of file materialComposition.C.
View newest version in sPHENIX GitHub at line 118 of file materialComposition.C
References add_histos_bX::ib, physmon_track_finding_ttbar::r, step, propagation_timing::steps, to_string(), ambiguity_solver_full_chain::x, X0, y, and physmon_track_finding_ttbar::z.
Referenced by main().