far_set_calibrator.h File Reference

Go to the source code of this file.

Functions

void far_set_calibrator (int task)

Function Documentation

void far_set_calibrator ( int  task  ) 

Definition at line 1 of file Elm/headers/far/far_set_calibrator.h.

References Calibrator::DriftCalibrator(), Plot::Format(), Calibrator::Instance(), CfgPromptConfigurable::Set(), and Calibrator::TimeCalibrator().

00002 {
00003   Calibrator& cal = Calibrator::Instance();
00004 
00005   cal.Set("TimeCalibrator", "PulserTimeCalScheme");
00006    //PeCalibrator changed April 23,2007
00007   cal.Set("PeCalibrator", "PEGainAggCalScheme");
00008 
00009   //cal.Set("PeCalibrator",   "PEGainCalScheme");
00010   cal.Set("VALinCalibrator","VaLinearityCalScheme");
00011   cal.Set("DriftCalibrator","MuonDriftCalScheme");
00012   cal.Set("LinCalibrator",  "PulserLinearityCalScheme");
00013   cal.Set("StripCalibrator","StripToStripCalScheme");
00014   cal.Set("AttenCalibrator","StripAttenCalScheme");
00015   cal.Set("MIPCalibrator",  "MIPCalScheme");
00016   cal.Set("Thermometer",    "TemperatureCalScheme");
00017 
00018   Calibrator::TimeCalibrator().Set("MuonTask=Dogwood");
00019   Calibrator::TimeCalibrator().Set("DoWalkCorrection=1");
00020   Calibrator::TimeCalibrator().Set("UseJumps=1");
00021 
00022   // dogwood = 1
00023   Calibrator::DriftCalibrator().Set(TString::Format("Task=%d", task));
00024 }


Generated on 15 Jul 2018 for loon by  doxygen 1.6.1