Analysis Software
Documentation for sPHENIX simulation software
|
Public Types | |
enum | { MaxP = 22 } |
enum | { MAXIS = 10 } |
enum | { Lcard = FLEN_CARD } |
enum | { NbCol = 2 } |
typedef pair< string, double > | H_Pair |
Public Member Functions | |
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 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, double > | mHeader |
int | lTable |
char | TableName [FLEN_VALUE] |
int | ncols |
char * | ColName [NbCol] |
Static Public Attributes | |
static unsigned short | nullval = 0 |
static const int | klength = 8 |
static const char | valuebegin = '=' |
static const char | valuend = '/' |
static long | nrows |
static vector< double > | TabData [NbCol] |
static const char * | FieldName [NbCol] ={"TIMES","CURRENT"} |
Definition at line 416 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 416 of file Bias.cpp
typedef pair<string, double> FileF::H_Pair |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
FileF::FileF | ( | ) |
FileF::~FileF | ( | ) |
void FileF::Close | ( | ) |
Definition at line 621 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 621 of file Bias.cpp
References buffer, fptr, and status.
Referenced by Bias::Bias(), and Fe55::Fe55().
void FileF::CloseOut | ( | ) |
int FileF::getValue | ( | const char * | name, |
double * | value | ||
) |
Definition at line 828 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 828 of file Bias.cpp
References H_Iter, and mHeader.
Referenced by Bias::Bias(), and Fe55::Fe55().
int FileF::Open | ( | const char * | file_name | ) |
Definition at line 628 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 628 of file Bias.cpp
References fptr, hdu, iEOF, printf(), status, and TableName.
Referenced by Bias::Bias(), Fe55::Fe55(), and SimX::SimX().
int FileF::OpenOutF | ( | const char * | fOutName = "Out_bufzs" | ) |
int FileF::OutFitsF | ( | unsigned short * | buf | ) |
void FileF::PrimeOut | ( | long | Nx, |
long | Ny | ||
) |
void FileF::PrintKeys | ( | void | ) |
int FileF::Read | ( | int | copy = 0 | ) |
Definition at line 648 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 648 of file Bias.cpp
References anynull, bitpix, card, ColName, FieldName, fout, fpixel, fptr, hdu, hdutype, i, iEOF, keyword, klength, Acts::IntegrationTest::L, Lcard, lTable, ltm1_1, ltm1_2, ltm2_1, ltm2_2, ltv1, ltv2, MAXIS, mHeader, naxes, naxis, NbCol, Ncards, ncols, Nhdu, npixels, nrows, nullval, nx, ny, pptr, printf(), status, strnull, TabData, TableName, value, value_str, valuebegin, valuend, and width.
Referenced by Bias::Bias(), Fe55::Fe55(), and SimX::SimX().
int FileF::anynull |
int FileF::bitpix |
Definition at line 436 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 436 of file Bias.cpp
Referenced by OutFitsF(), PrimeOut(), and Read().
double FileF::bscale |
Definition at line 438 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 438 of file Bias.cpp
Referenced by OutFitsF(), and PrimeOut().
long* FileF::buffer |
double FileF::bzero |
Definition at line 437 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 437 of file Bias.cpp
Referenced by OutFitsF(), and PrimeOut().
char FileF::card[Lcard] |
char* FileF::ColName[NbCol] |
char FileF::comment[FLEN_CARD] |
Definition at line 435 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 435 of file Bias.cpp
Referenced by PrimeOut().
unsigned short FileF::datamax |
unsigned short FileF::datamin |
|
static |
const char* FileF::fname |
fitsfile* FileF::fout |
Definition at line 420 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 420 of file Bias.cpp
Referenced by CloseOut(), OpenOutF(), OutFitsF(), PrimeOut(), and Read().
const long FileF::fpixel |
Definition at line 444 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 444 of file Bias.cpp
Referenced by OutFitsF(), SimX::OutSimF(), and Read().
fitsfile* FileF::fptr |
map<string, double>::iterator FileF::H_Iter |
Definition at line 466 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 466 of file Bias.cpp
Referenced by getValue(), and PrintKeys().
int FileF::hdu |
Definition at line 423 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 423 of file Bias.cpp
Referenced by Fe55::BaLiC(), Fe55::BaLiS(), Bias::Bias(), Fe55::Fe55(), Open(), Read(), and SimX::SimX().
int FileF::hdutype |
int FileF::iEOF |
Definition at line 421 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 421 of file Bias.cpp
Referenced by Bias::Bias(), Fe55::Fe55(), Open(), Read(), and SimX::SimX().
char FileF::keyword[Lcard] |
|
static |
int FileF::lTable |
double FileF::ltm1_1 |
double FileF::ltm1_2 |
double FileF::ltm2_1 |
double FileF::ltm2_2 |
double FileF::ltv1 |
double FileF::ltv2 |
map<string, double> FileF::mHeader |
Definition at line 468 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 468 of file Bias.cpp
Referenced by getValue(), PrintKeys(), and Read().
long FileF::naxes[MAXIS] |
Definition at line 441 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 441 of file Bias.cpp
Referenced by OutFitsF(), PrimeOut(), and Read().
int FileF::naxis |
Definition at line 439 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 439 of file Bias.cpp
Referenced by Bias::Bias(), Fe55::Fe55(), OutFitsF(), PrimeOut(), Read(), and SimX::SimX().
int FileF::Ncards |
int FileF::ncols |
int FileF::Nhdu |
unsigned long FileF::npixels |
Definition at line 443 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 443 of file Bias.cpp
Referenced by Fe55::BaLiC(), Bias::Bias(), Fe55::Fe55(), OutFitsF(), SimX::OutSimF(), Bias::Plot(), Bias::Plot_FFT(), Read(), and SimX::SimX().
|
static |
Definition at line 474 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 474 of file Bias.cpp
Referenced by Bias::Bias(), PhDi::GetValue(), and Read().
|
static |
long FileF::nx |
Definition at line 442 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 442 of file Bias.cpp
Referenced by Fe55::BaLiC(), Fe55::BaLiS(), Bias::Bias(), Fe55::Fe55(), OutFitsF(), PrimeOut(), Read(), SimX::Simulator(), and SimX::SimX().
long FileF::ny |
Definition at line 442 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 442 of file Bias.cpp
Referenced by Fe55::BaLiC(), Fe55::BaLiS(), Bias::Bias(), Fe55::Fe55(), OutFitsF(), PrimeOut(), Read(), and SimX::SimX().
std::pair<map <string, double>::iterator, bool> FileF::pptr |
int FileF::status |
Definition at line 434 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 434 of file Bias.cpp
Referenced by Close(), CloseOut(), Open(), OpenOutF(), OutFitsF(), SimX::OutSimF(), PrimeOut(), and Read().
char FileF::strnull[10] |
|
static |
Definition at line 477 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 477 of file Bias.cpp
Referenced by Bias::Bias(), PhDi::GetValue(), and Read().
char FileF::TableName[FLEN_VALUE] |
double FileF::value |
Definition at line 456 of file Bias.cpp.
View newest version in sPHENIX GitHub at line 456 of file Bias.cpp
Referenced by pump.Token::__str__(), pump.Token::Clone(), and Read().
char FileF::value_str[Lcard] |
|
static |
|
static |