Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimX Class Reference
+ Inheritance diagram for SimX:
+ Collaboration diagram for SimX:

Public Member Functions

 SimX (string dir_name)
 
void Simulator (void)
 
void PlotSim (void)
 
int OutSimF (const char *fOutName)
 
 ~SimX ()
 
- Public Member Functions inherited from FileF
 FileF ()
 
 ~FileF ()
 
int Open (const char *file_name)
 
void Close ()
 
int Read (int copy=0)
 
void PrimeOut (long Nx, long Ny)
 
void CloseOut ()
 
int OpenOutF (const char *fOutName="Out_bufzs")
 
int OutFitsF (unsigned short *buf)
 
int getValue (const char *name, double *value)
 
void PrintKeys (void)
 

Public Attributes

const int Nmatr
 
const int Msz
 
const int Centr
 
doublematrix
 
double SiPzS2
 
const int tbl_sz
 
int XminSearch
 
int XmaxSearch
 
int YminSearch
 
int YmaxSearch
 
double PixSz
 
int Flag
 
string dname
 
string filename
 
string OutFN
 
unsigned short * bufsi
 
TH1D * hsiAmp
 
TH1D * hsiAmx
 
TH1D * hsiAle
 
TH1D * hsiXl
 
TH1D * hsiYl
 
TH1D * hsiZl
 
TH1D * hsiTl
 
- Public Attributes inherited from FileF
const char * fname
 
fitsfile * fptr
 
fitsfile * fout
 
int iEOF
 
int Nhdu
 
int hdu
 
int hdutype
 
long * buffer
 
int anynull
 
char strnull [10]
 
int status
 
char comment [FLEN_CARD]
 
int bitpix
 
double bzero
 
double bscale
 
int naxis
 
long naxes [MAXIS]
 
long nx
 
long ny
 
unsigned long npixels
 
const long fpixel
 
unsigned short datamin
 
unsigned short datamax
 
int Ncards
 
char card [Lcard]
 
char value_str [Lcard]
 
char keyword [Lcard]
 
double value
 
double ltv1
 
double ltv2
 
double ltm1_1
 
double ltm1_2
 
double ltm2_1
 
double ltm2_2
 
map< string, double >::iterator H_Iter
 
std::pair< map< string, double >
::iterator, bool > 
pptr
 
map< string, doublemHeader
 
int lTable
 
char TableName [FLEN_VALUE]
 
int ncols
 
char * ColName [NbCol]
 

Static Public Attributes

static const float left_margin = (float)0.06
 
static const float right_margin = (float)0.006
 
static const float top_margin = (float)0.01
 
static const float bot_margin = (float)0.04
 
static const int bend = 1
 
static const int Nray = 8000
 
static const double SiDi = 0.355
 
static const double Sigma0 = 0.07
 
static const double Vop =81.
 
static const double Vde =Co::Vde
 
static const double Cpn =Co::Cpn
 
static const double Vplus =SimX::Vop +SimX::Vde*(2.*Co::Cpn -1.)
 
static const double Vmins =SimX::Vop -SimX::Vde
 
static const double Tmax =log(SimX::Vplus/SimX::Vmins)
 
static const double t_sat =2.*Co::mobil_e*SimX::Vde/(Co::v_sat_e*Co::Depth)
 
static SimXptrSimA = 0
 
- Static Public Attributes inherited from FileF
static unsigned short nullval = 0
 
static const int klength = 8
 
static const char valuebegin = '='
 
static const char valuend = '/'
 
static long nrows
 
static vector< doubleTabData [NbCol]
 
static const char * FieldName [NbCol] ={"TIMES","CURRENT"}
 

Additional Inherited Members

- Public Types inherited from FileF
enum  { MaxP = 22 }
 
enum  { MAXIS = 10 }
 
enum  { Lcard = FLEN_CARD }
 
enum  { NbCol = 2 }
 
typedef pair< string, doubleH_Pair
 

Detailed Description

Definition at line 805 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 805 of file Fe55_main.dev20190528.cpp

Constructor & Destructor Documentation

SimX::SimX ( string  dir_name)

Definition at line 899 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 899 of file Fe55_main.dev20190528.cpp

References bend, bufsi, Co::Cpn, Co::DelD, dname, filename, Flag, FileList::FName, FileList::FName_Iter, Co::Gain, FileF::hdu, hsiAle, hsiAmp, hsiAmx, hsiTl, hsiXl, hsiYl, hsiZl, i, FileF::iEOF, DataStr::Instance(), matrix, FileF::MaxP, DataStr::maxX(), DataStr::maxY(), DataStr::minX(), DataStr::minY(), Msz, FileF::naxis, Co::NeKa, Co::NeKb, FileList::Nfile, Nmatr, FileF::npixels, FileF::nx, FileF::ny, FileF::Open(), DataStr::PixSz(), PixSz, ptrSimA, FileF::Read(), SiDi, Simulator(), t_sat, Tmax, Vde, Vmins, Vop, Vplus, XmaxSearch, XminSearch, YmaxSearch, and YminSearch.

+ Here is the call graph for this function:

SimX::~SimX ( )
inline

Definition at line 868 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 868 of file Fe55_main.dev20190528.cpp

References bufsi.

Member Function Documentation

int SimX::OutSimF ( const char *  fOutName)

Definition at line 1224 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 1224 of file Fe55_main.dev20190528.cpp

References bufsi, FileF::fpixel, FileF::fptr, FileF::npixels, printf(), and FileF::status.

+ Here is the call graph for this function:

void SimX::PlotSim ( void  )

Definition at line 998 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 998 of file Fe55_main.dev20190528.cpp

References bot_margin, hsiAle, hsiAmp, hsiAmx, hsiTl, hsiXl, hsiYl, hsiZl, left_margin, right_margin, and top_margin.

**Count3 and Count4 ignored **void SimX::Simulator ( void  )

Definition at line 1110 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 1110 of file Fe55_main.dev20190528.cpp

References bend, bufsi, Cpn, double(), Co::Fano, Co::Gain, gx, gy, hsiAle, hsiAmp, hsiAmx, hsiTl, hsiXl, hsiYl, hsiZl, i, ambiguity_solver_full_chain::idx, k, matrix, Msz, Co::NeKa, Co::NeKb, Nmatr, Nray, FileF::nx, SiDi, Sigma0, signal(), SiPzS2, t_sat, tau, Co::Tau_a, Co::Tau_b, Tmax, Vde, Vmins, Vplus, XmaxSearch, XminSearch, YmaxSearch, and YminSearch.

Referenced by SimX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const int SimX::bend = 1
static

Definition at line 814 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 814 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const float SimX::bot_margin = (float)0.04
static

Definition at line 811 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 811 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim().

unsigned short* SimX::bufsi

Definition at line 852 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 852 of file Fe55_main.dev20190528.cpp

Referenced by OutSimF(), Simulator(), SimX(), and ~SimX().

const int SimX::Centr

Definition at line 817 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 817 of file Fe55_main.dev20190528.cpp

const double SimX::Cpn =Co::Cpn
static

Definition at line 829 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 829 of file Fe55_main.dev20190528.cpp

Referenced by Simulator().

string SimX::dname

Definition at line 848 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 848 of file Fe55_main.dev20190528.cpp

Referenced by SimX().

string SimX::filename

Definition at line 849 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 849 of file Fe55_main.dev20190528.cpp

Referenced by cpp.ast.Include::__str__(), cpp.ast.AstBuilder::_GetClass(), cpp.ast.AstBuilder::HandleError(), and SimX().

int SimX::Flag

Definition at line 844 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 844 of file Fe55_main.dev20190528.cpp

Referenced by SimX().

TH1D* SimX::hsiAle

Definition at line 856 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 856 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

TH1D* SimX::hsiAmp

Definition at line 854 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 854 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

TH1D* SimX::hsiAmx

Definition at line 855 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 855 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

TH1D* SimX::hsiTl

Definition at line 860 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 860 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

TH1D* SimX::hsiXl

Definition at line 857 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 857 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

TH1D* SimX::hsiYl

Definition at line 858 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 858 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

TH1D* SimX::hsiZl

Definition at line 859 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 859 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim(), Simulator(), and SimX().

const float SimX::left_margin = (float)0.06
static

Definition at line 808 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 808 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim().

double* SimX::matrix

Definition at line 818 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 818 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const int SimX::Msz

Definition at line 816 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 816 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const int SimX::Nmatr

Definition at line 815 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 815 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const int SimX::Nray = 8000
static

Definition at line 820 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 820 of file Fe55_main.dev20190528.cpp

Referenced by Simulator().

string SimX::OutFN

Definition at line 850 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 850 of file Fe55_main.dev20190528.cpp

double SimX::PixSz

Definition at line 842 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 842 of file Fe55_main.dev20190528.cpp

Referenced by SimX().

SimX * SimX::ptrSimA = 0
static

Definition at line 846 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 846 of file Fe55_main.dev20190528.cpp

Referenced by SimX().

const float SimX::right_margin = (float)0.006
static

Definition at line 809 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 809 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim().

const double SimX::SiDi = 0.355
static

Definition at line 821 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 821 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const double SimX::Sigma0 = 0.07
static

Definition at line 822 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 822 of file Fe55_main.dev20190528.cpp

Referenced by Simulator().

double SimX::SiPzS2

Definition at line 823 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 823 of file Fe55_main.dev20190528.cpp

Referenced by Simulator().

const double SimX::t_sat =2.*Co::mobil_e*SimX::Vde/(Co::v_sat_e*Co::Depth)
static

Definition at line 833 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 833 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const int SimX::tbl_sz

Definition at line 835 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 835 of file Fe55_main.dev20190528.cpp

const double SimX::Tmax =log(SimX::Vplus/SimX::Vmins)
static

Definition at line 832 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 832 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const float SimX::top_margin = (float)0.01
static

Definition at line 810 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 810 of file Fe55_main.dev20190528.cpp

Referenced by PlotSim().

const double SimX::Vde =Co::Vde
static

Definition at line 825 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 825 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const double SimX::Vmins =SimX::Vop -SimX::Vde
static

Definition at line 831 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 831 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

const double SimX::Vop =81.
static

Definition at line 824 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 824 of file Fe55_main.dev20190528.cpp

Referenced by SimX().

const double SimX::Vplus =SimX::Vop +SimX::Vde*(2.*Co::Cpn -1.)
static

Definition at line 830 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 830 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

int SimX::XmaxSearch

Definition at line 839 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 839 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

int SimX::XminSearch

Definition at line 838 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 838 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

int SimX::YmaxSearch

Definition at line 841 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 841 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().

int SimX::YminSearch

Definition at line 840 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 840 of file Fe55_main.dev20190528.cpp

Referenced by Simulator(), and SimX().


The documentation for this class was generated from the following file: