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

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

+ Collaboration diagram for stack:

Public Member Functions

 stack ()
 
 stack (const Int_t kind, const Int_t chnls, const Int_t xch, const Int_t ych)
 
 ~stack ()
 
void displayEvent (Int_t mode=0)
 
void displayADCSum ()
 
void displayTowerSummary (Int_t mode=3)
 
void displayStackSummary (Int_t mode=3)
 
void print ()
 
void updateMap (Int_t stckloc)
 
Int_t update (Bool_t fitShapes=kFALSE)
 
Int_t getStackTime ()
 
Int_t getStackImpact ()
 
Int_t getStackTrack ()
 
Int_t getTrigger ()
 
void clean ()
 

Public Attributes

Int_t reject
 
Double_t stackECalib
 
Int_t triggerFlag
 
Int_t triggerHits
 
Int_t triggerSum
 
Int_t eventsSeen
 
Int_t stackId
 
Int_t stackKind
 
Int_t gains
 
Int_t twrsInStack
 
Int_t stackLoc
 
Int_t nTwrsX
 
Int_t nTwrsY
 
Int_t key
 
Bool_t mapUpdated
 
Double_t totPed
 
Double_t totAmpl
 
Double_t totCorAmpl
 
Double_t avTwrTime
 
Double_t rmsTwrTime
 
Double_t E
 
Double_t xImpact
 
Double_t yImpact
 
tower ** towers
 
Int_t gainToUse
 
Int_t twrsUsed [2]
 
Double_t * adcsum [2]
 
Double_t * fitPar [2]
 
Double_t fitPed [2]
 
Double_t fitTime [2]
 
Double_t fitPeak [2]
 
Double_t fitChi2 [2]
 
TF1 * shape [2]
 
TF1 * signal [2]
 
TGraph * graph [2]
 
Int_t stackHits
 
Int_t trackHits
 
Double_t crossing
 
Double_t slope
 
Double_t trchi2
 
Double_t trackAmpl
 
TH1 * stFGR
 
TH1 * stFPed
 
TH1 * stFAmpl
 
TH1 * stFTime
 
TH1 * stChi2
 
TH1 * stSPed
 
TH1 * stSAmpl
 
TH1 * stSE
 
TH1 * stAvT
 
TH1 * stTRMS
 
TH2 * hitCG
 
TH1 * trAmp
 
TH1 * trChi2
 
TH1 * trCr
 
TH1 * trSl
 
TH2 * trAmpCh2
 
TH2 * trAstH
 
TH2 * trASl
 
TH2 * trATwr
 
TH1 * satProb [2]
 

Friends

class hcal
 
class hcalHelper
 

Detailed Description

Definition at line 286 of file hcalUtil.h.

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

Constructor & Destructor Documentation

stack::stack ( )
stack::stack ( const Int_t  kind,
const Int_t  chnls,
const Int_t  xch,
const Int_t  ych 
)

Definition at line 559 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 559 of file hcalHelper.C

References tower::adcChannel, adcsum, CALOR, E, eventsSeen, fitPar, gains, HCALTOWERS, HIGH, hitCG, hlgratios, HOUTER, mapUpdated, NPARAMETERS, NSAMPLES, nTwrsX, nTwrsY, nx, reject, satProb, SetTitle(), shape, signal, signalShape(), stackECalib, stackId, stackKind, stackLoc, stAvT, stChi2, stFAmpl, stFGR, stFPed, stFTime, stSAmpl, stSE, stSPed, stTRMS, sum(), towers, trAmp, trAmpCh2, trASl, trAstH, trATwr, trChi2, trCr, triggerFlag, triggerHits, triggerSum, trSl, and twrsInStack.

+ Here is the call graph for this function:

stack::~stack ( )

Definition at line 690 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 690 of file hcalHelper.C

References hitCG, stackId, stAvT, stChi2, stFAmpl, stFGR, stFPed, stFTime, stSAmpl, stSE, stSPed, stTRMS, towers, trAmp, trAmpCh2, trASl, trAstH, trATwr, trChi2, trCr, trSl, and twrsInStack.

Member Function Documentation

void stack::clean ( )

Definition at line 1225 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 1225 of file hcalHelper.C

References adcsum, avTwrTime, tower::clean(), crossing, E, fitChi2, fitPar, fitPeak, fitPed, gains, NPARAMETERS, NSAMPLES, reject, rmsTwrTime, slope, stackHits, totAmpl, totCorAmpl, totPed, towers, trackAmpl, trackHits, trchi2, triggerFlag, triggerHits, triggerSum, twrsInStack, and twrsUsed.

Referenced by hcal::clean().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stack::displayADCSum ( )

Definition at line 883 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 883 of file hcalHelper.C

References hLabHelper::cDirectory, gains, hLabHelper::getInstance(), hcalHelper::getInstance(), hcalHelper::runnumber, shape, and stackId.

Referenced by hcal::displayRaw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stack::displayEvent ( Int_t  mode = 0)

Definition at line 721 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 721 of file hcalHelper.C

References CALOR, cd(), Draw(), gains, hcalHelper::getInstance(), tower::graph, HIGH, nTwrsX, nTwrsY, hcalHelper::runnumber, stackId, stackKind, towers, twrsInStack, ambiguity_solver_full_chain::x, tower::x, y, and tower::y.

Referenced by hcal::displayRaw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stack::displayStackSummary ( Int_t  mode = 3)

Definition at line 801 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 801 of file hcalHelper.C

References CALOR, cd(), hLabHelper::cDirectory, Draw(), eventsSeen, gains, hLabHelper::getInstance(), hcalHelper::getInstance(), hLabHelper::runKind, hcalHelper::runnumber, satProb, stackId, stackKind, stAvT, stChi2, stFAmpl, stFGR, stFPed, stSAmpl, stSE, stSPed, trAmp, trAmpCh2, trASl, trAstH, trCr, trSl, and twrsInStack.

Referenced by hcal::displaySummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stack::displayTowerSummary ( Int_t  mode = 3)

Definition at line 765 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 765 of file hcalHelper.C

References cd(), hLabHelper::cDirectory, hLabHelper::getInstance(), hcalHelper::getInstance(), nTwrsX, nTwrsY, hcalHelper::runnumber, stackId, towers, tower::twrAmpl, twrsInStack, tower::x, and tower::y.

Referenced by hcal::displaySummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t stack::getStackImpact ( )

Definition at line 1104 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 1104 of file hcalHelper.C

References CALOR, tower::campl, Fill(), gainToUse, hitCG, stackKind, towers, twrsInStack, ambiguity_solver_full_chain::x, xImpact, y, and yImpact.

Referenced by update().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t stack::getStackTime ( )

Definition at line 996 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 996 of file hcalHelper.C

References hcalHelper::adc, tower::adcChannel, adcsum, CALOR, emcGainSelection, FALLTIME, Fill(), fitChi2, fitPar, fitPeak, fitPed, fitTime, gains, gainToUse, hcalHelper::getInstance(), HIGH, HLGRATIO, hlgratios, NSAMPLES, par0, par0Max, par0Min, reject, RISETIME, SetParLimits(), SetPoint(), shape, signal, stackId, stackKind, stChi2, stFAmpl, stFGR, stFPed, stFTime, STZEROSUPTHR, towers, twrsInStack, and twrsUsed.

Referenced by hcal::getStackTiming().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t stack::getStackTrack ( )

Definition at line 1131 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 1131 of file hcalHelper.C

References Acts::PhysicalConstants::c, CALOR, tower::campl, crossing, Fill(), gainToUse, nTwrsX, nTwrsY, physmon_track_finding_ttbar::r, slope, stackHits, stackKind, totAmpl, towers, trackAmpl, trackHits, trAmp, trAmpCh2, trASl, trAstH, trATwr, trchi2, trChi2, trCr, trSl, TWRAMPTHR, twrsInStack, ambiguity_solver_full_chain::x, and y.

Referenced by update().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Int_t stack::getTrigger ( )

Definition at line 1211 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 1211 of file hcalHelper.C

References gains, tower::rawAmpl, STHITMAX, STHITMIN, STTOTAMPTHR, towers, TRGAINRANGE, triggerFlag, triggerHits, triggerSum, TWRAMPTHR, and twrsInStack.

Referenced by hcal::collectTrPrimitives().

+ Here is the caller graph for this function:

void stack::print ( )

Definition at line 918 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 918 of file hcalHelper.C

References gains, mapUpdated, nTwrsX, nTwrsY, tower::print(), stackId, stackLoc, towers, and twrsInStack.

+ Here is the call graph for this function:

Int_t stack::update ( Bool_t  fitShapes = kFALSE)

Definition at line 948 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 948 of file hcalHelper.C

References avTwrTime, CALOR, tower::campl, tower::cped, tower::ctime, E, tower::E, eventsSeen, Fill(), gains, hLabHelper::getInstance(), getStackImpact(), getStackTrack(), tower::rampl, reject, rmsTwrTime, hLabHelper::runKind, satProb, stackKind, stAvT, stSAmpl, stSE, stSPed, stTRMS, totAmpl, totCorAmpl, totPed, towers, twrsInStack, and tower::update().

Referenced by hcal::update().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stack::updateMap ( Int_t  stckloc)

Definition at line 930 of file hcalHelper.C.

View newest version in sPHENIX GitHub at line 930 of file hcalHelper.C

References tower::adcChannel, gains, mapUpdated, stackLoc, towers, and twrsInStack.

Referenced by hcalHelper::hcalHelper().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class hcal
friend

Definition at line 287 of file hcalUtil.h.

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

friend class hcalHelper
friend

Definition at line 288 of file hcalUtil.h.

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

Member Data Documentation

Double_t* stack::adcsum[2]

Definition at line 341 of file hcalUtil.h.

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

Referenced by clean(), getStackTime(), and stack().

Double_t stack::avTwrTime

Definition at line 331 of file hcalUtil.h.

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

Referenced by clean(), and update().

Double_t stack::crossing

Definition at line 354 of file hcalUtil.h.

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

Referenced by clean(), and getStackTrack().

Double_t stack::E

Definition at line 333 of file hcalUtil.h.

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

Referenced by clean(), stack(), hcal::update(), and update().

Int_t stack::eventsSeen

Definition at line 317 of file hcalUtil.h.

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

Referenced by displayStackSummary(), stack(), and update().

Double_t stack::fitChi2[2]

Definition at line 347 of file hcalUtil.h.

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

Referenced by clean(), and getStackTime().

Double_t* stack::fitPar[2]

Definition at line 342 of file hcalUtil.h.

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

Referenced by clean(), getStackTime(), and stack().

Double_t stack::fitPeak[2]

Definition at line 346 of file hcalUtil.h.

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

Referenced by clean(), and getStackTime().

Double_t stack::fitPed[2]

Definition at line 343 of file hcalUtil.h.

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

Referenced by clean(), and getStackTime().

Double_t stack::fitTime[2]

Definition at line 345 of file hcalUtil.h.

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

Referenced by hcalHelper::collectRaw(), and getStackTime().

Int_t stack::gains
Int_t stack::gainToUse

Definition at line 339 of file hcalUtil.h.

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

Referenced by getStackImpact(), getStackTime(), and getStackTrack().

TGraph* stack::graph[2]

Definition at line 349 of file hcalUtil.h.

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

TH2* stack::hitCG

Definition at line 360 of file hcalUtil.h.

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

Referenced by getStackImpact(), stack(), and ~stack().

Int_t stack::key

Definition at line 326 of file hcalUtil.h.

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

Referenced by conftest.RootHashAssertionError::__init__().

Bool_t stack::mapUpdated

Definition at line 327 of file hcalUtil.h.

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

Referenced by print(), stack(), and updateMap().

Int_t stack::nTwrsX

Definition at line 324 of file hcalUtil.h.

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

Referenced by displayEvent(), displayTowerSummary(), getStackTrack(), print(), and stack().

Int_t stack::nTwrsY

Definition at line 325 of file hcalUtil.h.

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

Referenced by displayEvent(), displayTowerSummary(), getStackTrack(), print(), and stack().

Int_t stack::reject

Definition at line 309 of file hcalUtil.h.

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

Referenced by clean(), getStackTime(), stack(), and update().

Double_t stack::rmsTwrTime

Definition at line 332 of file hcalUtil.h.

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

Referenced by clean(), and update().

TH1* stack::satProb[2]

Definition at line 366 of file hcalUtil.h.

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

Referenced by displayStackSummary(), hcal::displaySummary(), stack(), and update().

TF1* stack::shape[2]

Definition at line 348 of file hcalUtil.h.

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

Referenced by displayADCSum(), getStackTime(), and stack().

TF1 * stack::signal[2]

Definition at line 348 of file hcalUtil.h.

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

Referenced by getStackTime(), and stack().

Double_t stack::slope

Definition at line 354 of file hcalUtil.h.

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

Referenced by clean(), and getStackTrack().

Double_t stack::stackECalib

Definition at line 313 of file hcalUtil.h.

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

Referenced by hcal::setCalibration(), and stack().

Int_t stack::stackHits

Definition at line 352 of file hcalUtil.h.

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

Referenced by clean(), and getStackTrack().

Int_t stack::stackId

Definition at line 319 of file hcalUtil.h.

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

Referenced by displayADCSum(), displayEvent(), displayStackSummary(), displayTowerSummary(), getStackTime(), hcalHelper::hcalHelper(), print(), hcal::setCalibration(), stack(), and ~stack().

Int_t stack::stackKind

Definition at line 320 of file hcalUtil.h.

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

Referenced by displayEvent(), displayStackSummary(), hcalHelper::evLoop(), getStackImpact(), getStackTime(), getStackTrack(), stack(), and update().

Int_t stack::stackLoc

Definition at line 323 of file hcalUtil.h.

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

Referenced by print(), stack(), and updateMap().

TH1 * stack::stAvT

Definition at line 358 of file hcalUtil.h.

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

Referenced by displayStackSummary(), stack(), update(), and ~stack().

TH1 * stack::stChi2

Definition at line 357 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTime(), stack(), and ~stack().

TH1 * stack::stFAmpl

Definition at line 357 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTime(), stack(), and ~stack().

TH1* stack::stFGR

Definition at line 356 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTime(), stack(), and ~stack().

TH1* stack::stFPed

Definition at line 357 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTime(), stack(), and ~stack().

TH1 * stack::stFTime

Definition at line 357 of file hcalUtil.h.

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

Referenced by getStackTime(), stack(), and ~stack().

TH1 * stack::stSAmpl

Definition at line 358 of file hcalUtil.h.

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

Referenced by displayStackSummary(), stack(), update(), and ~stack().

TH1 * stack::stSE

Definition at line 358 of file hcalUtil.h.

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

Referenced by displayStackSummary(), stack(), update(), and ~stack().

TH1* stack::stSPed

Definition at line 358 of file hcalUtil.h.

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

Referenced by displayStackSummary(), stack(), update(), and ~stack().

TH1 * stack::stTRMS

Definition at line 358 of file hcalUtil.h.

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

Referenced by stack(), update(), and ~stack().

Double_t stack::totAmpl

Definition at line 329 of file hcalUtil.h.

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

Referenced by clean(), getStackTrack(), and update().

Double_t stack::totCorAmpl

Definition at line 330 of file hcalUtil.h.

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

Referenced by clean(), hcal::update(), and update().

Double_t stack::totPed

Definition at line 328 of file hcalUtil.h.

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

Referenced by clean(), and update().

Double_t stack::trackAmpl

Definition at line 354 of file hcalUtil.h.

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

Referenced by clean(), and getStackTrack().

Int_t stack::trackHits

Definition at line 353 of file hcalUtil.h.

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

Referenced by clean(), and getStackTrack().

TH1* stack::trAmp

Definition at line 362 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTrack(), stack(), and ~stack().

TH2* stack::trAmpCh2

Definition at line 363 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTrack(), stack(), and ~stack().

TH2 * stack::trASl

Definition at line 363 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTrack(), stack(), and ~stack().

TH2 * stack::trAstH

Definition at line 363 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTrack(), stack(), and ~stack().

TH2 * stack::trATwr

Definition at line 363 of file hcalUtil.h.

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

Referenced by getStackTrack(), stack(), and ~stack().

Double_t stack::trchi2

Definition at line 354 of file hcalUtil.h.

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

Referenced by clean(), and getStackTrack().

TH1 * stack::trChi2

Definition at line 362 of file hcalUtil.h.

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

Referenced by getStackTrack(), stack(), and ~stack().

TH1 * stack::trCr

Definition at line 362 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTrack(), stack(), and ~stack().

Int_t stack::triggerFlag

Definition at line 314 of file hcalUtil.h.

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

Referenced by clean(), getTrigger(), and stack().

Int_t stack::triggerHits

Definition at line 315 of file hcalUtil.h.

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

Referenced by clean(), getTrigger(), and stack().

Int_t stack::triggerSum

Definition at line 316 of file hcalUtil.h.

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

Referenced by clean(), getTrigger(), and stack().

TH1 * stack::trSl

Definition at line 362 of file hcalUtil.h.

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

Referenced by displayStackSummary(), getStackTrack(), stack(), and ~stack().

Int_t stack::twrsUsed[2]

Definition at line 340 of file hcalUtil.h.

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

Referenced by clean(), and getStackTime().

Double_t stack::xImpact

Definition at line 334 of file hcalUtil.h.

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

Referenced by getStackImpact().

Double_t stack::yImpact

Definition at line 335 of file hcalUtil.h.

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

Referenced by getStackImpact().


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