Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/Prototype2/HCAL/HighBayCode/hcal.h>
Public Member Functions | |
hcal () | |
~hcal () | |
void | Initialize () |
int | evLoop (int nevt) |
int | GetNextEvent () |
int | collect (int) |
void | setPrdf (TString &fin) |
void | setPrdflist (TString &fin) |
void | set_display (bool b) |
void | Display () |
int | Clear () |
void | SetCableMap (int _nch, int *_index) |
TGraph * | getSignal (int ch) |
void | fitShape (int) |
void | Save (char *) |
void | set_positive_polarity (bool b) |
void | set_verbosity (bool b) |
void | set_plot_max (float max) |
void | set_plot_min (float min) |
void | FitDisplay () |
void | setCalibration () |
Int_t | getStackTiming () |
Int_t | update (Int_t displayMode=3, Bool_t fitShapes=kFALSE) |
Int_t | collectTrPrimitives () |
void | displayRaw (Int_t mode=0) |
void | displaySummary (Int_t mode=0) |
void | clean () |
Static Public Member Functions | |
static double | SignalShape (double *x, double *par) |
static double | SignalShapeNegative (double *x, double *par) |
Public Attributes | |
int | runnumber |
int | nevents |
TString | prdfName |
int | NCH |
int | NSAMPLES |
int | PEDESTAL |
bool | display |
Eventiterator * | it |
Event * | evt |
TGraph * | gpulse [100] |
std::vector< int > | channel_index |
TF1 * | fits [100] |
bool | fit_analysis |
TH2F * | h2_fit_shape [100] |
TH1F * | h_PulsePeaks [100] |
TH1F * | h_PulseInt [100] |
TH2F * | h2_Pulse_H_Int [100] |
TH2F * | h_hilo [100] |
TH1F * | h_gain [100] |
TH1F * | h_tres [100] |
TH1F * | h_ped_res [100] |
TH1F * | h_saturation_rates |
TH1F * | h_info |
TGraph * | rate |
TCanvas * | c |
float | plot_max |
float | plot_min |
TFile * | fout |
bool | polarity_positive |
bool | verbosity |
std::map< int, float > | saturation_map |
Int_t | rejectEvent |
Bool_t | readyForEvent |
Int_t | maxStacks |
Int_t | activeStacks |
Int_t | activeCalStacks |
Bool_t * | alive |
Int_t * | kinds |
stack ** | stacks |
Double_t | amplTotal |
Double_t | eTotal |
Double_t | calLCG |
Double_t | scintLCG |
TH1 * | totalamp |
TH1 * | totale |
TH1 * | totallcg |
TH1 * | scintlcg |
Private Member Functions | |
hcal () | |
~hcal () | |
Friends | |
class | hcalHelper |
Definition at line 17 of file hcal.h.
View newest version in sPHENIX GitHub at line 17 of file hcal.h
hcal::hcal | ( | ) |
|
inline |
|
private |
|
private |
void hcal::clean | ( | ) |
Definition at line 544 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 544 of file hcalHelper.C
References amplTotal, calLCG, CALSTACKS, stack::clean(), eTotal, readyForEvent, rejectEvent, scintLCG, and stacks.
Referenced by hcalHelper::evLoop().
int hcal::Clear | ( | ) |
int hcal::collect | ( | int | ich | ) |
Definition at line 290 of file hcal.C.
View newest version in sPHENIX GitHub at line 290 of file hcal.C
References integral(), Acts::UnitConstants::min, nevents(), and verbosity.
Int_t hcal::collectTrPrimitives | ( | ) |
Definition at line 406 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 406 of file hcalHelper.C
References CALOR, CALSTACKS, stack::getTrigger(), and stacks.
Referenced by hcalHelper::evLoop().
void hcal::Display | ( | ) |
Definition at line 337 of file hcal.C.
View newest version in sPHENIX GitHub at line 337 of file hcal.C
References Acts::PhysicalConstants::c, gpulse, NCH, nevents(), verbosity, and ambiguity_solver_full_chain::x.
void hcal::displayRaw | ( | Int_t | mode = 0 | ) |
Definition at line 458 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 458 of file hcalHelper.C
References CALOR, CALSTACKS, stack::displayADCSum(), stack::displayEvent(), and stacks.
Referenced by hcalHelper::evLoop().
void hcal::displaySummary | ( | Int_t | mode = 0 | ) |
Definition at line 474 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 474 of file hcalHelper.C
References alive, CALOR, CALSTACKS, cd(), hLabHelper::cDirectory, stack::displayStackSummary(), stack::displayTowerSummary(), Draw(), hLabHelper::getInstance(), hcalHelper::getInstance(), hcalHelper::runnumber, stack::satProb, scintlcg, stacks, totalamp, totale, and totallcg.
Referenced by hcalHelper::evLoop().
int hcal::evLoop | ( | int | nevt = 0 | ) |
Definition at line 121 of file hcal.C.
View newest version in sPHENIX GitHub at line 121 of file hcal.C
References display(), double(), Initialize(), it, NCH, nevents(), rate, runnumber, and verbosity.
Referenced by analyze().
void hcal::FitDisplay | ( | ) |
void hcal::fitShape | ( | int | ich | ) |
int hcal::GetNextEvent | ( | ) |
Definition at line 179 of file hcal.C.
View newest version in sPHENIX GitHub at line 179 of file hcal.C
References Clear(), fitShape(), Eventiterator::getNextEvent(), GetY(), gpulse, it, Packet_hbd_fpgashort::iValue(), NCH, nevents(), NSAMPLES, runnumber, Packet_hbd_fpgashort::setNumSamples(), and verbosity.
|
inline |
Int_t hcal::getStackTiming | ( | ) |
Definition at line 394 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 394 of file hcalHelper.C
References CALOR, CALSTACKS, stack::getStackTime(), kinds, rejectEvent, and stacks.
Referenced by hcalHelper::evLoop().
void hcal::Initialize | ( | ) |
Definition at line 35 of file hcal.C.
View newest version in sPHENIX GitHub at line 35 of file hcal.C
References gpulse, perf_headwind::name, NCH, NSAMPLES, rate, SignalShape(), and SignalShapeNegative().
void hcal::Save | ( | char * | filename | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 44 of file hcal.h.
View newest version in sPHENIX GitHub at line 44 of file hcal.h
References KFPMath::b, and polarity_positive.
Referenced by analyze().
|
inline |
|
inline |
void hcal::setCalibration | ( | ) |
Definition at line 366 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 366 of file hcalHelper.C
References alive, CALOR, CALSTACKS, stack::stackECalib, stack::stackId, stacks, and stECalib.
Referenced by hcalHelper::hcalHelper().
|
inline |
void hcal::setPrdflist | ( | TString & | fin | ) |
Definition at line 383 of file hcal.C.
View newest version in sPHENIX GitHub at line 383 of file hcal.C
References pedestal(), and signal().
Referenced by Initialize().
Definition at line 393 of file hcal.C.
View newest version in sPHENIX GitHub at line 393 of file hcal.C
References pedestal(), and signal().
Referenced by Initialize().
Int_t hcal::update | ( | Int_t | displayMode = 3 , |
Bool_t | fitShapes = kFALSE |
||
) |
Definition at line 424 of file hcalHelper.C.
View newest version in sPHENIX GitHub at line 424 of file hcalHelper.C
References alive, amplTotal, calLCG, CALOR, CALSTACKS, tower::campl, stack::E, eTotal, Fill(), rejectEvent, SCINT, scintLCG, scintlcg, stacks, stAScale, totalamp, totale, totallcg, stack::totCorAmpl, stack::towers, and stack::update().
Referenced by hcalHelper::evLoop().
|
friend |
Definition at line 257 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 257 of file hcalUtil.h
Int_t hcal::activeCalStacks |
Definition at line 264 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 264 of file hcalUtil.h
Int_t hcal::activeStacks |
Definition at line 263 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 263 of file hcalUtil.h
Bool_t* hcal::alive |
Definition at line 265 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 265 of file hcalUtil.h
Referenced by displaySummary(), hcalHelper::evLoop(), hcalHelper::hcalHelper(), setCalibration(), hcalHelper::setRunKind(), and update().
Double_t hcal::amplTotal |
Definition at line 277 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 277 of file hcalUtil.h
Referenced by clean(), hcalTree::hcalTree(), and update().
TCanvas* hcal::c |
Double_t hcal::calLCG |
Definition at line 279 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 279 of file hcalUtil.h
Referenced by clean(), hcalTree::hcalTree(), and update().
std::vector<int> hcal::channel_index |
Definition at line 64 of file hcal.h.
View newest version in sPHENIX GitHub at line 64 of file hcal.h
Referenced by SetCableMap().
bool hcal::display |
Definition at line 60 of file hcal.h.
View newest version in sPHENIX GitHub at line 60 of file hcal.h
Referenced by set_display().
Double_t hcal::eTotal |
Definition at line 278 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 278 of file hcalUtil.h
Referenced by clean(), hcalTree::hcalTree(), and update().
Event* hcal::evt |
bool hcal::fit_analysis |
TF1* hcal::fits[100] |
TFile* hcal::fout |
TGraph* hcal::gpulse[100] |
Definition at line 63 of file hcal.h.
View newest version in sPHENIX GitHub at line 63 of file hcal.h
Referenced by getSignal().
TH2F* hcal::h2_fit_shape[100] |
TH2F* hcal::h2_Pulse_H_Int[100] |
TH1F* hcal::h_gain[100] |
TH2F* hcal::h_hilo[100] |
TH1F* hcal::h_info |
TH1F* hcal::h_ped_res[100] |
TH1F* hcal::h_PulseInt[100] |
TH1F* hcal::h_PulsePeaks[100] |
TH1F* hcal::h_saturation_rates |
TH1F* hcal::h_tres[100] |
Eventiterator* hcal::it |
Int_t* hcal::kinds |
Definition at line 266 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 266 of file hcalUtil.h
Referenced by getStackTiming().
Int_t hcal::maxStacks |
Definition at line 262 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 262 of file hcalUtil.h
int hcal::NCH |
Definition at line 57 of file hcal.h.
View newest version in sPHENIX GitHub at line 57 of file hcal.h
Referenced by SetCableMap().
int hcal::nevents |
int hcal::NSAMPLES |
int hcal::PEDESTAL |
float hcal::plot_max |
Definition at line 79 of file hcal.h.
View newest version in sPHENIX GitHub at line 79 of file hcal.h
Referenced by set_plot_max().
float hcal::plot_min |
Definition at line 80 of file hcal.h.
View newest version in sPHENIX GitHub at line 80 of file hcal.h
Referenced by set_plot_min().
bool hcal::polarity_positive |
Definition at line 82 of file hcal.h.
View newest version in sPHENIX GitHub at line 82 of file hcal.h
Referenced by set_positive_polarity().
TString hcal::prdfName |
TGraph* hcal::rate |
Bool_t hcal::readyForEvent |
Definition at line 261 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 261 of file hcalUtil.h
Referenced by clean().
Int_t hcal::rejectEvent |
Definition at line 260 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 260 of file hcalUtil.h
Referenced by clean(), getStackTiming(), and update().
int hcal::runnumber |
std::map<int,float> hcal::saturation_map |
Double_t hcal::scintLCG |
Definition at line 280 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 280 of file hcalUtil.h
Referenced by clean(), hcalTree::hcalTree(), and update().
TH1 * hcal::scintlcg |
Definition at line 281 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 281 of file hcalUtil.h
Referenced by displaySummary(), and update().
stack** hcal::stacks |
Definition at line 268 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 268 of file hcalUtil.h
Referenced by clean(), hcalHelper::collectRaw(), collectTrPrimitives(), displayRaw(), displaySummary(), hcalHelper::evLoop(), getStackTiming(), hcalHelper::hcalHelper(), setCalibration(), hcalHelper::setRunKind(), and update().
TH1* hcal::totalamp |
Definition at line 281 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 281 of file hcalUtil.h
Referenced by displaySummary(), and update().
TH1 * hcal::totale |
Definition at line 281 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 281 of file hcalUtil.h
Referenced by displaySummary(), and update().
TH1 * hcal::totallcg |
Definition at line 281 of file hcalUtil.h.
View newest version in sPHENIX GitHub at line 281 of file hcalUtil.h
Referenced by displaySummary(), and update().
bool hcal::verbosity |
Definition at line 83 of file hcal.h.
View newest version in sPHENIX GitHub at line 83 of file hcal.h
Referenced by set_verbosity().