#include <PixelChargeInterpolationCalibration.h>
|
| PixelChargeInterpolationCalibration (const std::string &tag, PixelChargeInterpolationParameters ¶metersModel) |
|
virtual | ~PixelChargeInterpolationCalibration () |
|
void | Fill (int DetType, double GeVTrkPt, double alpha, double DeltaRow, double digresphi, double resphi, double OmegaPhi, double TrkEta, double DeltaCol, double digreseta, double reseta, double OmegaEta) |
|
void | Read (TDirectory *readdir=0) |
|
void | Write (TDirectory *writedir=0) |
|
int | Analyze (const std::string &output, std::vector< std::string > &reference_names) |
|
◆ PixelChargeInterpolationCalibration() [1/2]
◆ ~PixelChargeInterpolationCalibration()
PixelCalib::PixelChargeInterpolationCalibration::~PixelChargeInterpolationCalibration |
( |
| ) |
|
|
virtual |
◆ PixelChargeInterpolationCalibration() [2/2]
◆ Analyze()
int PixelCalib::PixelChargeInterpolationCalibration::Analyze |
( |
const std::string & |
output, |
|
|
std::vector< std::string > & |
reference_names |
|
) |
| |
Definition at line 104 of file PixelChargeInterpolationCalibration.cxx.
112 logfile <<
"Log file for the pixel calibration fits." << std::endl;
119 std::string
name =
"PixelChargeInterpolationData-" +
output;
120 size_t pos =
output.find(
"PixelOfflineReco");
121 if(
pos != std::string::npos){
122 name =
"PixelChargeInterpolationData"
123 +
output.substr(
pos+16,std::string::npos);
125 DigitalParameters->Print(
name);
127 AnalogParameters->Print(
name);
129 m_plots =
new PixelChargeInterpolationPlot(*DigitalParameters);
131 std::string(
"Fit on analog residual (should give 0)").c_str(),3,std::string(
"P"));
133 for(
unsigned int i = 0 ;
i < reference_names.size() ;
i++ ){
135 std::ifstream
fin((reference_names[
i]).c_str());
140 RefParameters->Load(reference_names[
i]);
144 delete RefParameters;
◆ Fill()
void PixelCalib::PixelChargeInterpolationCalibration::Fill |
( |
int |
DetType, |
|
|
double |
GeVTrkPt, |
|
|
double |
alpha, |
|
|
double |
DeltaRow, |
|
|
double |
digresphi, |
|
|
double |
resphi, |
|
|
double |
OmegaPhi, |
|
|
double |
TrkEta, |
|
|
double |
DeltaCol, |
|
|
double |
digreseta, |
|
|
double |
reseta, |
|
|
double |
OmegaEta |
|
) |
| |
Definition at line 77 of file PixelChargeInterpolationCalibration.cxx.
90 for(
int iLayer = 0; iLayer < totlayers; iLayer++){
93 TrkEta, DeltaCol, digreseta, OmegaEta,
94 alpha, DeltaRow, digresphi, OmegaPhi);
96 TrkEta, DeltaCol, reseta, OmegaEta,
97 alpha, DeltaRow, resphi, OmegaPhi);
◆ operator=()
◆ Read()
void PixelCalib::PixelChargeInterpolationCalibration::Read |
( |
TDirectory * |
readdir = 0 | ) |
|
◆ Write()
void PixelCalib::PixelChargeInterpolationCalibration::Write |
( |
TDirectory * |
writedir = 0 | ) |
|
◆ m_AnalogCalibration
◆ m_DigitalCalibration
◆ m_plots
The documentation for this class was generated from the following files:
int Fill(int DetType, double GeVTrkPt, double TrkEta, double DeltaCol, double reseta, double OmegaEta, double alpha, double DeltaRow, double resphi, double OmegaPhi)