atmo_set_calibrator.h File Reference

Go to the source code of this file.

Functions

void atmo_set_calibrator (int task)

Function Documentation

void atmo_set_calibrator ( int  task  ) 

Definition at line 1 of file Dogwood/headers/atmo/atmo_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   //cal.Set("PeCalibrator", "PEGainCalScheme");
00009   cal.Set("VALinCalibrator", "VaLinearityCalScheme");
00010   cal.Set("DriftCalibrator", "MuonDriftCalScheme");
00011   cal.Set("LinCalibrator", "PulserLinearityCalScheme");
00012   cal.Set("StripCalibrator", "StripToStripCalScheme");
00013   cal.Set("AttenCalibrator", "StripAttenCalScheme");
00014   cal.Set("MIPCalibrator", "MIPCalScheme");
00015   cal.Set("Thermometer", "TemperatureCalScheme");
00016 
00017 
00018   CalScheme& timecal = Calibrator::TimeCalibrator();
00019 
00020   timecal.Set("MuonTask=Dogwood");
00021   timecal.Set("DoWalkCorrection=1");
00022   timecal.Set("UseJumps=1");
00023 
00024   // dogwood = 1
00025   Calibrator::DriftCalibrator().Set(TString::Format("Task=%d", task));
00026 }


Generated on 3 Dec 2018 for loon by  doxygen 1.6.1