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

Public Types

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

Public Member Functions

 Bias (const string &dir_name, const string &outFnm, const int dofft)
 
void Plot_FFT ()
 
void Plot ()
 
int OutFitsF (double *outbuf, const char *fOutName="bias_outf")
 
int PrintVal (void)
 
 ~Bias ()
 
- 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

int Flag
 
const string dname
 
const string outNm
 
string filename
 
int XminUse
 
int XmaxUse
 
int YminUse
 
int YmaxUse
 
int Nchan
 
int ch_idx
 
const int doFFT
 
FFTCol
 
FFTRow
 
doubletmpbuf
 
vector< doubleavbuf [MaxP]
 
vector< doublemibuf [MaxP]
 
vector< doublemabuf [MaxP]
 
vector< doubletrbuf [MaxP]
 
vector< doublepix_rms [MaxP]
 
double bias_rms [MaxP]
 
TH1D * hb [MaxP][Nhist]
 
TH1D * htrA [MaxP]
 
TH1D * htrS [MaxP]
 
TH1D * htrD [MaxP]
 
TH1F * hfz [Nfhst]
 
TGraph * gPDc [Nfhst]
 
double PDbl [Nfhst]
 
- 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 double maxdata =pow(2., 18)
 
- 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"}
 

Detailed Description

Definition at line 2129 of file Bias.cpp.

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

Member Enumeration Documentation

anonymous enum
Enumerator:
Nhist 

Definition at line 2168 of file Bias.cpp.

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

anonymous enum
Enumerator:
Nfhst 

Definition at line 2173 of file Bias.cpp.

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

Constructor & Destructor Documentation

Bias::Bias ( const string &  dir_name,
const string &  outFnm,
const int  dofft 
)
Bias::~Bias ( )

Definition at line 2191 of file Bias.cpp.

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

Member Function Documentation

int Bias::OutFitsF ( double outbuf,
const char *  fOutName = "bias_outf" 
)
void Bias::Plot ( void  )

Definition at line 2595 of file Bias.cpp.

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

References avbuf, gPDc, hb, hfz, htrA, htrD, htrS, i, FileF::MaxP, mean(), Nchan, Nfhst, Nhist, FileF::npixels, PDbl, size, physmon_ckf_tracking::u, and Vval.

+ Here is the call graph for this function:

void Bias::Plot_FFT ( )

Definition at line 2523 of file Bias.cpp.

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

References avbuf, Col, FFT::Freq, FileF::MaxP, Nchan, FileF::npixels, printf(), FFT::PSDav, Row, size, and physmon_ckf_tracking::u.

+ Here is the call graph for this function:

int Bias::PrintVal ( void  )

Definition at line 2752 of file Bias.cpp.

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

References parse_cmake_options::begin, i, KeyList, Nkey, printf(), V_Iter, and Vval.

+ Here is the call graph for this function:

Member Data Documentation

vector<double> Bias::avbuf[MaxP]

Definition at line 2159 of file Bias.cpp.

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

Referenced by Bias(), Plot(), and Plot_FFT().

double Bias::bias_rms[MaxP]

Definition at line 2166 of file Bias.cpp.

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

Referenced by Bias().

int Bias::ch_idx

Definition at line 2144 of file Bias.cpp.

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

Referenced by Bias().

FFT* Bias::Col

Definition at line 2150 of file Bias.cpp.

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

Referenced by Bias(), and Plot_FFT().

const string Bias::dname

Definition at line 2134 of file Bias.cpp.

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

Referenced by Bias().

const int Bias::doFFT

Definition at line 2148 of file Bias.cpp.

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

Referenced by Bias().

string Bias::filename

Definition at line 2136 of file Bias.cpp.

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

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

int Bias::Flag

Definition at line 2132 of file Bias.cpp.

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

Referenced by Bias().

TGraph* Bias::gPDc[Nfhst]

Definition at line 2175 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

TH1D* Bias::hb[MaxP][Nhist]

Definition at line 2169 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

TH1F* Bias::hfz[Nfhst]

Definition at line 2174 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

TH1D* Bias::htrA[MaxP]

Definition at line 2170 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

TH1D* Bias::htrD[MaxP]

Definition at line 2172 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

TH1D* Bias::htrS[MaxP]

Definition at line 2171 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

vector<double> Bias::mabuf[MaxP]

Definition at line 2161 of file Bias.cpp.

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

Referenced by Bias().

const double Bias::maxdata =pow(2., 18)
static

Definition at line 2158 of file Bias.cpp.

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

Referenced by Bias().

vector<double> Bias::mibuf[MaxP]

Definition at line 2160 of file Bias.cpp.

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

Referenced by Bias().

int Bias::Nchan

Definition at line 2143 of file Bias.cpp.

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

Referenced by Bias(), Plot(), and Plot_FFT().

const string Bias::outNm

Definition at line 2135 of file Bias.cpp.

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

Referenced by Bias().

double Bias::PDbl[Nfhst]

Definition at line 2176 of file Bias.cpp.

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

Referenced by Bias(), and Plot().

vector<double> Bias::pix_rms[MaxP]

Definition at line 2164 of file Bias.cpp.

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

Referenced by Bias().

FFT* Bias::Row

Definition at line 2151 of file Bias.cpp.

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

Referenced by Bias(), and Plot_FFT().

double* Bias::tmpbuf

Definition at line 2154 of file Bias.cpp.

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

Referenced by Bias().

vector<double> Bias::trbuf[MaxP]

Definition at line 2163 of file Bias.cpp.

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

Referenced by Bias().

int Bias::XmaxUse

Definition at line 2139 of file Bias.cpp.

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

int Bias::XminUse

Definition at line 2138 of file Bias.cpp.

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

int Bias::YmaxUse

Definition at line 2141 of file Bias.cpp.

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

int Bias::YminUse

Definition at line 2140 of file Bias.cpp.

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


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