EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qaplots.cxx File Reference
#include "qaplots.hh"
#include <eicsmear/functions.h>
#include <eicsmear/smear/functions.h>
#include "eicsmear/erhic/EventBase.h"
#include "eicsmear/erhic/EventPythia.h"
#include "eicsmear/erhic/Particle.h"
#include "eicsmear/smear/EventSmear.h"
#include "eicsmear/smear/EventS.h"
#include "eicsmear/smear/Smear.h"
#include "eicsmear/smear/ParticleMCS.h"
#include "eicsmear/smear/Detector.h"
#include "eicsmeardetectors.hh"
#include <TSystem.h>
#include <TDatabasePDG.h>
#include <TFile.h>
#include <TChain.h>
#include <TCanvas.h>
#include <TProfile.h>
#include <TLegend.h>
#include <TText.h>
#include <TStyle.h>
#include <string>
#include <iomanip>
#include <cctype>
#include <exception>
#include <vector>
#include <map>
+ Include dependency graph for qaplots.cxx:

Go to the source code of this file.

Functions

static const TString getrootname (const qaparameters &qapars)
 
static void initializepidqabook (const qaparameters &qapars, map< int, pidqacollection > &qabook)
 
static void initializeeventqa (const qaparameters &qapars, eventqacollection &eventqa)
 
static void FillEventQA (eventqacollection &eventqa, const erhic::EventMC *const inEvent, const Smear::Event *const inEventS)
 
static void FillParticleQA (map< int, pidqacollection > &qabook, const Particle *const inParticle, const Smear::ParticleMCS *const inParticleS)
 
static void PlotQA (const qaparameters &qapars, eventqacollection &eventqa, map< int, pidqacollection > &qabook)
 
int main (int argc, char *argv[])
 
qaparameters ParseArguments (int argc, char *argv[])
 

Function Documentation

void FillParticleQA ( map< int, pidqacollection > &  qabook,
const Particle *const  inParticle,
const Smear::ParticleMCS *const  inParticleS 
)
static
const TString getrootname ( const qaparameters qapars)
static

Definition at line 322 of file qaplots.cxx.

View newest version in sPHENIX GitHub at line 322 of file qaplots.cxx

References qaparameters::nevents, qaparameters::outpath, and qaparameters::txtfilename.

Referenced by main().

+ Here is the caller graph for this function:

void initializepidqabook ( const qaparameters qapars,
map< int, pidqacollection > &  qabook 
)
static

Definition at line 354 of file qaplots.cxx.

View newest version in sPHENIX GitHub at line 354 of file qaplots.cxx

References kdfinder::abs(), qaparameters::detstring, CEMC_TOWER::emin, phibins, phimin, pid, qaparameters::pids, and Acts::UnitConstants::s.

+ Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 56 of file qaplots.cxx.

View newest version in sPHENIX GitHub at line 56 of file qaplots.cxx

References qaparameters::beam_mom_nn, BuildByName(), BuildTree(), qaparameters::detstring, Smear::Detector::GetNDevices(), getrootname(), initializeeventqa(), qaparameters::nevents, qaparameters::outfilebase, qaparameters::outpath, ParseArguments(), qaparameters::pids, SmearTree(), and qaparameters::txtfilename.

+ Here is the call graph for this function:

qaparameters ParseArguments ( int  argc,
char *  argv[] 
)