
MaxTimeDifference [int = 3600]: the duration of each channel's measurement is checked to be equal to the nominal one. MaxTimeDifference is the maximum accepted difference in seconds between actual and nominal duration. MaxTau [int = 5]: each channel shouldn't have time holes on particle events longer than MaxTau*(1/rate[ch]) OutFileName [string = "CheckRate"]: HoleWarningLevel [double = 0.05] is the maximum accepted ratio of dead time for big crystals(for small crystals is HoleWarningLevel*2.5) A warning is issued if condition not satisfied MaxCoincidence [int = 5] maximum allowed coincidence between pulses 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
Writes:
Public Member Functions | |
| MCheckTimeBehaviour (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) |
Private Attributes | |
| int | fMaxCoincidence |
| std::vector< time_t > | fPreviousTimes |
| std::vector< time_t > | fLastTimes |
| std::vector< time_t > | fLastPartTimes |
| std::vector< int > | fNumberOfPulses |
| std::vector< int > | fGlobalTimeHole |
| std::vector< QVector > | fTimes |
| std::map< int, double > | fMaxDeltaTime |
| time_t | fNominalDuration |
| time_t | fMaxChTimeDifference |
| int | fMaxTau |
| time_t | fStartRunUnix |
| double | fHoleWarningLevel |
| std::string | fOutRootFileName |
| std::string | fOutReferenceDir |
| QOutputFileHandler * | fOutputHandler |
| ChannelManager * | fChannelManager |
| bool | fFirstEvent |
| int | fLastChannel |
| int | fRun |
| QVector | fEvtRate |
1.5.6