Skip to content

RICH-7 Updated RichMirrorAlignmentOnline from the version at the pit. "Tagged" as v2r3

Paras Naik requested to merge pnaik-20170320-RichMirrorAlignmentOnline-v2r3 into master

Now importing TGraph, TMultiGraph, TLine from ROOT for plots Added "lastXMLFile” which represents the most final iteration XML Added “compareXML” which represents the current DB; changed functions accordingly We now make plots of primary and secondary mirror tilts w.r.t. compareXML stopTolerance and stopToleranceSec removed and replaced with quad stop tolerances (see RichMirrAlign v19r1) Also added regularizationMode, stopToleranceMode, nominalResolutionSigma, stopSigmaFraction (see RichMirrAlign v19r1) Changed DataType from ‘2015' to ‘2016’ (PN: we really should un-hard-code this) Added brunel.Detectors list (PN: why?) Added turnOffL0Decode function because (PN: why?) Added getDBXML function, which (PN believes) converts “Online” XML to “Offline XML” by adding the right headers Coeffcalibtilt replaces/replaced coeffCalibTilt in the configurables, but only for RICH1 (PN thinks this is strange, but currently leaves it) Changed CkResSummary to use RiCKResLongTightMirror instead of RiCKResLongTight (requires newest RichRecQC being delivered from Rec) Edited RichAlignmentHelper.py so that it waits for all the tilt processes to finish, not just one at a time (PN thought this must have been a typo) For all files that are read with open(), print an ERROR message if the file does not exist Print timestamps when each command is sent from the FSM to the Iterator Write elapsed time of the the mirror alignment (for a particular RICH) into summary.txt Now we copy the files from the workDir to the MirrorAlignments directory in a way that preserves the original timestamps of the files Added some draft code [commented] for when the new RunChangeIncident is merged into the LHCb/master (PN is not sure if the Gaudi::Time required is correct yet)

Merge request reports