Changeset 18116 for trunk/FACT++/src


Ignore:
Timestamp:
02/12/15 11:05:35 (10 years ago)
Author:
tbretz
Message:
What is called 'breakdown voltage' here is actually the 'operation voltage' as we got it from hamamatsu. To avoid confusion, it has been renamed. Unfortunately old BIAS_CONTROL/NOMINAL files will obviously still call it wrongly Ubr
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/biasctrl.cc

    r17649 r18116  
    8585
    8686protected:
    87     vector<float> fBreakdownVoltage;      // Breakdown voltage of GAPDs
     87    vector<float> fOperationVoltage;      // Operation voltage of GAPDs
    8888    //vector<float> fChannelOffset;         // User defined channel offset
    8989
     
    841841        fCounter(8),
    842842        fCurrent(kNumChannels),
    843         fBreakdownVoltage(kNumChannels, 0),
     843        fOperationVoltage(kNumChannels, 0),
    844844        //fChannelOffset(kNumChannels),
    845845        fCalibrationOffset(kNumChannels),
     
    888888        }
    889889
    890         if (fBreakdownVoltage[ch]<=0)
     890        if (fOperationVoltage[ch]<=0)
    891891            return true;
    892892
    893         if (volt>fBreakdownVoltage[ch]+fVoltageMaxRel)
     893        if (volt>fOperationVoltage[ch]+fVoltageMaxRel) // FIXME: fVoltageMaxRel!!!
    894894        {
    895895            ostringstream msg;
    896             msg << "CheckChannelVoltage - Set voltage " << volt << "V of channel " << ch << " exceeds limit of " << fVoltageMaxRel << "V above breakdown voltage " << fBreakdownVoltage[ch] << "V + limit " << fVoltageMaxRel << "V.";
     896            msg << "CheckChannelVoltage - Set voltage " << volt << "V of channel " << ch << " exceeds limit of " << fVoltageMaxRel << "V above operation voltage " << fOperationVoltage[ch] << "V + limit " << fVoltageMaxRel << "V.";
    897897            Error(msg);
    898898            return false;
     
    11431143        }
    11441144
    1145         fBreakdownVoltage  = volt;
     1145        fOperationVoltage  = volt;
    11461146        fCalibrationOffset = offset;
    11471147        fCalibrationSlope  = slope;
     
    13891389        {
    13901390            const int id = c+kNumChannelsPerBoard*b;
    1391             Out() << " " << setw(5) << fBreakdownVoltage[id];
     1391            Out() << " " << setw(5) << fOperationVoltage[id];
    13921392        }
    13931393        Out() << endl;
     
    15481548        vector<float> volt;
    15491549        volt.reserve(3*kNumChannels);
    1550         volt.insert(volt.end(), fBreakdownVoltage.begin(),   fBreakdownVoltage.end());
     1550        volt.insert(volt.end(), fOperationVoltage.begin(),   fOperationVoltage.end());
    15511551        volt.insert(volt.end(), fCalibrationOffset.begin(),  fCalibrationOffset.end());
    15521552        volt.insert(volt.end(), fCalibrationSlope.begin(),   fCalibrationSlope.end());
     
    15651565                 "|Uout[V]:Output voltage"),
    15661566        fDimGapd("BIAS_CONTROL/NOMINAL", "F:416;F:416;F:416",
    1567                  "|Ubr[V]:Nominal breakdown voltage at 25deg C"
     1567                 "|Uop[V]:Nominal operation voltage at 25deg C"
    15681568                 "|Uoff[V]:Bias crate channel calibration offsets"
    15691569                 "|Rcal[Ohm]:Bias crate channel calibration slope")
Note: See TracChangeset for help on using the changeset viewer.