![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
An angular correlation class
Definition at line 18 of file TAngularCorrelation.h.
Public Member Functions | |
TAngularCorrelation () | |
TAngularCorrelation (const TAngularCorrelation &)=default | |
TAngularCorrelation (TAngularCorrelation &&) noexcept=default | |
~TAngularCorrelation () override | |
Int_t | AssignGroupMaps (std::vector< Int_t > &group, std::vector< Double_t > &groupangles) |
Bool_t | CheckGroupAngles (std::vector< Double_t > &groupangles) const |
Bool_t | CheckGroups (std::vector< Int_t > &group) const |
Bool_t | CheckMaps (Bool_t fold, Bool_t group) |
Bool_t | CheckModifiedHistogram (TH1 *hst) const |
void | ClearModifiedMaps () |
TH2D * | Create2DSlice (THnSparse *hst, Double_t min, Double_t max, Bool_t fold, Bool_t group) |
TH2D * | Create2DSlice (TObjArray *hstarray, Double_t min, Double_t max, Bool_t fold, Bool_t group) |
TGraphAsymmErrors * | CreateGraphFromHst () |
TGraphAsymmErrors * | CreateGraphFromHst (TH1 *hst, Bool_t fold, Bool_t group) |
void | DisplayDiagnostics (TCanvas *c_diag) |
TH1D * | DivideByWeights (TH1 *hst, Bool_t fold, Bool_t group) |
TH1D * | FitSlices (TH2 *hst, TPeak *peak, Bool_t visualization) |
Int_t | GenerateGroupMaps (std::vector< Int_t > &arraynumbers, std::vector< Int_t > &distances, std::vector< Int_t > &group, std::vector< Double_t > &groupangles) |
Int_t | GenerateMaps (Int_t detectors, Int_t distance) |
Int_t | GenerateMaps (std::vector< Int_t > &arraynumbers, std::vector< Int_t > &distances) |
std::vector< Double_t > | GenerateModifiedAngles (Bool_t fold, Bool_t group) |
std::vector< Int_t > | GenerateModifiedIndices (Bool_t fold, Bool_t group) |
Int_t | GenerateModifiedMaps (Bool_t fold, Bool_t group) |
std::vector< Int_t > | GenerateModifiedWeights (std::vector< Int_t > &modindices, std::vector< Int_t > &weights) |
TH1D * | Get1DSlice (Int_t index) |
Double_t | GetAngleFromIndex (Int_t index) |
Int_t | GetAngularIndex (Int_t arraynum1, Int_t arraynum2) |
TH1D * | GetCentroidHst () |
TH1D * | GetChi2Hst () |
TH1D * | GetFWHMHst () |
Double_t | GetGroupAngleFromIndex (Int_t gindex) |
Int_t | GetGroupFromIndex (Int_t index) |
TH1D * | GetIndexCorrelation () |
Double_t | GetModifiedAngleFromIndex (Int_t modindex) |
Int_t | GetModifiedIndex (Int_t index) |
Int_t | GetModifiedWeight (Int_t modindex) |
Int_t | GetNumGroups () const |
Int_t | GetNumModIndices () const |
TPeak * | GetPeak (Int_t index) |
Double_t | GetWeightFromIndex (Int_t index) |
Int_t | GetWeightsSize () const |
TH1D * | IntegralSlices (TH2 *hst, Double_t min, Double_t max) |
TH2D * | Modify2DSlice (TH2 *hst, Bool_t fold, Bool_t group) |
TAngularCorrelation & | operator= (const TAngularCorrelation &)=default |
TAngularCorrelation & | operator= (TAngularCorrelation &&) noexcept=default |
void | PrintAngleMap () |
void | PrintGroupAngleMap () |
void | PrintGroupIndexMap () |
void | PrintIndexMap () |
void | PrintModifiedAngleMap () |
void | PrintModifiedConditions () const |
void | PrintModifiedIndexMap () |
void | PrintModifiedWeights () |
void | PrintWeights () |
void | ScaleSingleIndex (TH1 *hst, Int_t index, Double_t factor) |
void | Set1DSlice (Int_t index, TH1D *slice) |
void | SetIndexCorrelation (TH1D *hst) |
void | SetPeak (Int_t index, TPeak *peak) |
void | UpdateDiagnostics () |
void | UpdateIndexCorrelation () |
void | UpdatePeak (Int_t index, TPeak *peak) |
Static Public Member Functions | |
static std::vector< Double_t > | GenerateAngleMap (std::vector< Int_t > &arraynumbers, std::vector< Int_t > &distances) |
static std::vector< Double_t > | GenerateFoldedAngles (std::vector< Double_t > &anglemap) |
static std::vector< Int_t > | GenerateFoldedIndices (std::vector< Double_t > &folds, std::vector< Double_t > &anglemap) |
static std::map< Int_t, std::map< Int_t, Int_t > > | GenerateIndexMap (std::vector< Int_t > &arraynumbers, std::vector< Int_t > &distances, std::vector< Double_t > &anglemap) |
static std::vector< Int_t > | GenerateWeights (std::vector< Int_t > &arraynumbers, std::vector< Int_t > &distances, std::map< Int_t, std::map< Int_t, Int_t > > &indexmap) |
Private Attributes | |
std::map< Int_t, TH1D * > | f1DSlices |
std::vector< Double_t > | fAngleMap |
TH1D * | fCentroid {nullptr} |
TH1D * | fChi2 {nullptr} |
Bool_t | fFolded |
TH1D * | fFWHM {nullptr} |
std::vector< Double_t > | fGroupAngles |
Bool_t | fGrouped |
std::vector< Int_t > | fGroups |
TH1D * | fIndexCorrelation |
std::map< Int_t, std::map< Int_t, Int_t > > | fIndexMap |
Int_t | fIndexMapSize |
std::vector< Double_t > | fModifiedAngles |
std::vector< Int_t > | fModifiedIndices |
std::vector< Int_t > | fModifiedWeights |
Int_t | fNumIndices {0} |
std::map< Int_t, TPeak * > | fPeaks |
std::vector< Int_t > | fWeights |
TAngularCorrelation::TAngularCorrelation | ( | ) |
Angular correlation default constructor
Definition at line 16 of file TAngularCorrelation.cxx.
|
default |
|
defaultnoexcept |
|
override |
Angular correlation default destructor
Definition at line 24 of file TAngularCorrelation.cxx.
References fIndexCorrelation.
Int_t TAngularCorrelation::AssignGroupMaps | ( | std::vector< Int_t > & | group, |
std::vector< Double_t > & | groupangles ) |
Assigns maps for Grouped Angular Indexes Including group angle versus group index and angular index versus group index
[in] | group | Vector (user input) |
[in] | groupangles | Vector (user input) |
Definition at line 1410 of file TAngularCorrelation.cxx.
References CheckGroupAngles(), CheckGroups(), fGroupAngles, fGroups, and GetNumGroups().
Referenced by GenerateGroupMaps().
Bool_t TAngularCorrelation::CheckGroupAngles | ( | std::vector< Double_t > & | groupangles | ) | const |
Check angles for groups
[in] | groupangles | vector (user input) |
This function is called by GenerateGroupMaps()
Definition at line 1191 of file TAngularCorrelation.cxx.
References GetNumGroups().
Referenced by AssignGroupMaps().
Bool_t TAngularCorrelation::CheckGroups | ( | std::vector< Int_t > & | group | ) | const |
Check Groups for Angular Indexes
[in] | group | vector of assigned groups for angular indexes (this is user input) |
This function is called by GenerateGroupMaps()
Definition at line 1136 of file TAngularCorrelation.cxx.
References fNumIndices.
Referenced by AssignGroupMaps().
Bool_t TAngularCorrelation::CheckMaps | ( | Bool_t | fold, |
Bool_t | group ) |
Checks that maps are consistent with each other need to input whether the angles are folded, grouped, or folded and grouped
Definition at line 693 of file TAngularCorrelation.cxx.
References fAngleMap, fModifiedAngles, fModifiedWeights, and fWeights.
Bool_t TAngularCorrelation::CheckModifiedHistogram | ( | TH1 * | hst | ) | const |
Compares 1D histogram to current AC modified settings
[in] | hst | histogram |
Definition at line 1753 of file TAngularCorrelation.cxx.
References GetNumModIndices(), and PrintModifiedConditions().
Referenced by CreateGraphFromHst(), and DivideByWeights().
void TAngularCorrelation::ClearModifiedMaps | ( | ) |
Clears the modified arrays
Definition at line 1544 of file TAngularCorrelation.cxx.
References fModifiedAngles, fModifiedIndices, and fModifiedWeights.
Referenced by GenerateModifiedAngles().
TH2D * TAngularCorrelation::Create2DSlice | ( | THnSparse * | hst, |
Double_t | min, | ||
Double_t | max, | ||
Bool_t | fold = kFALSE, | ||
Bool_t | group = kFALSE ) |
Create energy-gated 2D histogram of energy vs. angular index
[in] | hst | Three-dimensional histogram of angular index vs. energy vs. energy |
[in] | min | Minimum of energy gate |
[in] | max | Maximum of energy gate |
[in] | fold | Switch for turning folding on |
[in] | group | Switch for turning grouping on (not yet implemented) |
Projects out the events with one energy between min and max X-axis of returned histogram is second energy Y-axis of returned histogram is angular index (or the group number if group = kTRUE)
Definition at line 42 of file TAngularCorrelation.cxx.
References Modify2DSlice().
TH2D * TAngularCorrelation::Create2DSlice | ( | TObjArray * | hstarray, |
Double_t | min, | ||
Double_t | max, | ||
Bool_t | fold = kFALSE, | ||
Bool_t | group = kFALSE ) |
Create energy-gated 2D histogram of energy vs. angular index
[in] | hstarray | TObjArray of TH2 energy vs. energy plots for each angular index |
[in] | min | Minimum of energy gate |
[in] | max | Maximum of energy gate |
[in] | fold | Switch for turning folding on |
[in] | group | Switch for turning grouping on (not yet implemented) |
Assumes that the index of the TObjArray is the angular index
Projects out the events with one energy between min and max X-axis of returned histogram is second energy Y-axis of returned histogram is angular index
Definition at line 101 of file TAngularCorrelation.cxx.
References Modify2DSlice().
|
inline |
Definition at line 118 of file TAngularCorrelation.h.
References CreateGraphFromHst(), and fIndexCorrelation.
Referenced by CreateGraphFromHst().
TGraphAsymmErrors * TAngularCorrelation::CreateGraphFromHst | ( | TH1 * | hst, |
Bool_t | fold, | ||
Bool_t | group ) |
Creates graph of counts vs. cos(theta) from histogram of counts vs. angular index
[in] | hst | One-dimensional histogram of angular index vs. counts |
[in] | fold | boolean to select whether angles are folded at 90 degree |
[in] | group | boolean to select whether angles are grouped |
Definition at line 597 of file TAngularCorrelation.cxx.
References CheckModifiedHistogram(), fAngleMap, fFolded, fGrouped, fModifiedAngles, and GenerateModifiedMaps().
void TAngularCorrelation::DisplayDiagnostics | ( | TCanvas * | c_diag | ) |
Definition at line 1863 of file TAngularCorrelation.cxx.
References GetCentroidHst(), GetChi2Hst(), GetFWHMHst(), and GetIndexCorrelation().
Referenced by FitSlices().
TH1D * TAngularCorrelation::DivideByWeights | ( | TH1 * | hst, |
Bool_t | fold, | ||
Bool_t | group ) |
Divides histogram by weights listed in weight array
[in] | hst | histogram |
[in] | fold | boolean indicating whether or not to fold the indices |
[in] | group | boolean indicating whether or not to group the indices |
Definition at line 1795 of file TAngularCorrelation.cxx.
References CheckModifiedHistogram(), fFolded, fGrouped, fModifiedWeights, GenerateModifiedMaps(), GetModifiedWeight(), GetWeightFromIndex(), and GetWeightsSize().
TH1D * TAngularCorrelation::FitSlices | ( | TH2 * | hst, |
TPeak * | peak, | ||
Bool_t | visualization = kTRUE ) |
Create 1D histogram of counts vs. angular index
[in] | hst | Two-dimensional histogram of angular index vs. energy |
[in] | peak | TPeak template used to fit one dimensional histograms |
[in] | visualization | Boolean to select whether to draw on a canvas |
For each bin (angular index), fits one-dimensional projection with given TPeak and returns a TH1D with x-axis of angular index and a y-axis of TPeak area for that angular index.
Definition at line 371 of file TAngularCorrelation.cxx.
References TPeak::Background(), DisplayDiagnostics(), fCentroid, fChi2, fFWHM, fIndexCorrelation, TPeak::Fit(), Get1DSlice(), TPeak::GetArea(), TPeak::GetAreaErr(), TPeak::GetCentroid(), GetPeak(), TPeak::InitParams(), Set1DSlice(), TPeak::SetLogLikelihoodFlag(), SetPeak(), and UpdateDiagnostics().
|
static |
Creates map of angular index vs. opening angle.
[in] | arraynumbers | Vector of array numbers used in this experiment |
[in] | distances | Vector of detector distances for those array numbers |
Definition at line 926 of file TAngularCorrelation.cxx.
References TGriffin::GetPosition().
Referenced by GenerateGroupMaps(), and GenerateMaps().
|
static |
Generate Folded Angles gives angles out for each folded index in radians
[in] | anglemap | (can be for grouped or ungrouped anglular indexes) |
This function is called by GenerateMaps() and GenerateGroupMaps()
Definition at line 1217 of file TAngularCorrelation.cxx.
Referenced by GenerateModifiedAngles().
|
static |
Generated Folded Indexes
[in] | folds | vector of the folded angles |
[in] | anglemap | vector of the unfolded angles |
This function is called by GenerateMaps() and by GenerateGroupMaps()
Definition at line 1270 of file TAngularCorrelation.cxx.
Referenced by GenerateModifiedIndices().
Int_t TAngularCorrelation::GenerateGroupMaps | ( | std::vector< Int_t > & | arraynumbers, |
std::vector< Int_t > & | distances, | ||
std::vector< Int_t > & | group, | ||
std::vector< Double_t > & | groupangles ) |
Creates maps for Grouped Angular Indexes Including group angle versus group index and angular index versus group index
[in] | arraynumbers | Vector of array numbers used in this experiment |
[in] | distances | Vector of detector distances for those array numbers |
[in] | group | Vector (user input) |
[in] | groupangles | Vector (user input) |
Definition at line 1367 of file TAngularCorrelation.cxx.
References AssignGroupMaps(), fAngleMap, fIndexMap, fIndexMapSize, fNumIndices, fWeights, GenerateAngleMap(), GenerateIndexMap(), and GenerateWeights().
|
static |
Creates map of angle pair vs. angular index
[in] | arraynumbers | Vector of array numbers used in this experiment |
[in] | distances | Vector of detector distances for those array numbers |
[in] | anglemap | Angle map (probably created with GenerateAngleMap |
This function is called by GenerateMaps()
Definition at line 1076 of file TAngularCorrelation.cxx.
References TGriffin::GetPosition().
Referenced by GenerateGroupMaps(), and GenerateMaps().
Int_t TAngularCorrelation::GenerateMaps | ( | Int_t | detectors, |
Int_t | distance ) |
Creates maps for typical GRIFFIN configurations
[in] | detectors | number of detectors |
[in] | distance | distance of detectors (in mm) |
16 detectors: full array 15 detectors: full array less detector 13 12 detectors: upstream lampshade and corona, detectors 5-16 11 detectors: upstream lampshade and corona, less detector 13 8 detectors: corona only For more detailed configurations, please use GenerateMaps(std::vector<Int_t> &arraynumbers, std::vector<Int_t> &distances)
Definition at line 1437 of file TAngularCorrelation.cxx.
References GenerateMaps().
Int_t TAngularCorrelation::GenerateMaps | ( | std::vector< Int_t > & | arraynumbers, |
std::vector< Int_t > & | distances ) |
Creates maps of angle pair vs. angular index and angular index vs. opening angle.
[in] | arraynumbers | Vector of array numbers used in this experiment |
[in] | distances | Vector of detector distances for those array numbers |
Definition at line 1304 of file TAngularCorrelation.cxx.
References fAngleMap, fIndexMap, fIndexMapSize, fNumIndices, fWeights, GenerateAngleMap(), GenerateIndexMap(), and GenerateWeights().
Referenced by GenerateMaps().
std::vector< Double_t > TAngularCorrelation::GenerateModifiedAngles | ( | Bool_t | fold, |
Bool_t | group ) |
Generates modified angles
[in] | fold | boolean indicating whether or not to fold the indices |
[in] | group | boolean indicating whether or not to group the indices |
Definition at line 1557 of file TAngularCorrelation.cxx.
References ClearModifiedMaps(), fAngleMap, fFolded, fGroupAngles, fGrouped, fGroups, fNumIndices, GenerateFoldedAngles(), and GetNumGroups().
Referenced by GenerateModifiedMaps().
std::vector< Int_t > TAngularCorrelation::GenerateModifiedIndices | ( | Bool_t | fold, |
Bool_t | group ) |
Generates modified indices
[in] | fold | boolean indicating whether or not to fold the indices |
[in] | group | boolean indicating whether or not to group the indices |
Definition at line 1494 of file TAngularCorrelation.cxx.
References fAngleMap, fFolded, fGroupAngles, fGrouped, fGroups, fModifiedAngles, fNumIndices, and GenerateFoldedIndices().
Referenced by GenerateModifiedMaps().
Int_t TAngularCorrelation::GenerateModifiedMaps | ( | Bool_t | fold, |
Bool_t | group ) |
Creates maps for modified indices with some combination of folding or grouping
[in] | fold | |
[in] | group |
Definition at line 1340 of file TAngularCorrelation.cxx.
References fGroups, fModifiedAngles, fModifiedIndices, fModifiedWeights, fNumIndices, fWeights, GenerateModifiedAngles(), GenerateModifiedIndices(), and GenerateModifiedWeights().
Referenced by CreateGraphFromHst(), DivideByWeights(), and Modify2DSlice().
std::vector< Int_t > TAngularCorrelation::GenerateModifiedWeights | ( | std::vector< Int_t > & | modindices, |
std::vector< Int_t > & | weights ) |
Creates map of modified weights vs. modified index
[in] | modindices | vector that converts angular index to modified index |
[in] | weights | vector of weights for angular index |
This function is called by GenerateMaps() and GenerateGroupMaps()
Definition at line 1037 of file TAngularCorrelation.cxx.
Referenced by GenerateModifiedMaps().
|
static |
Creates map of weights vs. angular index
[in] | arraynumbers | Vector of array numbers used in this experiment |
[in] | distances | Vector of detector distances for those array numbers |
[in] | indexmap | Index map (probably created with GenerateIndexMap) |
The indices for the index map start from zero, so when using array numbers (which start from one) as input for those indices, you need to subtract one.
This function is called by GenerateMaps()
Definition at line 987 of file TAngularCorrelation.cxx.
Referenced by GenerateGroupMaps(), and GenerateMaps().
|
inline |
Definition at line 64 of file TAngularCorrelation.h.
References f1DSlices.
Referenced by FitSlices(), and UpdatePeak().
|
inline |
Definition at line 69 of file TAngularCorrelation.h.
References fAngleMap.
Referenced by PrintAngleMap(), and PrintWeights().
Int_t TAngularCorrelation::GetAngularIndex | ( | Int_t | arraynum1, |
Int_t | arraynum2 ) |
Get angular index from two array numbers
[in] | arraynum1 | first array number |
[in] | arraynum2 | second array number |
Definition at line 670 of file TAngularCorrelation.cxx.
References fIndexMap.
Referenced by PrintIndexMap().
|
inline |
Definition at line 61 of file TAngularCorrelation.h.
References fCentroid.
Referenced by DisplayDiagnostics(), and UpdateDiagnostics().
|
inline |
Definition at line 60 of file TAngularCorrelation.h.
References fChi2.
Referenced by DisplayDiagnostics(), and UpdateDiagnostics().
|
inline |
Definition at line 62 of file TAngularCorrelation.h.
References fFWHM.
Referenced by DisplayDiagnostics(), and UpdateDiagnostics().
|
inline |
Definition at line 82 of file TAngularCorrelation.h.
References fGroupAngles.
Referenced by PrintGroupAngleMap().
|
inline |
Definition at line 78 of file TAngularCorrelation.h.
References fGroups.
Referenced by PrintGroupIndexMap().
|
inline |
Definition at line 57 of file TAngularCorrelation.h.
References fIndexCorrelation.
Referenced by DisplayDiagnostics(), UpdateDiagnostics(), and UpdateIndexCorrelation().
|
inline |
Definition at line 94 of file TAngularCorrelation.h.
References fModifiedAngles.
Referenced by PrintModifiedAngleMap(), and PrintModifiedWeights().
|
inline |
Definition at line 86 of file TAngularCorrelation.h.
References fModifiedIndices.
Referenced by Modify2DSlice(), and PrintModifiedIndexMap().
|
inline |
Definition at line 90 of file TAngularCorrelation.h.
References fModifiedWeights.
Referenced by DivideByWeights(), and PrintModifiedWeights().
Int_t TAngularCorrelation::GetNumGroups | ( | ) | const |
Returns the number of groups
Definition at line 1157 of file TAngularCorrelation.cxx.
References fGroups.
Referenced by AssignGroupMaps(), CheckGroupAngles(), GenerateModifiedAngles(), and PrintGroupAngleMap().
Int_t TAngularCorrelation::GetNumModIndices | ( | ) | const |
Returns the number of groups
Definition at line 1172 of file TAngularCorrelation.cxx.
References fModifiedIndices.
Referenced by CheckModifiedHistogram(), and Modify2DSlice().
TPeak * TAngularCorrelation::GetPeak | ( | Int_t | index | ) |
Returns peak, if it exists
[in] | index | angular index |
Definition at line 1739 of file TAngularCorrelation.cxx.
References fPeaks.
Referenced by FitSlices(), UpdateDiagnostics(), and UpdateIndexCorrelation().
|
inline |
Definition at line 74 of file TAngularCorrelation.h.
References fWeights.
Referenced by DivideByWeights(), and PrintWeights().
|
inline |
Definition at line 100 of file TAngularCorrelation.h.
References fWeights.
Referenced by DivideByWeights().
TH1D * TAngularCorrelation::IntegralSlices | ( | TH2 * | hst, |
Double_t | min, | ||
Double_t | max ) |
Create 1D histogram of counts vs. angular index
[in] | hst | Two-dimensional histogram of angular index vs. energy |
[in] | min | Minimum of energy gate |
[in] | max | Maximum of energy gate |
For each bin (angular index), projects out the total number of events within some energy range (given by min and max).
Definition at line 346 of file TAngularCorrelation.cxx.
References fIndexCorrelation.
TH2D * TAngularCorrelation::Modify2DSlice | ( | TH2 * | hst, |
Bool_t | fold, | ||
Bool_t | group ) |
Definition at line 227 of file TAngularCorrelation.cxx.
References fAngleMap, fFolded, fGrouped, fGroups, GenerateModifiedMaps(), GetModifiedIndex(), and GetNumModIndices().
Referenced by Create2DSlice(), and Create2DSlice().
|
default |
|
defaultnoexcept |
void TAngularCorrelation::PrintAngleMap | ( | ) |
Prints map of angular index vs. opening angle
Definition at line 828 of file TAngularCorrelation.cxx.
References fAngleMap, and GetAngleFromIndex().
void TAngularCorrelation::PrintGroupAngleMap | ( | ) |
Prints map of group vs. group weight vs. average group angle
Definition at line 801 of file TAngularCorrelation.cxx.
References fGroupAngles, GetGroupAngleFromIndex(), and GetNumGroups().
void TAngularCorrelation::PrintGroupIndexMap | ( | ) |
Prints map of angular index vs. opening angle vs. group
Definition at line 773 of file TAngularCorrelation.cxx.
References fAngleMap, fGroups, and GetGroupFromIndex().
void TAngularCorrelation::PrintIndexMap | ( | ) |
Prints map used to construct angular indices
Definition at line 718 of file TAngularCorrelation.cxx.
References fIndexMapSize, and GetAngularIndex().
void TAngularCorrelation::PrintModifiedAngleMap | ( | ) |
Prints map of Folded index vs. opening angle
Definition at line 850 of file TAngularCorrelation.cxx.
References fModifiedAngles, and GetModifiedAngleFromIndex().
void TAngularCorrelation::PrintModifiedConditions | ( | ) | const |
Prints current folding and grouping settings
Definition at line 1772 of file TAngularCorrelation.cxx.
References fFolded, and fGrouped.
Referenced by CheckModifiedHistogram().
void TAngularCorrelation::PrintModifiedIndexMap | ( | ) |
Prints map of angular index vs. Folded Index.
Definition at line 901 of file TAngularCorrelation.cxx.
References fModifiedIndices, and GetModifiedIndex().
void TAngularCorrelation::PrintModifiedWeights | ( | ) |
Prints map of Folded index vs. opening angle
Definition at line 873 of file TAngularCorrelation.cxx.
References fModifiedAngles, fModifiedWeights, GetModifiedAngleFromIndex(), and GetModifiedWeight().
void TAngularCorrelation::PrintWeights | ( | ) |
Prints map of angular index vs. opening angle vs. weight
Definition at line 745 of file TAngularCorrelation.cxx.
References fAngleMap, fWeights, GetAngleFromIndex(), and GetWeightFromIndex().
void TAngularCorrelation::ScaleSingleIndex | ( | TH1 * | hst, |
Int_t | index, | ||
Double_t | factor ) |
Updates index correlation based on peak array
Definition at line 1648 of file TAngularCorrelation.cxx.
|
inline |
Definition at line 108 of file TAngularCorrelation.h.
References f1DSlices.
Referenced by FitSlices().
|
inline |
Definition at line 103 of file TAngularCorrelation.h.
References fIndexCorrelation.
|
inline |
Definition at line 107 of file TAngularCorrelation.h.
References fPeaks.
Referenced by FitSlices(), and UpdatePeak().
void TAngularCorrelation::UpdateDiagnostics | ( | ) |
Updates diagnostics based on peak array
Definition at line 1668 of file TAngularCorrelation.cxx.
References fPeaks, TPeak::GetCentroid(), GetCentroidHst(), GetChi2Hst(), GetFWHMHst(), GetIndexCorrelation(), and GetPeak().
Referenced by FitSlices(), and UpdatePeak().
void TAngularCorrelation::UpdateIndexCorrelation | ( | ) |
Updates index correlation based on peak array
Definition at line 1615 of file TAngularCorrelation.cxx.
References fPeaks, TPeak::GetArea(), GetIndexCorrelation(), and GetPeak().
Referenced by UpdatePeak().
void TAngularCorrelation::UpdatePeak | ( | Int_t | index, |
TPeak * | peak ) |
Fits slice with new peak and updates the index correlation
[in] | index | angular index |
[in] | peak | Tpeak to be used for fitting |
Definition at line 1702 of file TAngularCorrelation.cxx.
References TPeak::Fit(), Get1DSlice(), SetPeak(), UpdateDiagnostics(), and UpdateIndexCorrelation().
|
private |
array of TPeaks used to create fIndexCorrelations
Definition at line 27 of file TAngularCorrelation.h.
Referenced by Get1DSlice(), and Set1DSlice().
|
private |
size of fIndexMap
Definition at line 34 of file TAngularCorrelation.h.
Referenced by CheckMaps(), CreateGraphFromHst(), GenerateGroupMaps(), GenerateMaps(), GenerateModifiedAngles(), GenerateModifiedIndices(), GetAngleFromIndex(), Modify2DSlice(), PrintAngleMap(), PrintGroupIndexMap(), and PrintWeights().
|
private |
1D plot of chi^2 vs. angular index
Definition at line 24 of file TAngularCorrelation.h.
Referenced by FitSlices(), and GetCentroidHst().
|
private |
1D plot of counts vs. angular index
Definition at line 23 of file TAngularCorrelation.h.
Referenced by FitSlices(), and GetChi2Hst().
|
private |
array correlating group assignment with their average angles
Definition at line 40 of file TAngularCorrelation.h.
Referenced by CreateGraphFromHst(), DivideByWeights(), GenerateModifiedAngles(), GenerateModifiedIndices(), Modify2DSlice(), and PrintModifiedConditions().
|
private |
1D plot of centroid vs. angular index
Definition at line 25 of file TAngularCorrelation.h.
Referenced by FitSlices(), and GetFWHMHst().
|
private |
array correlating angular index with group assignment
Definition at line 39 of file TAngularCorrelation.h.
Referenced by AssignGroupMaps(), GenerateModifiedAngles(), GenerateModifiedIndices(), GetGroupAngleFromIndex(), and PrintGroupAngleMap().
|
private |
switch to indicate a folded correlation
Definition at line 41 of file TAngularCorrelation.h.
Referenced by CreateGraphFromHst(), DivideByWeights(), GenerateModifiedAngles(), GenerateModifiedIndices(), Modify2DSlice(), and PrintModifiedConditions().
|
private |
array correlating angular index with weight (number of detector pairs at that index)
Definition at line 38 of file TAngularCorrelation.h.
Referenced by AssignGroupMaps(), GenerateModifiedAngles(), GenerateModifiedIndices(), GenerateModifiedMaps(), GetGroupFromIndex(), GetNumGroups(), Modify2DSlice(), and PrintGroupIndexMap().
|
private |
Definition at line 20 of file TAngularCorrelation.h.
Referenced by ~TAngularCorrelation(), CreateGraphFromHst(), FitSlices(), GetIndexCorrelation(), IntegralSlices(), and SetIndexCorrelation().
|
private |
array of 1D histograms used to create fIndexCorrelations
Definition at line 31 of file TAngularCorrelation.h.
Referenced by GenerateGroupMaps(), GenerateMaps(), and GetAngularIndex().
|
private |
number of angular indices
Definition at line 33 of file TAngularCorrelation.h.
Referenced by GenerateGroupMaps(), GenerateMaps(), and PrintIndexMap().
|
private |
Definition at line 46 of file TAngularCorrelation.h.
Referenced by CheckMaps(), ClearModifiedMaps(), CreateGraphFromHst(), GenerateModifiedIndices(), GenerateModifiedMaps(), GetModifiedAngleFromIndex(), PrintModifiedAngleMap(), and PrintModifiedWeights().
|
private |
switch to indicate a grouped correlation
Definition at line 44 of file TAngularCorrelation.h.
Referenced by ClearModifiedMaps(), GenerateModifiedMaps(), GetModifiedIndex(), GetNumModIndices(), and PrintModifiedIndexMap().
|
private |
Definition at line 45 of file TAngularCorrelation.h.
Referenced by CheckMaps(), ClearModifiedMaps(), DivideByWeights(), GenerateModifiedMaps(), GetModifiedWeight(), and PrintModifiedWeights().
|
private |
2D square array correlating array number pairs with angular index
Definition at line 32 of file TAngularCorrelation.h.
Referenced by CheckGroups(), GenerateGroupMaps(), GenerateMaps(), GenerateModifiedAngles(), GenerateModifiedIndices(), and GenerateModifiedMaps().
|
private |
1D plot of FWHM vs. angular index
Definition at line 26 of file TAngularCorrelation.h.
Referenced by GetPeak(), SetPeak(), UpdateDiagnostics(), and UpdateIndexCorrelation().
|
private |
array correlating angular index with opening angle
Definition at line 35 of file TAngularCorrelation.h.
Referenced by CheckMaps(), GenerateGroupMaps(), GenerateMaps(), GenerateModifiedMaps(), GetWeightFromIndex(), GetWeightsSize(), and PrintWeights().