Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Utilities.h File Reference
#include <vector>
#include <TMath.h>
#include <TFile.h>
#include <TTree.h>
+ Include dependency graph for Utilities.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
void CleanVec (std::vector< T > &v)
 
float deltaPhi (float phi1, float phi2)
 
float deltaR (float eta1, float phi1, float eta2, float phi2)
 
template<typename T >
std::string number_to_string (T param_)
 
vector< tuple< float, float,
float, float > > 
MVTXStavePositionXY ()
 

Function Documentation

template<class T >
void CleanVec ( std::vector< T > &  v)

Definition at line 10 of file Utilities.h.

View newest version in sPHENIX GitHub at line 10 of file Utilities.h

References swap().

Referenced by main(), ResetVec(), and dNdEtaINTT::ResetVectors().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float deltaR ( float  eta1,
float  phi1,
float  eta2,
float  phi2 
)

Definition at line 26 of file Utilities.h.

View newest version in sPHENIX GitHub at line 26 of file Utilities.h

References deltaPhi().

+ Here is the call graph for this function:

vector<tuple<float, float, float, float> > MVTXStavePositionXY ( )

Definition at line 55 of file Utilities.h.

View newest version in sPHENIX GitHub at line 55 of file Utilities.h

References f, i, std::tr1::make_tuple(), t, and testSigmaEff::v.

+ Here is the call graph for this function:

template<typename T >
std::string number_to_string ( T  param_)

Definition at line 34 of file Utilities.h.

View newest version in sPHENIX GitHub at line 34 of file Utilities.h

References str, and to_string().

+ Here is the call graph for this function: