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

Public Types

enum  { Ncore = Co::Nsrch }
 
enum  { NXsrch = Co::NXpix }
 
enum  { NYsrch = Co::NYpix }
 
enum  { NZ = 4 }
 
enum  { Npar2DI = 4 }
 

Public Member Functions

void FitX (void)
 
void Cluster (int ix, int jy, const int pass=0)
 
void Clear (void)
 
 Ohit (int max_X, int min_X, int max_Y, int min_Y, double ANoise, int nx, int ny, double *buf, TCanvas *pcF, TH2F *pf2D, TF2 *pfit)
 
 ~Ohit ()
 

Public Attributes

const int Xmax
 
const int Xmin
 
const int Ymax
 
const int Ymin
 
const double Noise
 
const double lowT
 
const double cntT
 
const double Cntr
 
const int nxb
 
const int nyb
 
const long Jmax
 
doublepbuf
 
char * flagbuf
 
int Flag
 
int isoFlag
 
double Amp [NXsrch][NYsrch]
 
int ixb
 
int jyb
 
double xhit
 
double yhit
 
double xhitG
 
double yhitG
 
double xfitG
 
double yfitG
 
double Amax
 
double Aseed
 
double Sum
 
double SumCTE
 
double SumOne
 
double rms
 
double MRatio
 
double ARatio
 
int Npix
 
int NpixH
 
int Nxpix
 
int Nypix
 
int Zind
 
int NKhit [NZ]
 
double AvHit [NZ][NXsrch][NYsrch]
 
double A2Hit [NZ][NXsrch][NYsrch]
 
TCanvas * cF
 
TH2F * f2D
 
TF2 * fit
 
double FitPar [Npar2DI]
 
double FitErr [Npar2DI]
 
int fitflag
 
const int Nfree
 
double chi2
 
double chiR
 
double Sumf
 
double xfit
 
double yfit
 
double sfit
 
double efit
 

Detailed Description

Definition at line 403 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 403 of file Fe55_main.dev20190528.cpp

Member Enumeration Documentation

anonymous enum
Enumerator:
Ncore 

Definition at line 420 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 420 of file Fe55_main.dev20190528.cpp

anonymous enum
Enumerator:
NXsrch 

Definition at line 421 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 421 of file Fe55_main.dev20190528.cpp

anonymous enum
Enumerator:
NYsrch 

Definition at line 422 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 422 of file Fe55_main.dev20190528.cpp

anonymous enum
Enumerator:
NZ 

Definition at line 441 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 441 of file Fe55_main.dev20190528.cpp

anonymous enum
Enumerator:
Npar2DI 

Definition at line 450 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 450 of file Fe55_main.dev20190528.cpp

Constructor & Destructor Documentation

Ohit::Ohit ( int  max_X,
int  min_X,
int  max_Y,
int  min_Y,
double  ANoise,
int  nx,
int  ny,
double buf,
TCanvas *  pcF,
TH2F *  pf2D,
TF2 *  pfit 
)

Definition at line 474 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 474 of file Fe55_main.dev20190528.cpp

References A2Hit, AvHit, cF, f2D, fit, flagbuf, G2DI(), i, Jmax, NKhit, Npar2DI, NXsrch, NYsrch, NZ, ambiguity_solver_full_chain::x, and y.

+ Here is the call graph for this function:

Ohit::~Ohit ( )
inline

Definition at line 471 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 471 of file Fe55_main.dev20190528.cpp

References flagbuf.

Member Function Documentation

void Ohit::Clear ( void  )

Definition at line 763 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 763 of file Fe55_main.dev20190528.cpp

References Flag, i, ixb, j, jyb, Jetscape::Nc, Ncore, nxb, NXsrch, NYsrch, pbuf, Xmax, Xmin, Ymax, and Ymin.

Referenced by Fe55::Fe55().

+ Here is the caller graph for this function:

void Ohit::Cluster ( int  ix,
int  jy,
const int  pass = 0 
)

Definition at line 521 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 521 of file Fe55_main.dev20190528.cpp

References Amax, Amp, ARatio, Aseed, chi2, chiR, Cntr, cntT, CteX, CteY, efit, fitflag, Flag, flagbuf, isoFlag, ixb, Jmax, jyb, lowT, MRatio, Ncore, Noise, Npix, NpixH, nxb, NXsrch, NYsrch, pbuf, rms, sfit, Sum, SumCTE, Sumf, SumOne, ambiguity_solver_full_chain::x, xfit, xfitG, xhit, xhitG, Xmax, y, yfit, yfitG, yhit, yhitG, and Ymax.

Referenced by Fe55::Fe55().

+ Here is the caller graph for this function:

void Ohit::FitX ( void  )

Definition at line 658 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 658 of file Fe55_main.dev20190528.cpp

References Amp, chi2, chiR, Cntr, double(), efit, f2D, Co::Fano, fit, fitflag, Co::Gain, ixb, jyb, Nfree, Noise, NXsrch, NYsrch, rms, sfit, Sum, Sumf, ambiguity_solver_full_chain::x, xfit, xfitG, xhit, xhitG, y, yfit, yfitG, yhit, and yhitG.

Referenced by Fe55::Fe55().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

double Ohit::A2Hit[NZ][NXsrch][NYsrch]

Definition at line 445 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 445 of file Fe55_main.dev20190528.cpp

Referenced by Ohit().

double Ohit::Amax

Definition at line 428 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 428 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

double Ohit::Amp[NXsrch][NYsrch]

Definition at line 423 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 423 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::ARatio

Definition at line 435 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 435 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

double Ohit::Aseed

Definition at line 429 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 429 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

double Ohit::AvHit[NZ][NXsrch][NYsrch]

Definition at line 444 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 444 of file Fe55_main.dev20190528.cpp

Referenced by Ohit().

TCanvas* Ohit::cF

Definition at line 447 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 447 of file Fe55_main.dev20190528.cpp

Referenced by Ohit().

double Ohit::chi2

Definition at line 455 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 455 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::chiR

Definition at line 456 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 456 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

const double Ohit::Cntr

Definition at line 412 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 412 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), and FitX().

const double Ohit::cntT

Definition at line 411 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 411 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

double Ohit::efit

Definition at line 461 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 461 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

TH2F* Ohit::f2D

Definition at line 448 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 448 of file Fe55_main.dev20190528.cpp

Referenced by FitX(), and Ohit().

TF2* Ohit::fit

Definition at line 449 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 449 of file Fe55_main.dev20190528.cpp

Referenced by FitX(), and Ohit().

double Ohit::FitErr[Npar2DI]

Definition at line 452 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 452 of file Fe55_main.dev20190528.cpp

int Ohit::fitflag

Definition at line 453 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 453 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::FitPar[Npar2DI]

Definition at line 451 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 451 of file Fe55_main.dev20190528.cpp

int Ohit::Flag

Definition at line 417 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 417 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), Cluster(), and Fe55::Fe55().

char* Ohit::flagbuf

Definition at line 416 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 416 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Ohit(), and ~Ohit().

int Ohit::isoFlag

Definition at line 418 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 418 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

int Ohit::ixb

Definition at line 424 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 424 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), Cluster(), Fe55::Fe55(), and FitX().

const long Ohit::Jmax

Definition at line 414 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 414 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), and Ohit().

int Ohit::jyb

Definition at line 424 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 424 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), Cluster(), Fe55::Fe55(), and FitX().

const double Ohit::lowT

Definition at line 410 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 410 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

double Ohit::MRatio

Definition at line 434 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 434 of file Fe55_main.dev20190528.cpp

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

const int Ohit::Nfree

Definition at line 454 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 454 of file Fe55_main.dev20190528.cpp

Referenced by FitX().

int Ohit::NKhit[NZ]

Definition at line 443 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 443 of file Fe55_main.dev20190528.cpp

Referenced by Ohit().

const double Ohit::Noise

Definition at line 409 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 409 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), and FitX().

int Ohit::Npix

Definition at line 436 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 436 of file Fe55_main.dev20190528.cpp

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

int Ohit::NpixH

Definition at line 437 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 437 of file Fe55_main.dev20190528.cpp

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

const int Ohit::nxb

Definition at line 413 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 413 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), and Cluster().

int Ohit::Nxpix

Definition at line 438 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 438 of file Fe55_main.dev20190528.cpp

const int Ohit::nyb

Definition at line 413 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 413 of file Fe55_main.dev20190528.cpp

int Ohit::Nypix

Definition at line 439 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 439 of file Fe55_main.dev20190528.cpp

double* Ohit::pbuf

Definition at line 415 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 415 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), and Cluster().

double Ohit::rms

Definition at line 433 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 433 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::sfit

Definition at line 460 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 460 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::Sum

Definition at line 430 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 430 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::SumCTE

Definition at line 431 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 431 of file Fe55_main.dev20190528.cpp

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

double Ohit::Sumf

Definition at line 457 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 457 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::SumOne

Definition at line 432 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 432 of file Fe55_main.dev20190528.cpp

Referenced by Cluster().

double Ohit::xfit

Definition at line 458 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 458 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::xfitG

Definition at line 427 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 427 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::xhit

Definition at line 425 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 425 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::xhitG

Definition at line 426 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 426 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

const int Ohit::Xmax

Definition at line 405 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 405 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), and Cluster().

const int Ohit::Xmin

Definition at line 406 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 406 of file Fe55_main.dev20190528.cpp

Referenced by Clear().

double Ohit::yfit

Definition at line 459 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 459 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::yfitG

Definition at line 427 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 427 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::yhit

Definition at line 425 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 425 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

double Ohit::yhitG

Definition at line 426 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 426 of file Fe55_main.dev20190528.cpp

Referenced by Cluster(), Fe55::Fe55(), and FitX().

const int Ohit::Ymax

Definition at line 407 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 407 of file Fe55_main.dev20190528.cpp

Referenced by Clear(), and Cluster().

const int Ohit::Ymin

Definition at line 408 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 408 of file Fe55_main.dev20190528.cpp

Referenced by Clear().

int Ohit::Zind

Definition at line 442 of file Fe55_main.dev20190528.cpp.

View newest version in sPHENIX GitHub at line 442 of file Fe55_main.dev20190528.cpp


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