//////////////////////////////////////////////////////////////////// /// /// \brief Contains all DQ Check variables /// /// \author Ashley R. Back /// \contact Ashley R. Back - primary contact (Functionality) /// \contact Francesca Di Lodovico - primary contact (Head of WG) /// \contact James Waterfield - TELLIE criteria /// /// /// REVISION HISTORY:\n /// 2014-02-05 - added timing checks - Ashley R. Back /// 2014-11-26 - added trigger rate checks - Ashley R. Back /// 2017-05-03 - Updated tirgger_check_criteria to have N100L mapped in as well - Mark Stringer /// \details This file is for user control of the DQ processors\n /// All the criteria for DQ processors should be specified here. /// //////////////////////////////////////////////////////////////////// { type: "DQCHECKS", version: 1, index : "neutrino", run_range: [ 0, 0 ], pass: 0, comment: "", timestamp: "", // DQ Run Checks mc_flag_criteria : 0, // 0 = Data, 1 = MC // DEPRECIATED: data_type_check : 0, // 0 = regular PMT data trigger_check_criteria : 0x2006ede, // recommended active triggers for neutrino data trigger_check_thresh : 90.0, // Min. % events with correct active triggers min_run_length : 1800, // seconds DQ should not check for a maximum run length // DQ PMT Checks general_cov_thresh : 70.0, // Min. general % coverage detector-wide in_crate_cov_thresh : 50.0, // Min. % coverage within each crate crate_cov_thresh : 100.0, // Min. % coverage by crates that passed in crate check panel_cov_thresh : 80.00, // Min. % coverage by panels that passed in panel check // DQ Timing Checks run_header_thresh : 1.0e9, // time to first event in ns clock_forward_thresh : 99.00, // Min. % event separation (delta-t) where clock // count decreases i.e. neagative delta-t event_separation_thresh : 1.00, // Max. % event separation (delta-t) less // than 400(+30) ns trigger window retriggers_thresh : 10.00, // Max. % event separation (delta-t) that suggest // potential re-trigger events (~430-600ns) min_event_rate : 5.00, // (Hz) max_event_rate : 1.2e3, // (Hz) // DQ Trigger Checks min_nhit100l_rate : 5.00, // (Hz - initially same as total event rate) min_esum_hi_rate : 5.00, // (Hz - initially same as total event rate) max_num_missing_gtids : 0, // Maximum number of missing GTIDs max_num_bitflip_gtids : 0, // Maximum number of bitflip GTIDs } { type: "DQCHECKS", version: 1, index : "tellie", run_range: [ 0, 0 ], pass: 0, comment: "", timestamp: "", trigger_bit : 15, trigger_check_thresh : 100., // Min. % tellie events with correct active triggers pulse_delay_min: -1e-5 //s pulse_delay_max: 1e-5 //s tellie_chip_delay: 2.1e-4 //s pulse_delay_thresh : 99.9, // Min. number events that have a pulse delay between the min and max max_nhit : 1000, //Max NHits a tellie event can be max_avg_nhit : 200.0, //Max average NHits of TELLIE run tac_peak_amplitude_ratio : 2., //Ratio between prompt peak and pre and late peaks tac_prompt_peak_low : 1024., //Low bound for the prompt peak time tac_prompt_peak_high : 3071., //High bound for the prompt peak time tac_reflected_peak_offset_low : 307., //Smaller offset value for difference between reflected peak and prompt peak tac_reflected_peak_offset_high : 512. //Larger offset value for difference between reflected peak and prompt peak } { type : "DQCHECKS", version : 1, index : "laserball", run_range : [0, 0], pass: 0, comment: "", timestamp: "", fit_position_thresh_on_central_axis : 20.0, fit_position_thresh_off_central_axis : 40.0, min_time : -1.0, max_time : 1.0, min_qhs_low : 8.0, max_qhs_low : 10.0, min_qhs_peak : 21.0, max_qhs_peak : 24.0, min_qhs_high : 24.0, max_qhs_high : 46.0, min_nhit : 300, max_nhit : 500, max_full_occupancy_mean : 0.08, max_full_occupancy_spread : 0.5, max_prompt_occupancy_mean : 0.08, max_prompt_occupancy_spread : 0.5, max_nzero : 600, max_occupancy_ratio_mean : 2.0, max_occupancy_ratio_spread : 0.1, //THESE MUST BE CHANGED ONLY PLACEHOLDER VALUES occupancy_mean_central_run : 0.01, occupancy_spread_central_run : 0.2, max_time_error : 0.5, n_bad_pmts : 20, //Positions of the three ports on the URM urm_ports_x : [0.0,194.0,-185.0], urm_ports_y : [-254.0,254.0,254.0] } { type : "DQCHECKS", version : 1, index : "smellie" run_range : [0, 0], pass: 0, comment: "", timestamp: "", numberOfNodes: 4, fibres: ["FS007", "FS107", "FS207", "FS025", "FS125", "FS225", "FS137", "FS037", "FS237", "FS055", "FS155", "FS255"], trigger_bit : 15, firstTimePeak_LowBound: 240.0, firstTimePeak_HighBound: 255.0, secondTimePeak_LowBound: 280.0, secondTimePeak_HighBound: 295.0, digitiserChannel: 3, digitiserSampleNumber: 100, error_bound: 2.0, intensities: [100.0, 95.0, 90.0, 85.0, 80.0, 75.0, 70.0, 65.0, 60.0, 55.0, 50.0, 45.0, 40.0, 35.0, 30.0, 28.0], nhits_FS237_440: [189.187, 188.154, 188.119, 184.996, 185.11, 180.635, 177.941, 174.683, 170.432, 165.475, 159.951, 151.913, 141.802, 117.786, 53.6986, 21.135], //These are just placeholder values until the actual measurement is made superKWavelength: [400.0, 450.0, 500.0, 550.0, 600.0, 650.0, 700.0], superKNHits: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] } { type : "DQCHECKS", version : 1, index : "n16" run_range : [0, 0], pass: 0, comment: "", timestamp: "", n16_trigger_bit: 15, //N16 triggered on the external async mean_nhits_upper: 120.0, //Higher limit on the mean NHit mean_nhits_lower: 80.0, //Lower limit on the mean NHit distribution nhits_spread_upper: 20.0, //Upper limit on the NHit spread fit_position_max_diff: 40.0, //Maximum difference between fit result and N16 manip position fit_position_max_fails: 10 //Number of events failing the fit check before the check is failed }