Definition at line 90 of file TSourceCalibration.h.
Public Member Functions | |
TSourceTab (TSourceCalibration *parent, TNucleus *nucleus, TH2 *matrix, TGCompositeFrame *frame, const double &sigma, const double &threshold, const int °ree, const std::vector< std::tuple< double, double, double, double > > &sourceEnergy, TGHProgressBar *progressBar) | |
~TSourceTab () | |
void | Calibrate (const int °ree, const bool &force=false) |
TGTab * | ChannelTab () |
void | CreateChannelTab (int bin) |
TGraphErrors * | Data (int channelId) |
void | Disconnect () |
TGraphErrors * | Efficiency (int channelId) |
void | FindPeaks (const double &sigma, const double &threshold, const bool &force=false, const bool &fast=true) |
void | MakeConnections () |
size_t | NumberOfChannels () |
void | VerboseLevel (int val) |
Private Attributes | |
std::vector< TChannelTab * > | fChannel |
TGTab * | fChannelTab {nullptr} |
int | fDegree {false} |
TGCompositeFrame * | fFrame {nullptr} |
TH2 * | fMatrix {nullptr} |
TNucleus * | fNucleus |
TSourceCalibration * | fParent |
TGHProgressBar * | fProgressBar {nullptr} |
std::vector< TH1 * > | fProjections |
double | fSigma {2.} |
std::vector< std::tuple< double, double, double, double > > | fSourceEnergy |
double | fThreshold {0.05} |
int | fVerboseLevel {0} |
#include <TSourceCalibration.h>
TSourceTab::TSourceTab | ( | TSourceCalibration * | parent, |
TNucleus * | nucleus, | ||
TH2 * | matrix, | ||
TGCompositeFrame * | frame, | ||
const double & | sigma, | ||
const double & | threshold, | ||
const int & | degree, | ||
const std::vector< std::tuple< double, double, double, double > > & | sourceEnergy, | ||
TGHProgressBar * | progressBar | ||
) |
Definition at line 546 of file TSourceCalibration.cxx.
References CreateChannelTab(), fChannel, fChannelTab, fFrame, fMatrix, and fVerboseLevel.
TSourceTab::~TSourceTab | ( | ) |
Definition at line 565 of file TSourceCalibration.cxx.
References fChannel, and fChannelTab.
|
inline |
Definition at line 100 of file TSourceCalibration.h.
References fChannel, and fChannelTab.
|
inline |
Definition at line 102 of file TSourceCalibration.h.
References fChannelTab.
void TSourceTab::CreateChannelTab | ( | int | bin | ) |
Definition at line 573 of file TSourceCalibration.cxx.
References fChannel, fChannelTab, fDegree, fMatrix, fNucleus, fProgressBar, fSigma, fSourceEnergy, fThreshold, and fVerboseLevel.
Referenced by TSourceTab().
|
inline |
Definition at line 103 of file TSourceCalibration.h.
References fChannel.
void TSourceTab::Disconnect | ( | ) |
Definition at line 600 of file TSourceCalibration.cxx.
References fChannel, fChannelTab, and fParent.
|
inline |
Definition at line 104 of file TSourceCalibration.h.
References fChannel.
|
inline |
Definition at line 101 of file TSourceCalibration.h.
References fChannel, fChannelTab, and fSourceEnergy.
void TSourceTab::MakeConnections | ( | ) |
Definition at line 592 of file TSourceCalibration.cxx.
References fChannel, fChannelTab, and fParent.
|
inline |
Definition at line 105 of file TSourceCalibration.h.
References fChannel.
|
inline |
Definition at line 107 of file TSourceCalibration.h.
References fChannel, and fVerboseLevel.
|
private |
tabs for all channels
Definition at line 113 of file TSourceCalibration.h.
Referenced by Calibrate(), CreateChannelTab(), Data(), Disconnect(), Efficiency(), FindPeaks(), MakeConnections(), NumberOfChannels(), TSourceTab(), VerboseLevel(), and ~TSourceTab().
|
private |
tab for channels
Definition at line 112 of file TSourceCalibration.h.
Referenced by Calibrate(), ChannelTab(), CreateChannelTab(), Disconnect(), FindPeaks(), MakeConnections(), TSourceTab(), and ~TSourceTab().
|
private |
degree of polynomial function used to calibrate
Definition at line 123 of file TSourceCalibration.h.
Referenced by CreateChannelTab().
|
private |
main frame of this tab
Definition at line 111 of file TSourceCalibration.h.
Referenced by TSourceTab().
|
private |
the matrix we're using
Definition at line 120 of file TSourceCalibration.h.
Referenced by CreateChannelTab(), and TSourceTab().
|
private |
the source nucleus
Definition at line 118 of file TSourceCalibration.h.
Referenced by CreateChannelTab().
|
private |
the parent of this tab
Definition at line 119 of file TSourceCalibration.h.
Referenced by Disconnect(), and MakeConnections().
|
private |
Definition at line 114 of file TSourceCalibration.h.
Referenced by CreateChannelTab().
|
private |
vector of all projections
Definition at line 117 of file TSourceCalibration.h.
|
private |
the sigma used in the peak finder
Definition at line 121 of file TSourceCalibration.h.
Referenced by CreateChannelTab().
|
private |
vector with source energies and uncertainties
Definition at line 124 of file TSourceCalibration.h.
Referenced by CreateChannelTab(), and FindPeaks().
|
private |
the threshold (relative to the largest peak) used in the peak finder
Definition at line 122 of file TSourceCalibration.h.
Referenced by CreateChannelTab().
|
private |
Changes verbosity from 0 (quiet) to 4 (very verbose)
Definition at line 125 of file TSourceCalibration.h.
Referenced by CreateChannelTab(), TSourceTab(), and VerboseLevel().