Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Bias.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cmath>
#include <iomanip>
#include <assert.h>
#include <time.h>
#include <TROOT.h>
#include <TSystem.h>
#include <TCanvas.h>
#include <TImage.h>
#include <TGraph.h>
#include <TGraphErrors.h>
#include <TH1.h>
#include <TH2.h>
#include <TF1.h>
#include <TF2.h>
#include <TMath.h>
#include <TStyle.h>
#include <TRandom.h>
#include "TMinuit.h"
#include "TMultiGraph.h"
#include "fitsio.h"
#include "longnam.h"
#include "fftw3.h"
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
+ Include dependency graph for Bias.cpp:

Go to the source code of this file.

Classes

class  DataStr
 
class  FileF
 
class  FileList
 
class  FFT
 
struct  SpectrResp
 
struct  SpectrRatio
 
class  PhDi
 
class  Bias
 

Enumerations

enum  { Nkey = sizeof(KeyList)/sizeof(char*)-1 }
 
enum  { Ncal = sizeof(PDresp)/sizeof(SpectrResp) }
 
enum  { Nratio = sizeof(PDratio)/sizeof(SpectrRatio) }
 

Functions

double QEPD (double waw)
 
double RaPD (double waw)
 
int PeakRange (TH1D *hist, double *maxpos, double *Rmin, double *Rmax, double *maxV)
 

Variables

const double TwoPi = 2. * 3.14159265358979323846
 
const unsigned int T1995 = 788936400
 
const char * KeyList []
 
vector< double >::iterator V_Iter
 
vector< doubleVval [Nkey]
 
const double eQ = 1.60217657
 
const double gain [16]
 
const SpectrResp PDresp []
 
const SpectrRatio PDratio []
 

Enumeration Type Documentation

anonymous enum
Enumerator:
Nkey 

Definition at line 61 of file Bias.cpp.

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

anonymous enum
Enumerator:
Ncal 

Definition at line 1258 of file Bias.cpp.

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

anonymous enum
Enumerator:
Nratio 

Definition at line 1348 of file Bias.cpp.

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

Function Documentation

int PeakRange ( TH1D *  hist,
double maxpos,
double Rmin,
double Rmax,
double maxV 
)

Definition at line 1391 of file Bias.cpp.

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

Referenced by Fe55::FitG(), PhDi::GetValue(), Fe55::PlotXfit(), and Fe55::PlotXlines().

+ Here is the caller graph for this function:

double QEPD ( double  waw)

Definition at line 1350 of file Bias.cpp.

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

References i, Ncal, PDresp, SpectrResp::qe, and SpectrResp::wave.

double RaPD ( double  waw)

Definition at line 1370 of file Bias.cpp.

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

References i, Nratio, PDratio, Ra, and SpectrRatio::wave.

Variable Documentation

const double eQ = 1.60217657

Definition at line 1175 of file Bias.cpp.

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

Referenced by PhDi::GetValue().

const double gain[16]
Initial value:
= {
2.898321,
2.917557,
2.912855,
2.932351,
2.919847,
2.909128,
2.941916,
2.937061,
3.003625,
2.975065,
2.975082,
2.963982,
2.922063,
2.949454,
2.927139,
2.916869
}

Definition at line 1176 of file Bias.cpp.

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

Referenced by EMCDistribution(), EMCDistribution_ADC(), EMCDistribution_Fast(), EMCDistribution_PeakSample_Fast(), PHG4MicromegasHitReco::process_event(), hcalHelper::setCTriggerGRange(), and TSCtoCDBTTree().

const char* KeyList[]
Initial value:
= {
"CTIME", "USEC", "EXPOSURE", "EXPTIME","MONOWL",
"AMP2.VOLTAGE", "AMP2.CURRENT",
"CRYO.A.TEMP", "CRYO.B.TEMP", "CRYO.C.TEMP", "CRYO.D.TEMP", "CRYO.1.SETPT",
"MONOCH-WAVELENG", "MONOCH.WAVELENG",
"AMP0.MEAS_NPLC",
0
}

Definition at line 53 of file Bias.cpp.

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

Referenced by Bias::Bias(), Fe55::Fe55(), Fe55_main(), and Bias::PrintVal().

const SpectrRatio PDratio[]

Definition at line 1264 of file Bias.cpp.

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

Referenced by RaPD().

const SpectrResp PDresp[]

Definition at line 1200 of file Bias.cpp.

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

Referenced by QEPD().

const unsigned int T1995 = 788936400

Definition at line 52 of file Bias.cpp.

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

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

vector<double>::iterator V_Iter

Definition at line 62 of file Bias.cpp.

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

Referenced by Bias::PrintVal().

vector<double> Vval[Nkey]

Definition at line 63 of file Bias.cpp.

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

Referenced by Bias::Bias(), Fe55::Fe55(), Fe55_main(), Bias::Plot(), and Bias::PrintVal().