Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tileHelper Class Reference

#include <analysis/blob/master/Prototype2/hcalLab/hcalUtil.h>

+ Collaboration diagram for tileHelper:

Classes

struct  eventtilesummary
 
struct  runtilesummary
 

Public Member Functions

Int_t evLoop (Int_t run, Int_t evToProcess, Int_t fToProcess)
 
void status ()
 
void updateMap ()
 
void updateCalibration ()
 
void evreset ()
 
void tileTrigger ()
 
void tileTiming ()
 
void tileDisplay ()
 
void tileTriggerDisplay ()
 
void tilePattern (Int_t nx, Int_t ny, Int_t run, Int_t mod=0)
 
void collectTileSummary ()
 
Double_t getYFit ()
 
void tileImpact ()
 
void fitTileSignal ()
 
Int_t reject ()
 

Static Public Member Functions

static tileHelpergetInstance ()
 
static void deleteInstance ()
 

Public Attributes

eventtilesummary evtsum
 
runtilesummary runsum
 
Int_t channels
 
Int_t samples
 
Int_t fibers
 
Int_t xdivisions
 
Int_t ydivisions
 
Int_t parameters
 
Double_t uSum
 
Double_t cSum
 
Double_t luSum
 
Double_t lcSum
 
Double_t ruSum
 
Double_t rcSum
 
Double_t YF
 
Double_t YU
 
Double_t YC
 
Double_t XU
 
Double_t XC
 
Double_t sumFU
 
Double_t sumFC
 
Double_t muxU
 
Double_t muxC
 
Double_t muxFU
 
Double_t muxFC
 
int muxUCh
 
int muxCCh
 
int muxUFiber
 
int muxCFiber
 
Double_t ras
 
Double_t cas
 
Double_t rtas
 
Double_t ctas
 
Double_t * fiberY
 
Double_t * fiberLY
 
Double_t * tileCalib
 
Double_t * tileCalPeak
 
int hitcnt [CHANNELTHRESHOLDS]
 
TCanvas * fiberDisplay
 
TCanvas * triggerDisplay
 
TCanvas * impactDisplay
 
TCanvas * lyPattern
 
TCanvas * lyFits
 
TF1 * yFit
 
TGraph * fLY
 

Protected Member Functions

 tileHelper ()
 
virtual ~tileHelper ()
 

Static Protected Attributes

static tileHelpersingle = 0
 

Detailed Description

Definition at line 455 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 455 of file hcalUtil.h

Constructor & Destructor Documentation

tileHelper::tileHelper ( )
protected

Definition at line 5 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 5 of file tileHelper.C

References ACTIVECHANNELS, channels, CHTOTAL, detchannels, fiberLY, fibers, fiberY, fLY, NSAMPLES, samples, tileCalib, tileCalPeak, TILECHANNELS, TILEFIBERS, TILETRIGGERCH, and yFit.

Referenced by getInstance().

+ Here is the caller graph for this function:

virtual tileHelper::~tileHelper ( )
inlineprotectedvirtual

Definition at line 459 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 459 of file hcalUtil.h

References tileCalib, and tileCalPeak.

Member Function Documentation

void tileHelper::collectTileSummary ( )

Definition at line 395 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 395 of file tileHelper.C

References ACTIVECHANNELS, AsymToX(), cas, tileHelper::runtilesummary::cdata, tileHelper::runtilesummary::cfasym, tileHelper::runtilesummary::cfsum, CHANNELTHRESHOLDS, tileHelper::eventtilesummary::chi2, tileHelper::runtilesummary::cimp, tileHelper::runtilesummary::cimpW, tileHelper::runtilesummary::cmax, cSum, ctas, tileHelper::runtilesummary::ctasym, tileHelper::runtilesummary::ctsum, tileHelper::runtilesummary::cx, tileHelper::runtilesummary::cx_pc, tileHelper::runtilesummary::cy, tileHelper::runtilesummary::cy_pc, detchannels, tileHelper::eventtilesummary::evtpc, evtsum, tileHelper::eventtilesummary::evttime, fiber, fiberLY, fiberY, Fill(), hLabHelper::fitChi2, hLabHelper::fitPeak, hLabHelper::fitTime, tileHelper::runtilesummary::fy, tileHelper::runtilesummary::fy_pc, hLabHelper::getInstance(), getYFit(), hitcnt, tileHelper::eventtilesummary::hitfiber, tileHelper::eventtilesummary::hitfiberpc, tileHelper::eventtilesummary::hitfibertd, lcSum, luSum, muxC, muxCCh, muxCFiber, muxFC, muxFU, muxU, muxUCh, muxUFiber, tileHelper::runtilesummary::pc_fimp, tileHelper::runtilesummary::pc_imp, ras, hLabHelper::rawPeak, rcSum, reject(), tileHelper::eventtilesummary::rejectCode, tileHelper::runtilesummary::rfasym, tileHelper::runtilesummary::rfsum, tileHelper::runtilesummary::rimp, tileHelper::runtilesummary::rmax, rtas, tileHelper::runtilesummary::rtasym, tileHelper::runtilesummary::rtsum, runsum, ruSum, tileHelper::runtilesummary::rx, tileHelper::runtilesummary::ry, tileHelper::runtilesummary::s_y_Chi2, sumFC, sumFU, tileHelper::eventtilesummary::tChi2, tileHelper::runtilesummary::td_r_l, tileHelper::runtilesummary::td_t_tw, tileCalib, tileCalPeak, TILECHANNELS, tileTrigger(), tileHelper::eventtilesummary::times, tileHelper::runtilesummary::trcode, tileHelper::runtilesummary::treff, uSum, XC, XU, tileHelper::runtilesummary::XY, y, tileHelper::runtilesummary::y_yChi2, tileHelper::runtilesummary::y_ys, YC, tileHelper::runtilesummary::yc_rcode, tileHelper::eventtilesummary::yChi2, tileHelper::runtilesummary::yCleaned, YF, yFit, tileHelper::runtilesummary::yKept, tileHelper::eventtilesummary::ySigma, and YU.

Referenced by evLoop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void tileHelper::deleteInstance ( )
inlinestatic

Definition at line 467 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 467 of file hcalUtil.h

References single.

int tileHelper::evLoop ( Int_t  run,
Int_t  evToProcess,
Int_t  fToProcess 
)
void tileHelper::evreset ( )

Definition at line 194 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 194 of file tileHelper.C

References CHANNELTHRESHOLDS, cSum, evtsum, fiberLY, fibers, fLY, hitcnt, lcSum, luSum, muxC, muxCCh, muxCFiber, muxFC, muxFU, muxU, muxUCh, muxUFiber, rcSum, tileHelper::eventtilesummary::reset(), ruSum, sumFC, sumFU, uSum, XC, XU, YC, YF, yFit, and YU.

+ Here is the call graph for this function:

void tileHelper::fitTileSignal ( )
static tileHelper* tileHelper::getInstance ( )
inlinestatic

Definition at line 466 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 466 of file hcalUtil.h

References single, and tileHelper().

+ Here is the call graph for this function:

Double_t tileHelper::getYFit ( )

Definition at line 490 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 490 of file tileHelper.C

References fiberLY, fibers, fiberY, Fill(), fLY, runsum, SetParLimits(), tileSizeY, tileHelper::runtilesummary::Y0, tileHelper::runtilesummary::Y1, tileHelper::runtilesummary::Y2, and yFit.

Referenced by collectTileSummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t tileHelper::reject ( )

Definition at line 665 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 665 of file tileHelper.C

References tileHelper::eventtilesummary::chi2, evtsum, tileHelper::eventtilesummary::evttime, hLabHelper::getInstance(), hLabHelper::rawPeak, tileHelper::eventtilesummary::rejectCode, TILECHANNELS, and tileHelper::eventtilesummary::times.

Referenced by collectTileSummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void tileHelper::status ( )

Definition at line 112 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 112 of file tileHelper.C

References ACTIVECHANNELS, fiberDisplay, hLabHelper::fint, hLabHelper::fm, hLabHelper::getInstance(), hLabHelper::rpeak, and runId.

+ Here is the call graph for this function:

void tileHelper::tileDisplay ( )

Definition at line 246 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 246 of file tileHelper.C

References hLabHelper::adc, detchannels, tileHelper::eventtilesummary::evtadcsum, tileHelper::eventtilesummary::evtGraph, tileHelper::eventtilesummary::evtShape, evtsum, fitTileSignal(), hLabHelper::getInstance(), and NSAMPLES.

+ Here is the call graph for this function:

void tileHelper::tileImpact ( )

Definition at line 509 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 509 of file tileHelper.C

References ctas, fiberLY, fibers, fiberY, Fill(), fLY, runsum, SetParLimits(), tileSizeY, TauVsDIS_MachineLearning_Differentiation::X, tileHelper::runtilesummary::XvsSl, tileHelper::runtilesummary::Y0, tileHelper::runtilesummary::Y1, tileHelper::runtilesummary::Y2, and yFit.

+ Here is the call graph for this function:

void tileHelper::tilePattern ( Int_t  nx,
Int_t  ny,
Int_t  run,
Int_t  mod = 0 
)

Definition at line 291 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 291 of file tileHelper.C

References hLabHelper::attachrootrun(), cd(), Draw(), f, fg, hLabHelper::getInstance(), lyFits, lyPattern, mean(), minProjEntries, norm, nx, ny, merge_hashes::p, rms(), runId, hLabHelper::runnumber, SetParLimits(), tileSizeX, tileSizeY, xdivisions, and ydivisions.

+ Here is the call graph for this function:

void tileHelper::tileTiming ( )

Definition at line 231 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 231 of file tileHelper.C

References hLabHelper::adc, detchannels, tileHelper::eventtilesummary::evtadcsum, tileHelper::eventtilesummary::evtGraph, evtsum, fitTileSignal(), hLabHelper::getInstance(), and NSAMPLES.

Referenced by evLoop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void tileHelper::tileTrigger ( )

Definition at line 215 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 215 of file tileHelper.C

References CHANNELTHRESHOLDS, detchannels, Fill(), hLabHelper::getInstance(), hitcnt, tileHelper::runtilesummary::hits_tpc, hLabHelper::rawPeak, runsum, tileHelper::runtilesummary::trhits, TRIGGERRES, and uSum.

Referenced by collectTileSummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void tileHelper::tileTriggerDisplay ( )

Definition at line 277 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 277 of file tileHelper.C

References ACTIVECHANNELS, runId, and triggerDisplay.

void tileHelper::updateCalibration ( )

Definition at line 178 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 178 of file tileHelper.C

References hLabHelper::getInstance(), hLabHelper::runnumber, runnumber, sc_1061, sc_1123, sc_779, sc_900, tileCalib, and TILECHANNELS.

+ Here is the call graph for this function:

void tileHelper::updateMap ( )

Definition at line 159 of file tileHelper.C.

View newest version in sPHENIX GitHub at line 159 of file tileHelper.C

References hLabHelper::active, ACTIVECHANNELS, feech1, feech2, for(), hLabHelper::getInstance(), hLabHelper::runnumber, runnumber, TILECHANNELS, TILETRIGGERCH, trch1125, and trch1152.

+ Here is the call graph for this function:

Member Data Documentation

Double_t tileHelper::cas

Definition at line 599 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 599 of file hcalUtil.h

Referenced by collectTileSummary().

Int_t tileHelper::channels

Definition at line 588 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 588 of file hcalUtil.h

Referenced by tileHelper().

Double_t tileHelper::cSum

Definition at line 594 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 594 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::ctas

Definition at line 599 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 599 of file hcalUtil.h

Referenced by collectTileSummary(), and tileImpact().

eventtilesummary tileHelper::evtsum

Definition at line 585 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 585 of file hcalUtil.h

Referenced by collectTileSummary(), evreset(), fitTileSignal(), reject(), tileDisplay(), and tileTiming().

TCanvas* tileHelper::fiberDisplay

Definition at line 606 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 606 of file hcalUtil.h

Referenced by status().

Double_t* tileHelper::fiberLY

Definition at line 601 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 601 of file hcalUtil.h

Referenced by collectTileSummary(), evreset(), getYFit(), tileHelper(), and tileImpact().

Int_t tileHelper::fibers

Definition at line 590 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 590 of file hcalUtil.h

Referenced by evreset(), getYFit(), tileHelper(), and tileImpact().

Double_t* tileHelper::fiberY

Definition at line 600 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 600 of file hcalUtil.h

Referenced by collectTileSummary(), getYFit(), tileHelper(), and tileImpact().

TGraph* tileHelper::fLY

Definition at line 611 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 611 of file hcalUtil.h

Referenced by evreset(), getYFit(), tileHelper(), and tileImpact().

int tileHelper::hitcnt[CHANNELTHRESHOLDS]

Definition at line 604 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 604 of file hcalUtil.h

Referenced by collectTileSummary(), evreset(), and tileTrigger().

TCanvas* tileHelper::impactDisplay

Definition at line 608 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 608 of file hcalUtil.h

Double_t tileHelper::lcSum

Definition at line 594 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 594 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::luSum

Definition at line 594 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 594 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

TCanvas * tileHelper::lyFits

Definition at line 609 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 609 of file hcalUtil.h

Referenced by tilePattern().

TCanvas* tileHelper::lyPattern

Definition at line 609 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 609 of file hcalUtil.h

Referenced by tilePattern().

Double_t tileHelper::muxC

Definition at line 597 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 597 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

int tileHelper::muxCCh

Definition at line 598 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 598 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

int tileHelper::muxCFiber

Definition at line 598 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 598 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::muxFC

Definition at line 597 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 597 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::muxFU

Definition at line 597 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 597 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::muxU

Definition at line 597 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 597 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

int tileHelper::muxUCh

Definition at line 598 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 598 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

int tileHelper::muxUFiber

Definition at line 598 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 598 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Int_t tileHelper::parameters

Definition at line 592 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 592 of file hcalUtil.h

Referenced by cpp.ast.Function::__str__(), and cpp.ast.Function::Requires().

Double_t tileHelper::ras

Definition at line 599 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 599 of file hcalUtil.h

Referenced by collectTileSummary().

Double_t tileHelper::rcSum

Definition at line 594 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 594 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::rtas

Definition at line 599 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 599 of file hcalUtil.h

Referenced by collectTileSummary().

runtilesummary tileHelper::runsum

Definition at line 586 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 586 of file hcalUtil.h

Referenced by collectTileSummary(), evLoop(), getYFit(), tileImpact(), and tileTrigger().

Double_t tileHelper::ruSum

Definition at line 594 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 594 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Int_t tileHelper::samples

Definition at line 589 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 589 of file hcalUtil.h

Referenced by tileHelper().

tileHelper * tileHelper::single = 0
staticprotected

Definition at line 458 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 458 of file hcalUtil.h

Referenced by deleteInstance(), and getInstance().

Double_t tileHelper::sumFC

Definition at line 596 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 596 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::sumFU

Definition at line 596 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 596 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t* tileHelper::tileCalib

Definition at line 602 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 602 of file hcalUtil.h

Referenced by collectTileSummary(), tileHelper(), updateCalibration(), and ~tileHelper().

Double_t* tileHelper::tileCalPeak

Definition at line 603 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 603 of file hcalUtil.h

Referenced by collectTileSummary(), tileHelper(), and ~tileHelper().

TCanvas* tileHelper::triggerDisplay

Definition at line 607 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 607 of file hcalUtil.h

Referenced by tileTriggerDisplay().

Double_t tileHelper::uSum

Definition at line 594 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 594 of file hcalUtil.h

Referenced by collectTileSummary(), evreset(), and tileTrigger().

Double_t tileHelper::XC

Definition at line 595 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 595 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Int_t tileHelper::xdivisions

Definition at line 591 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 591 of file hcalUtil.h

Referenced by tilePattern().

Double_t tileHelper::XU

Definition at line 595 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 595 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Double_t tileHelper::YC

Definition at line 595 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 595 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

Int_t tileHelper::ydivisions

Definition at line 591 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 591 of file hcalUtil.h

Referenced by tilePattern().

Double_t tileHelper::YF

Definition at line 595 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 595 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().

TF1* tileHelper::yFit

Definition at line 610 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 610 of file hcalUtil.h

Referenced by collectTileSummary(), evreset(), getYFit(), tileHelper(), and tileImpact().

Double_t tileHelper::YU

Definition at line 595 of file hcalUtil.h.

View newest version in sPHENIX GitHub at line 595 of file hcalUtil.h

Referenced by collectTileSummary(), and evreset().


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