Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ana_starlight.C File Reference
#include <iostream>
#include <fstream>
#include <TLorentzVector.h>
#include <TF1.h>
#include <TRandom3.h>
+ Include dependency graph for ana_starlight.C:

Go to the source code of this file.

Functions

double get_dpp (double p)
 
Double_t get_invmass_smeared (TLorentzVector v1, TLorentzVector v2)
 
void ana_starlight ()
 

Variables

const double E_MASS = 0.000510998950
 
TRandom3 * rand3
 

Function Documentation

void ana_starlight ( )

Definition at line 69 of file ana_starlight.C.

View newest version in sPHENIX GitHub at line 69 of file ana_starlight.C

References KFPMath::a, KFPMath::b, Acts::PhysicalConstants::c, E, Acts::UnitConstants::e, E_MASS, get_invmass_smeared(), in, CKF_timing_vs_mu::label, Acts::UnitConstants::m, mass, nevents(), merge_hashes::p, physmon_track_finding_ttbar::pt, rand3, ActsTests::PropagationDatasets::theta, tree, v1, and v2.

+ Here is the call graph for this function:

double get_dpp ( double  p)

Definition at line 15 of file ana_starlight.C.

View newest version in sPHENIX GitHub at line 15 of file ana_starlight.C

Referenced by get_invmass_smeared().

+ Here is the caller graph for this function:

Double_t get_invmass_smeared ( TLorentzVector  v1,
TLorentzVector  v2 
)

Definition at line 29 of file ana_starlight.C.

View newest version in sPHENIX GitHub at line 29 of file ana_starlight.C

References E_MASS, get_dpp(), rand3, sum(), and v2.

Referenced by ana_starlight().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const double E_MASS = 0.000510998950

Definition at line 9 of file ana_starlight.C.

View newest version in sPHENIX GitHub at line 9 of file ana_starlight.C

Referenced by ana_starlight(), and get_invmass_smeared().

TRandom3* rand3

Definition at line 11 of file ana_starlight.C.

View newest version in sPHENIX GitHub at line 11 of file ana_starlight.C

Referenced by ana_starlight(), and get_invmass_smeared().