
MinBaseline [double = 300.]: this is the minimum value accepted for the baseline. If a sample with a lower value is found a warning is issued UpperBelowMax [double = 10000.]: the baseline cannot be higher than UpperBelowMax for more than MaxTimeCloseToMax. If this happens a warning is issued BaselineWarningLevel [double = 0.05] maximum allowed baseline ratio over threshold during the measurement If not a warning is issued SaturationWarningLevel [doulbe =0.05] maximum allowed ratio of saturated events MaxBaselineFrequency [double = 4.0] maximum plotted frequency in Power Spectrum OutFilename [string = "CheckRange"]: All the text warnings produced by the checks above are dumped here. The run number is appended to the file name OutRootFileName [string = "CheckR"]: All the plots produced are written here. The run number is appended to the file name
Public Member Functions | |
| MCheckOffsetAndSat (QSequence *) | |
| Constructor. | |
| virtual void | Init () |
| Init method: reads parameters. | |
| virtual QEvent * | Do (QEvent *) |
| Do method: correct pulse amplitudes. | |
| virtual void | Done () |
| Done method is called after event loop. | |
Private Member Functions | |
| void | CreateReference () |
| void | SetReference (char *VariableName, const QVector &VariableValue) |
| double | TruncatedRMS (const QVector &vector, double KeepRMS) |
| TH1F * | createHisto (char *name, char *title, int bins, int min, int max, int iFloor, char *yaxis) |
Private Attributes | |
| std::string | fOutRootFileName |
| std::string | fOutTxtFileName |
| std::string | fOutReferenceDir |
| bool | fFirstEvent |
| QOutputFileHandler * | fOutputHandler |
| ChannelManager * | fChannelManager |
| double | fMinBaseline |
| double | fDistanceToMaxBaseline |
| time_t | fDeltaTimeMaxAboveH |
| double | fMaxRange |
| double | fMaxBaselineFrequency |
| double | fBaselineWarningLevel |
| double | fSaturationWarningLevel |
| std::vector< QVector > | fChannelsBaseline |
| std::vector< QVector > | fChannelsBaselineRMS |
| std::vector< QVector > | fChannelsAmplitudes |
| std::vector< QVector > | fChannelsAmplitudesH1 |
| std::vector< QVector > | fChannelsAmplitudesH2 |
| std::vector< QVector > | fChannelsAmplitudesH3 |
| std::vector< QVector > | fTimes |
| std::vector< QVector > | fSaturatedHighTimes |
| std::vector< QVector > | fSaturatedStabTimes |
| std::vector< int > | fSaturated |
| std::vector< int > | fSaturatedHighHeaterFlag |
| std::vector< int > | fSaturatedStabHeaterFlag |
| std::vector< int > | fCounterUnderLThreshold |
| std::vector< int > | fCounterAboveHThreshold |
| std::vector< int > | fGlobalCounterUnderLThreshold |
| std::vector< int > | fGlobalCounterAboveHThreshold |
| std::vector< bool > | fUnderflowNoticed |
| std::vector< double > | fTimePassLThresh |
| std::vector< double > | fTimePassHThresh |
| int | fLastChannel |
| QVector | fAverageBaseline |
| QVector | fAverageBaselineRMS |
| QVector | fAveragePS |
| QVector | fBaselFluctuation |
| int | fRun |
1.5.6