|
BOSS 7.1.3
BESIII Offline Software System
|
#include <ElectronCorrection.h>
Public Member Functions | |
| ElectronCorrection () | |
| ElectronCorrection (TString constfilename, TString infilename, double removeLowest, double removeHighest) | |
| virtual | ~ElectronCorrection () |
| void | initializeParameters () |
| void | process (TFile *outfile) |
| double | RunGainCorrection (double &dedx) const |
| double | WireGainCorrection (int wireID, double &dedx) const |
| double | StandardCorrection (int wireID, double costheta, double dedx) const |
| double | HadronCorrection (double costheta, double dedx) const |
| void | calculateMeans (double &mean, double &truncatedMean, double &truncatedMeanErr, double dedx[], int size) const |
| void | calculateMeans (double &mean, double &truncatedMean, double &truncatedMeanErr, std::vector< double > dedx, int size) const |
Definition at line 19 of file ElectronCorrection.h.
| ElectronCorrection::ElectronCorrection | ( | ) |
Definition at line 3 of file ElectronWidget/ElectronCorrection.cc.
| ElectronCorrection::ElectronCorrection | ( | TString | constfilename, |
| TString | infilename, | ||
| double | removeLowest, | ||
| double | removeHighest ) |
Definition at line 13 of file ElectronWidget/ElectronCorrection.cc.
|
inlinevirtual |
Definition at line 25 of file ElectronCorrection.h.
| void ElectronCorrection::calculateMeans | ( | double & | mean, |
| double & | truncatedMean, | ||
| double & | truncatedMeanErr, | ||
| double | dedx[], | ||
| int | size ) const |
Perform the truncation
Definition at line 168 of file ElectronWidget/ElectronCorrection.cc.
Referenced by process(), and ElectronCalibration::TwoDCorrection().
| void ElectronCorrection::calculateMeans | ( | double & | mean, |
| double & | truncatedMean, | ||
| double & | truncatedMeanErr, | ||
| std::vector< double > | dedx, | ||
| int | size ) const |
Definition at line 216 of file ElectronWidget/ElectronCorrection.cc.
| double ElectronCorrection::HadronCorrection | ( | double | costheta, |
| double | dedx ) const |
Perform a hadron saturation correction. (Set the peak of the truncated mean for electrons to 1)
Definition at line 145 of file ElectronWidget/ElectronCorrection.cc.
| void ElectronCorrection::initializeParameters | ( | ) |
Retrieve the calibration constants (placeholder for now)
Definition at line 96 of file ElectronWidget/ElectronCorrection.cc.
Referenced by ElectronCorrection(), and ElectronCorrection().
| void ElectronCorrection::process | ( | TFile * | outfile | ) |
Apply corrections to events in infile and write to outfile
Definition at line 23 of file ElectronWidget/ElectronCorrection.cc.
| double ElectronCorrection::RunGainCorrection | ( | double & | dedx | ) | const |
Perform a run gain correction
Definition at line 124 of file ElectronWidget/ElectronCorrection.cc.
Referenced by StandardCorrection().
| double ElectronCorrection::StandardCorrection | ( | int | wireID, |
| double | costheta, | ||
| double | dedx ) const |
Perform a standard set of corrections
Definition at line 153 of file ElectronWidget/ElectronCorrection.cc.
Referenced by process().
| double ElectronCorrection::WireGainCorrection | ( | int | wireID, |
| double & | dedx ) const |
Perform a wire gain correction
Definition at line 134 of file ElectronWidget/ElectronCorrection.cc.
Referenced by StandardCorrection().