JG ROOT Tools libraries  version 5.0 - august 2014
RStringFunctions.hh File Reference
#include "RBaseFunctions.hh"
#include "GVectorD.hh"
#include <TVector2.h>
#include <TVector3.h>

Go to the source code of this file.

Functions

string RGetString (const TVector2 &v, const char *fmt="%8.4f")
 
string RGetString (const TVector3 &v, const char *fmt="%8.4f")
 

Detailed Description

Include file for functions related to strings.

Function Documentation

string RGetString ( const TVector2 &  v,
const char *  fmt 
)

Function returning a string from a ROOT vector. It uses the delimeters from the GVectorD class of the GCpp library.

Parameters
vvector
fmtC-style format
string RGetString ( const TVector3 &  v,
const char *  fmt 
)

Function returning a string from a ROOT vector. It uses the delimeters from the GVectorD class of the GCpp library.

Parameters
vvector
fmtC-style format

Referenced by RHoughTransform3D::ComputeTransformXY(), RSphereTesselation::InitData(), and RSphereTesselation::SubDivide().