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

Public Types

enum  { MaxP = 22 }
 
enum  { MAXIS = 10 }
 
enum  { Lcard = FLEN_CARD }
 
enum  { NbCol = 2 }
 
typedef pair< string, doubleH_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, doublemHeader
 
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< doubleTabData [NbCol]
 
static const char * FieldName [NbCol] ={"TIMES","CURRENT"}
 

Detailed Description

Definition at line 416 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 416 of file Bias.cpp

Member Typedef Documentation

typedef pair<string, double> FileF::H_Pair

Definition at line 465 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 465 of file Bias.cpp

Member Enumeration Documentation

anonymous enum
Enumerator:
MaxP 

Definition at line 425 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 425 of file Bias.cpp

anonymous enum
Enumerator:
MAXIS 

Definition at line 440 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 440 of file Bias.cpp

anonymous enum
Enumerator:
Lcard 

Definition at line 452 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 452 of file Bias.cpp

anonymous enum
Enumerator:
NbCol 

Definition at line 475 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 475 of file Bias.cpp

Constructor & Destructor Documentation

FileF::FileF ( )

Definition at line 513 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 513 of file Bias.cpp

References ColName, i, NbCol, and strnull.

FileF::~FileF ( )

Definition at line 505 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 505 of file Bias.cpp

References i.

Member Function Documentation

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().

+ Here is the caller graph for this function:

void FileF::CloseOut ( )

Definition at line 550 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 550 of file Bias.cpp

References fout, printf(), and status.

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FileF::OpenOutF ( const char *  fOutName = "Out_bufzs")

Definition at line 534 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 534 of file Bias.cpp

References fout, printf(), and status.

+ Here is the call graph for this function:

int FileF::OutFitsF ( unsigned short *  buf)

Definition at line 586 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 586 of file Bias.cpp

References bitpix, bscale, bzero, fout, fpixel, naxes, naxis, npixels, nx, ny, printf(), and status.

+ Here is the call graph for this function:

void FileF::PrimeOut ( long  Nx,
long  Ny 
)

Definition at line 556 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 556 of file Bias.cpp

References bitpix, bscale, bzero, comment, fout, naxes, naxis, nx, ny, printf(), and status.

+ Here is the call graph for this function:

void FileF::PrintKeys ( void  )

Definition at line 837 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 837 of file Bias.cpp

References H_Iter, i, mHeader, perf_headwind::name, Ncards, and printf().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

int FileF::anynull

Definition at line 432 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 432 of file Bias.cpp

Referenced by Read().

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

Definition at line 427 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 427 of file Bias.cpp

Referenced by Close().

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]

Definition at line 453 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 453 of file Bias.cpp

Referenced by Read().

char* FileF::ColName[NbCol]

Definition at line 476 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 476 of file Bias.cpp

Referenced by FileF(), and Read().

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

Definition at line 446 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 446 of file Bias.cpp

unsigned short FileF::datamin

Definition at line 445 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 445 of file Bias.cpp

const char * FileF::FieldName ={"TIMES","CURRENT"}
static

Definition at line 478 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 478 of file Bias.cpp

Referenced by Read().

const char* FileF::fname

Definition at line 418 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 418 of file Bias.cpp

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

Definition at line 419 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 419 of file Bias.cpp

Referenced by Close(), Open(), SimX::OutSimF(), and Read().

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

Definition at line 424 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 424 of file Bias.cpp

Referenced by Read().

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]

Definition at line 455 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 455 of file Bias.cpp

Referenced by Read().

const int FileF::klength = 8
static

Definition at line 448 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 448 of file Bias.cpp

Referenced by Read().

int FileF::lTable

Definition at line 471 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 471 of file Bias.cpp

Referenced by Bias::Bias(), and Read().

double FileF::ltm1_1

Definition at line 460 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 460 of file Bias.cpp

Referenced by Fe55::Fe55(), and Read().

double FileF::ltm1_2

Definition at line 461 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 461 of file Bias.cpp

Referenced by Read().

double FileF::ltm2_1

Definition at line 462 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 462 of file Bias.cpp

Referenced by Read().

double FileF::ltm2_2

Definition at line 463 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 463 of file Bias.cpp

Referenced by Fe55::Fe55(), and Read().

double FileF::ltv1

Definition at line 458 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 458 of file Bias.cpp

Referenced by Fe55::Fe55(), and Read().

double FileF::ltv2

Definition at line 459 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 459 of file Bias.cpp

Referenced by Fe55::Fe55(), and Read().

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

Definition at line 451 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 451 of file Bias.cpp

Referenced by PrintKeys(), and Read().

int FileF::ncols

Definition at line 473 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 473 of file Bias.cpp

Referenced by Read().

int FileF::Nhdu

Definition at line 422 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 422 of file Bias.cpp

Referenced by Bias::Bias(), and Read().

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().

long FileF::nrows
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().

unsigned short FileF::nullval = 0
static

Definition at line 431 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 431 of file Bias.cpp

Referenced by Read().

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

Definition at line 467 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 467 of file Bias.cpp

Referenced by Read().

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]

Definition at line 433 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 433 of file Bias.cpp

Referenced by FileF(), and Read().

vector< double > FileF::TabData
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]

Definition at line 472 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 472 of file Bias.cpp

Referenced by Bias::Bias(), Open(), and Read().

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]

Definition at line 454 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 454 of file Bias.cpp

Referenced by Read().

const char FileF::valuebegin = '='
static

Definition at line 449 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 449 of file Bias.cpp

Referenced by Read().

const char FileF::valuend = '/'
static

Definition at line 450 of file Bias.cpp.

View newest version in sPHENIX GitHub at line 450 of file Bias.cpp

Referenced by Read().


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