#include <EmcSectorRec.h>
Inherited by EmcGlSectorRec, and EmcScSectorRec.
Inheritance diagram for EmcSectorRec:
Definition at line 35 of file EmcSectorRec.h.
Public Member Functions | |
EmcSectorRec () | |
virtual | ~EmcSectorRec () |
void | SetVertex (float *vv) |
void | SetGeometry (SecGeom const &geom, PHMatrix *rm, PHVector *tr) |
int | GetNx () const |
int | GetNy () const |
float | GetModSizex () const |
float | GetModSizey () const |
float | GetVx () const |
float | GetVy () const |
float | GetVz () const |
void | SetPeakThreshold (float Thresh) |
float | GetPeakThreshold () |
float | GetTowerThreshold () |
void | SetModules (std::vector< EmcModule > const *modules) |
std::vector< EmcModule > * | GetModules () |
std::vector< EmcCluster > * | GetClusters () |
int | FindClusters () |
void | GetImpactAngle (float x, float y, float *sinT) |
void | GlobalToSector (float, float, float, float *, float *, float *) |
void | SectorToGlobal (float xsec, float ysec, float zsec, float *px, float *py, float *pz) |
void | SectorToGlobalErr (float dxsec, float dysec, float dzsec, float *pdx, float *pdy, float *pdz) |
virtual void | TowersToSector (float, float, float &, float &)=0 |
Converts coordinates in units of towers into cm's (Local coord. system). | |
virtual void | TowersToSector (int, int, float &, float &)=0 |
Returns coordinates of the tower centers in cm's (Local coord. system). | |
virtual void | SectorToTowers (float, float, int &, int &)=0 |
Converts Local Sector coordinates in cm into integer tower numbers. | |
virtual void | Gamma (int, EmcModule *, float *, float *, float *, float *, float *, float *, float *, float *, int &ndf) |
void | Mom1 (int, EmcModule *, float *, float *, float *) |
void | Momenta (int, EmcModule *, float *, float *, float *, float *, float *, float *) |
virtual void | SetTowerThreshold (float Thresh)=0 |
virtual void | SetProfileParameters (int, float, float, float)=0 |
void | SetChi2Limit (int lim) |
virtual float | ClusterChisq (int, EmcModule *, float, float, float, int &ndf)=0 |
virtual float | Chi2Correct (float chi2, int ndf)=0 |
virtual void | CorrectPosition (float energy, float x, float y, float *xcorr, float *ycorr, bool callSetPar=true)=0 |
virtual void | CorrectEnergy (float energy, float x, float y, float *ecorr)=0 |
virtual void | CorrectECore (float ecore, float x, float y, float *ecorecorr)=0 |
virtual void | TwoGamma (int, EmcModule *, float *, float *, float *, float *, float *, float *, float *)=0 |
virtual float | Chi2Limit (int ndf)=0 |
virtual float | PredictEnergy (float, float, float)=0 |
virtual void | CalculateErrors (float e, float x, float y, float *pde, float *pdx, float *pdy, float *pdz)=0 |
virtual void | getTowerPos (int ix, int iy, float &x, float &y)=0 |
Static Public Member Functions | |
static int | HitNCompare (const void *, const void *) |
static int | HitACompare (const void *, const void *) |
static void | CopyVector (int *, int *, int) |
static void | CopyVector (EmcModule *, EmcModule *, int) |
static void | ZeroVector (int *, int) |
static void | ZeroVector (float *, int) |
static void | ZeroVector (EmcModule *, int) |
static void | ResizeVector (int *, int, int) |
static void | c3to5 (float, float, float, float, float, float, float *, float *, float *, float *, float *, float *) |
Protected Attributes | |
int | fNx |
int | fNy |
float | fModSizex |
float | fModSizey |
float | fVx |
float | fVy |
float | fVz |
PHMatrix | emcrm |
PHVector | emctr |
PHMatrix | invemcrm |
PHVector | invemctr |
std::vector< EmcModule > * | fModules |
std::vector< EmcCluster > * | fClusters |
float | fgTowerThresh |
float | fgMinPeakEnergy |
Static Protected Attributes | |
static float | fgChi2Level1 [] |
static float | fgChi2Level2 [] |
static float | fgChi2Level [] |
static float const | fgMinShowerEnergy = 0.1 |
static int const | fgMaxLen = 1000 |
|
Definition at line 217 of file EmcSectorRec.cxx. References fClusters, fModules, SetChi2Limit(), and SetPeakThreshold(). |
|
Definition at line 227 of file EmcSectorRec.cxx. |
|
Definition at line 759 of file EmcSectorRec.cxx. |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcEmshower::GetChar(), EmcPeakarea::GetChar(), EmcCluster::GetChar(), EmcEmshower::GetErrors(), and EmcCluster::GetErrors(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcEmshower::GetChar(), EmcPeakarea::GetChar(), EmcPeakarea::GetChi2(), and EmcPeakarea::GetGammas(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcPeakarea::GetGammas(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by Gamma(). |
|
Definition at line 749 of file EmcSectorRec.cxx. |
|
Definition at line 739 of file EmcSectorRec.cxx. Referenced by ResizeVector(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcPeakarea::GetChar(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcPeakarea::GetChar(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcEmshower::GetChar(), EmcPeakarea::GetChar(), EmcCluster::GetChar(), EmcEmshower::GetCorrPos(), and EmcCluster::GetCorrPos(). |
|
Definition at line 288 of file EmcSectorRec.cxx. References fClusters, fgMaxLen, fModules, fNx, HitNCompare(), and EmcCluster::ReInitialize(). |
|
Reimplemented in EmcGlSectorRec. Definition at line 464 of file EmcSectorRec.cxx. References EmcCluster::ABS(), ClusterChisq(), Mom1(), and SetProfileParameters(). Referenced by EmcPeakarea::GetCGmin(), EmcPeakarea::GetChar(), EmcPeakarea::GetChi2(), and EmcPeakarea::GetGammas(). |
|
Definition at line 60 of file EmcSectorRec.h. References fClusters. |
|
Definition at line 411 of file EmcSectorRec.cxx. References fVx, fVy, fVz, and GlobalToSector(). Referenced by EmcScSectorRec::CorrectECore(), EmcScSectorRec::CorrectEnergy(), and EmcGlSectorRec::CorrectEnergy(). |
|
Definition at line 48 of file EmcSectorRec.h. References fModSizex. Referenced by EmcScSectorRec::CorrectPosition(), EmcGlSectorRec::CorrectPosition(), EmcPeakarea::GetCGmin(), EmcPeakarea::GetChar(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), EmcCluster::GetE4(), EmcCluster::GetE9(), EmcCluster::GetECore(), EmcPeakarea::GetGammas(), and EmcCluster::GetImpactTower(). |
|
Definition at line 49 of file EmcSectorRec.h. References fModSizey. Referenced by EmcScSectorRec::CorrectPosition(), EmcGlSectorRec::CorrectPosition(), EmcPeakarea::GetCGmin(), EmcPeakarea::GetChar(), EmcPeakarea::GetChi2New(), EmcPeakarea::GetCLNew(), EmcCluster::GetE4(), EmcCluster::GetE9(), EmcCluster::GetECore(), EmcPeakarea::GetGammas(), and EmcCluster::GetImpactTower(). |
|
Definition at line 59 of file EmcSectorRec.h. References fModules. |
|
Definition at line 46 of file EmcSectorRec.h. References fNx. Referenced by EmcCluster::GetE9(), EmcCluster::GetECore(), EmcCluster::GetImpactTower(), EmcCluster::GetPeaks(), and EmcCluster::GetTowerEnergy(). |
|
Definition at line 47 of file EmcSectorRec.h. References fNy. Referenced by EmcCluster::GetImpactTower(). |
|
Definition at line 54 of file EmcSectorRec.h. References fgMinPeakEnergy. Referenced by EmcCluster::GetPeaks(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. |
|
Definition at line 55 of file EmcSectorRec.h. References fgTowerThresh. |
|
Definition at line 50 of file EmcSectorRec.h. References fVx. |
|
Definition at line 51 of file EmcSectorRec.h. References fVy. |
|
Definition at line 52 of file EmcSectorRec.h. References fVz. |
|
Definition at line 426 of file EmcSectorRec.cxx. References invemcrm, and invemctr. Referenced by GetImpactAngle(), EmcScSectorRec::SetProfileParameters(), and EmcGlSectorRec::SetProfileParameters(). |
|
Definition at line 682 of file EmcSectorRec.cxx. Referenced by EmcCluster::GetHits(). |
|
Definition at line 673 of file EmcSectorRec.cxx. Referenced by FindClusters(), EmcCluster::GetE9(), and EmcCluster::GetPeaks(). |
|
Definition at line 584 of file EmcSectorRec.cxx. References EmcModule::amp, fNx, and EmcModule::ich. Referenced by Gamma(), and EmcGlSectorRec::Gamma(). |
|
Definition at line 619 of file EmcSectorRec.cxx. References EmcModule::amp, fNx, and EmcModule::ich. Referenced by EmcScSectorRec::TwoGamma(), and EmcGlSectorRec::TwoGamma(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by EmcCluster::GetECore(). |
|
Definition at line 720 of file EmcSectorRec.cxx. References CopyVector(). |
|
Definition at line 440 of file EmcSectorRec.cxx. Referenced by EmcEmshower::GetChar(), EmcPeakarea::GetChar(), EmcCluster::GetChar(), EmcEmshower::GetGlobalPos(), and EmcCluster::GetGlobalPos(). |
|
Definition at line 454 of file EmcSectorRec.cxx. Referenced by EmcScSectorRec::CalculateErrors(). |
|
Converts Local Sector coordinates in cm into integer tower numbers.
Implemented in EmcGlSectorRec, and EmcScSectorRec. |
|
Definition at line 778 of file EmcSectorRec.cxx. References fgChi2Level, fgChi2Level1, and fgChi2Level2. Referenced by EmcSectorRec(), and mEmcClusterNewModule::mEmcClusterNewModule(). |
|
Definition at line 247 of file EmcSectorRec.cxx. References emcrm, emctr, fModSizex, fModSizey, fNx, fNy, invemcrm, invemctr, SecGeom::nx, SecGeom::ny, SecGeom::Tower_xSize, and SecGeom::Tower_ySize. Referenced by mEmcClusterNewModule::mEmcClusterNewModule(). |
|
|
|
Definition at line 53 of file EmcSectorRec.h. References fgMinPeakEnergy. Referenced by EmcSectorRec(), mEmcClusterNewModule::mEmcClusterNewModule(), and mEmcClusterNewModule::SetPeakThreshold(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by Gamma(), and EmcCluster::GetECore(). |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. Referenced by mEmcClusterNewModule::mEmcClusterNewModule(). |
|
Definition at line 43 of file EmcSectorRec.h. |
|
Returns coordinates of the tower centers in cm's (Local coord. system).
Implemented in EmcGlSectorRec, and EmcScSectorRec. |
|
Converts coordinates in units of towers into cm's (Local coord. system).
Implemented in EmcGlSectorRec, and EmcScSectorRec. |
|
Implemented in EmcGlSectorRec, and EmcScSectorRec. |
|
Definition at line 713 of file EmcSectorRec.cxx. |
|
Definition at line 703 of file EmcSectorRec.cxx. |
|
Definition at line 693 of file EmcSectorRec.cxx. Referenced by EmcCluster::GetHits(). |
|
Definition at line 126 of file EmcSectorRec.h. Referenced by SectorToGlobal(), and SetGeometry(). |
|
Definition at line 128 of file EmcSectorRec.h. Referenced by SectorToGlobal(), and SetGeometry(). |
|
Definition at line 141 of file EmcSectorRec.h. Referenced by EmcSectorRec(), FindClusters(), GetClusters(), and ~EmcSectorRec(). |
|
Initial value: { 6.634899, 4.605171, 3.780564, 3.318915, 3.017103, 2.801872, 2.639259, 2.511249, 2.407341, 2.320967, 2.247720, 2.184744, 2.129863, 2.081515, 2.038526, 1.999994, 1.965214, 1.933627, 1.904781, 1.878311, 1.853912, 1.831334, 1.810365, 1.790825, 1.772564, 1.755449, 1.739367, 1.724222, 1.709926, 1.696406, 1.683593, 1.671430, 1.659864, 1.648850, 1.638344, 1.628311, 1.618716, 1.609528, 1.600721, 1.592268, 1.584148, 1.576338, 1.568822, 1.561579, 1.554596, 1.547856, 1.541346, 1.535055, 1.528968, 1.523077 } Definition at line 137 of file EmcSectorRec.h. Referenced by EmcScSectorRec::Chi2Limit(), EmcGlSectorRec::Chi2Limit(), and SetChi2Limit(). |
|
Initial value: { 6.634899, 4.605171, 3.780564, 3.318915, 3.017103, 2.801872, 2.639259, 2.511249, 2.407341, 2.320967, 2.247720, 2.184744, 2.129863, 2.081515, 2.038526, 1.999994, 1.965214, 1.933627, 1.904781, 1.878311, 1.853912, 1.831334, 1.810365, 1.790825, 1.772564, 1.755449, 1.739367, 1.724222, 1.709926, 1.696406, 1.683593, 1.671430, 1.659864, 1.648850, 1.638344, 1.628311, 1.618716, 1.609528, 1.600721, 1.592268, 1.584148, 1.576338, 1.568822, 1.561579, 1.554596, 1.547856, 1.541346, 1.535055, 1.528968, 1.523077 } Definition at line 135 of file EmcSectorRec.h. Referenced by SetChi2Limit(). |
|
Initial value: { 5.411895, 3.912024, 3.278443, 2.916812, 2.677547, 2.505458, 2.374582, 2.271008, 2.186567, 2.116065, 2.056169, 2.004491, 1.959343, 1.919481, 1.883964, 1.852072, 1.823237, 1.797008, 1.773021, 1.750981, 1.730640, 1.711795, 1.694274, 1.677931, 1.662643, 1.648301, 1.634814, 1.622101, 1.610093, 1.598727, 1.587948, 1.577709, 1.567968, 1.558684, 1.549824, 1.541357, 1.533256, 1.525494, 1.518051, 1.510903, 1.504033, 1.497424, 1.491059, 1.484924, 1.479006, 1.473292, 1.467771, 1.462433, 1.457267, 1.452265 } Definition at line 136 of file EmcSectorRec.h. Referenced by SetChi2Limit(). |
|
Definition at line 147 of file EmcSectorRec.h. Referenced by FindClusters(). |
|
Definition at line 145 of file EmcSectorRec.h. Referenced by GetPeakThreshold(), and SetPeakThreshold(). |
|
Definition at line 146 of file EmcSectorRec.h. Referenced by EmcGlSectorRec::Gamma(). |
|
Definition at line 144 of file EmcSectorRec.h. Referenced by GetTowerThreshold(), EmcScSectorRec::SetTowerThreshold(), and EmcGlSectorRec::SetTowerThreshold(). |
|
|
|
Definition at line 140 of file EmcSectorRec.h. Referenced by EmcSectorRec(), FindClusters(), GetModules(), and ~EmcSectorRec(). |
|
Definition at line 118 of file EmcSectorRec.h. Referenced by EmcGlSectorRec::ClusterChisq(), FindClusters(), GetNx(), Mom1(), Momenta(), SetGeometry(), and EmcScSectorRec::TwoGamma(). |
|
Definition at line 119 of file EmcSectorRec.h. Referenced by GetNy(), and SetGeometry(). |
|
Definition at line 122 of file EmcSectorRec.h. Referenced by GetImpactAngle(), GetVx(), EmcScSectorRec::SetProfileParameters(), EmcGlSectorRec::SetProfileParameters(), and SetVertex(). |
|
Definition at line 123 of file EmcSectorRec.h. Referenced by GetImpactAngle(), GetVy(), EmcScSectorRec::SetProfileParameters(), EmcGlSectorRec::SetProfileParameters(), and SetVertex(). |
|
Definition at line 124 of file EmcSectorRec.h. Referenced by GetImpactAngle(), GetVz(), EmcScSectorRec::SetProfileParameters(), EmcGlSectorRec::SetProfileParameters(), and SetVertex(). |
|
Definition at line 130 of file EmcSectorRec.h. Referenced by GlobalToSector(), and SetGeometry(). |
|
Definition at line 131 of file EmcSectorRec.h. Referenced by GlobalToSector(), and SetGeometry(). |