glast lat project lat instrument analysis workshop – feb 27, 2006 hiro tajima, tkr data processing...

18
GLAST LAT Project LAT Instrument Analysis Workshop Feb 27, 2006 Hiro Tajima, TKR Data Processing Overview 1 GLAST Large Area GLAST Large Area Telescope: Telescope: TKR Data Processing Overview Hiro Tajima (SLAC) TKR [email protected] 650-926-3035 Gamma-ray Large Gamma-ray Large Area Space Area Space Telescope Telescope

Upload: damon-gilbert

Post on 13-Dec-2015

214 views

Category:

Documents


2 download

TRANSCRIPT

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 1

GLAST Large Area Telescope: GLAST Large Area Telescope:

TKR Data Processing Overview

Hiro Tajima (SLAC)

TKR

[email protected]

Gamma-ray Large Gamma-ray Large Area Space Area Space TelescopeTelescope

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 2

IntroductionIntroduction

• We cannot trend parameters for each TKR elements (800K strips, 14K GTFEs, 576 layers).– Trend tower (or layer) average of ratio of parameters for individual

elements with respect to the references.– Requires offline processing.

• Parameters for TKR data processing and trending.– Calibrations (see Mizuno’s talk for trending results).

• GTFE threshold DAC.• GTFE calibration DAC (charge scale).• TOT gain parameters.• Channel thresholds.• Bad channels (dead, hot and disconnected).

– Performance monitoring.• Hot strips. • Noise flare.• Efficiency.• Layer displacement.• Tower displacement.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 3

GTFE Threshold DAC CalibrationsGTFE Threshold DAC Calibrations

• Type of Data processing– Online script (TkrThresholdCal.py).

• Perquisites– GTFE charge scale.

• Output– LATTE type schema xml file.

• Manually included as LATTE schema ancillary file.• LATTE schema file is converted to LATc to be used in

LICOS.• Trending

– Offline python script to read the online test reports.– Manual handling of valid run number list.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 4

GTFE Charge Scale CalibrationsGTFE Charge Scale Calibrations

• Type of Data processing– Offline muon data analysis (calibGenTKR/totCalib).

• Perquisites– Calibrated GTFE threshold DAC for muon data taking.– TOT gain parameters for each channel.

• Output– Special xml file.

• Manually included as LATTE schema ancillary file for online scripts.

– LATTE does not understand the contents– Only TKR online script parse the contents.– Not sure how LICOS handles this file.

• Converted to a special ROOT file to be put into offline analysis database.

• Trending– Offline python script to read output xml file.– Manual handling of valid run number list.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 5

TOT Gain Parameters CalibrationsTOT Gain Parameters Calibrations

• Type of Data processing– Online script (TkrTotGain.py).

• Perquisites– Calibrated GTFE threshold DAC.

• Output– Special xml file.

• Converted to ROOT file and put into offline analysis database.

• Direct access to the xml file from charge scale calibration job via job option.

• Trending– Offline python script to read online test reports.– Manual handling of valid run number list.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 6

Channel Thresholds CalibrationsChannel Thresholds Calibrations

• Type of Data processing– Online script (TkrThrDispersion.py).

• Perquisites– Calibrated GTFE threshold DAC.– GTFE charge scale.

• Output– Special xml file.

• Converted to ROOT file and put into offline analysis database for MC generation.

• Trending– N/A.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 7

Dead/Disconnected Channels CalibrationsDead/Disconnected Channels Calibrations

• Type of Data processing– Online script (TkrNoiseAndGain.py).– Offline data analysis (svac/EngineeringRoot/TkrHits).– Offline history analysis (calibGenTKR/totCalib).

• Perquisites– NONE.

• Output– Dead strip xml file.

• Manually included as LATTE schema ancillary file.– LATTE schema file is converted to LATc to be used in

LICOS.

• Put into offline analysis database.• Trending

– Offline python script to read output xml file.– Manual handling of valid run number list.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 8

Hot Strips CalibrationsHot Strips Calibrations

• Type of Data processing– Online script (TkrNoiseOccupancy).– Offline data analysis (svac/EngineeringRoot/TkrNoiseOcc).– Offline history analysis (in development).

• Offline data to mask new hot strips.• Online data to put cured strips into probation.

• Perquisites– NONE.

• Output– Hot strip xml file.

• Manually included as LATTE schema ancillary file.– LATTE schema file is converted to LATc to be used in LICOS.

• Put into offline analysis database• Trending

– Offline python script to read output xml file.– Manual handling of valid run number list.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 9

Calibration Data Processing Flow (1)Calibration Data Processing Flow (1)

• Data processing flow for threshold, charge scale, TOT gain.

Muon data

Offline calibrationDatabase

Threshold DAC calibration

Offline chargescale analysis

Charge scalexml file

threshold DACxml file

TOT gain calibration

TOT gainxml file

Channel thresh.xml file

Channel thresh. calibration

Muon data taking

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 10

Calibration Data Processing Flow (2)Calibration Data Processing Flow (2)

• Data processing flow for bad strips.

Muon data

Hot strip calibration

Disconnected strip analysis

Hot stripxml file

Dead channel calibration

Dead channelxml file

Dead/disconnectedstrip xml file

Muon data taking

Hot strip monitor

Hot strip offline data

Hot strip history analysis

Hot strip online data

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 11

Current Calibration Data Trending FlowCurrent Calibration Data Trending Flow

• Currently there are too much manual processing.

Trending Analysis

Charge scalexml file

Threshold DACtest report

TOT gaintest report

Hot stripxml file

Dead/disconnectedstrip xml file

Valid run orfile list

ROOTgraph

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 12

Desired Calibration Data Trending FlowDesired Calibration Data Trending Flow

• Use database to keep track of parameters to be trended.– Should be common to the database for online schema files

and offline calibration file.

Charge scalexml file

Threshold DACxml file

TOT gainxml file

Hot stripxml file

Dead/disconnectedstrip xml file

CalibrationDatabase

Trending Analysis

Trend data

ISOC TrendingDatabase

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 13

TKR Performance MonitorTKR Performance Monitor

• Monitored Parameters– Hot strips, noise flare (see Sugizaki’s talk).– Disconnected strips (see Mizuno’s talk).– Efficiency, layer and tower displacements.

• Type of Data processing– Muon offline data analysis.

• Built into SVAC ntuple processing.• Perquisites

– Calibrated TKR.• Output

– NONE defined so far.• Exist as ROOT histograms.

• Trending– Manual analysis of ROOT histograms.– Manual handling of valid run number list.

• Some parameters require multiple runs.

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 14

TKR Performance Trending FlowTKR Performance Trending Flow

• Multiple runs need to be combined to get sufficient statistics.– This part should be automated somehow.

Muon data

Data pipeline

Muon data taking

SVAC ROOT

Valid run list

TrendingAnalysis

Excel graph

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 15

Efficiency Trending ResultEfficiency Trending Result

• Consistent downward trend.

– Inconsistent with stable bad strips.

– Probably due to LAT configuration change.

• Efficiency values depend on track quality and other factors.

• Further improvement on track selections required to make it more stable. Efficiency Trend

-0.3

-0.25

-0.2

-0.15

-0.1

-0.05

0

2TWR 4TWR 6TWR 8TWR 16TWR

Test Phase

Efficiency change (%)

TkrFMA

TkrFMB

TkrFM1

TkrFM2

TkrFM3

TkrFM4

TkrFM5

TkrFM6

TkrFM7

TkrFM9

TkrFM10

TkrFM11

TkrFM12

TkrFM13

TkrFM14

TkrFM15

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 16

Layer Displacement MonitoringLayer Displacement Monitoring

• Monitor average of residual from straight line fit within the tower.– The value depends on track angle distribution and other factors.– The result is consistent with Pisa alignment results.– Variation of the layer displacement from reference is consistent

with statistical error.• Issue warning if layer displacement is varied from the

reference by more than 4.

Layer displacement (mm)

Pisa alignment parameter (mm)

Layer displacement change/error

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 17

Tower Displacement MonitoringTower Displacement Monitoring

• Monitor average of residual from track extrapolated from adjacent towers.– The value depends on track angle distributions and tower

configuration.• Comparison between different LAT configuration is not very

meaningful.– Variation of the tower displacement from reference is NOT

consistent with statistical error.

Tower displacement change/error

GLAST LAT Project LAT Instrument Analysis Workshop – Feb 27, 2006

Hiro Tajima, TKR Data Processing Overview 18

ConclusionsConclusions

• Trending of TKR calibration data requires some offline analysis due to large number of elements involved.

• Calibration data trending requires much manual processing.– We would like to have database to store all valid

(online/offline) calibration data to automate.– We would like to utilize ISOC trending tool for UI.

• TKR performance monitor is being implemented.– Basic data processing implemented in data pipeline.

• Systematic effects on tower efficiency and displacement need to be addressed.

– Automation required to combine multiple runs.– Interface to ISCO trending tool.