Mini review on alignment software Florian Bauer, Saclay

19
Mini review on alignment software Florian Bauer, Saclay Outline: - Barrel alignment - EndCap alignment - High Pt track alignment - Inner Tracker versus Muon spectrometer - Initial geometry - Manpower issues Florian Bauer, SVSG, 5/3/2007

description

Mini review on alignment software Florian Bauer, Saclay. Outline: - Barrel alignment - EndCap alignment - High Pt track alignment - Inner Tracker versus Muon spectrometer - Initial geometry - Manpower issues. - PowerPoint PPT Presentation

Transcript of Mini review on alignment software Florian Bauer, Saclay

Page 1: Mini review on alignment software                               Florian Bauer, Saclay

Mini review on alignment software Florian Bauer, Saclay

Outline: - Barrel alignment - EndCap alignment - High Pt track alignment - Inner Tracker versus Muon spectrometer - Initial geometry - Manpower issues

Florian Bauer, SVSG, 5/3/2007

Page 2: Mini review on alignment software                               Florian Bauer, Saclay

Optical alignment

Florian Bauer, SVSG, 05/02/2007

Page 3: Mini review on alignment software                               Florian Bauer, Saclay

ASAP

LWDAQendcap

Temperature

AMDBSurvey

CalibrationsSensor offsets

Athena

Optical Alignment data flow

JDB-PlotApplicationServer

IntervallMaker

Since H8-2003 this flowchart did not change fundamentaly. Only the number of muon reconstruction programs increased…

Condition DatabaseORACLE

MuonAlignment

service

Florian Bauer, SVSG, 05/02/2007

MuonBoyMoore

MoMuMuonGirl

ARAMyS

private GeometrySurvey

CalibrationsSensor offsets

RasDimbarrel

Page 4: Mini review on alignment software                               Florian Bauer, Saclay

Barrel RasDim DAQ

1A 2A 3A 1C2C3C TopMux

1 BI_A13-14-15a2 BI_A15b-16 3 BM-REF_A13-14 4 BM-REF_A15-165 BO_A13-14b6 BO_A14a_15_16

1 BI_A05-062 BI_A07-08 3 BM-REF_A05-064 BM-REF_A07-085 BO_A05-066 BO_A07-08

1 BI_A09-10-11a2 BI_A11b-123 BM-REF_A09-10 4 BM-REF_A11-12 5 BO_A09-10-11a6 BO_A11b-12

Control PC

4A 4C

1 BI_A01-022 BI_A03-043 BM-REF_A01-024 BM-REF_A03-045 BO_A01-026 BO_A03-04

1 BI_C13-14-15a2 BI_C15b-16 3 BM-REF_C13-14 4 BM-REF_C15-165 BO_C13-14b6 BO_C14a_15_16

1 BI_C09-10-11a2 BI_C11b-123 BM-REF_C09-10 4 BM-REF_C11-12 5 BO_C09-10-11a6 BO_C11b-12

1 BI_C05-062 BI_C07-08 3 BM-REF_C05-064 BM-REF_C07-085 BO_C05-066 BO_C07-08

1 BI_C01-022 BI_C03-043 BM-REF_C01-024 BM-REF_C03-045 BO_C01-026 BO_C03-04

Ethernet

Today all installed MDT are cabled.10 PCs installed in USA15 using RasDim (under PVSS).DAQ runs smoothly. No major problems today.Data are stored into Oracle database tables.

Next step: integration into general ATLAS DAQ frame using PVSS.Readout: 1st step: 5627 lines are read in parallel (740sec). 2nd step: 206 mixed line are read using control PC (200sec) Total readout time: 16 minutes.

Florian Bauer, SVSG, 05/03/2007

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

Page 5: Mini review on alignment software                               Florian Bauer, Saclay

LWDAQ side C

LWDAQ side A

Image analysis results,Image Quality, Process status

TCP

/IP

LWDAQ Controller

Condition Database

Endcaps A,C: ~8000 images(includes some temperatures also read by LWDAQ)2 readout PC + 1 ControllerReadout time: 15-20 minutesFirst readout already started

PVSSinterface

Gui, Control,Status Generator,Monitor, Display

EndCap LWDAQ

AraMys

LWDAQ quite mature, tested with Big Wheel sectors (Bldg.180 and today in the pit)

Todo: PVSS supervisory control LWDAQ interface to PVSS databases (tested prototypes exist)

Florian Bauer, SVSG, 05/03/2007

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

DIM

TCP/IP

Page 6: Mini review on alignment software                               Florian Bauer, Saclay

ASAP

Florian Bauer, SVSG, 05/03/2007

ASAP tested on many different datasets:• H8 2002, 2003, 2004 • Cosmics rays in sector 13• Toroid mechanical release • Toroid B field on• Sector 05

Input: AMDB, calibrations, current optical data, muon track parameters, surveys etc. etc.

Output: A-lines (x,y,z,tx,ty,tz of each MDT chamber, in the local chamber coordinate frame) B-lines (8 deformation parameters for each MDT chamber)

Todo list: • Enter and understand all calibration data in view of absolute alignment.• Speed up the fitting procedure (sparse matrix, maybe fragmentation)• Implement fit using High Pt tracks (Pseudo Track Sensors)• Implement fits using straight tracks• PVSS visualization of fit results

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

Atos visualisation

Page 7: Mini review on alignment software                               Florian Bauer, Saclay

Barrel Calibration

• All sensors are calibrated.• current step: implementation of the calibration for alignment reconstruction.

Use of XML description

Issues:

• Glued platforms: position and orientation of platforms measured 4 datasets: X-tomo, BB5, MPI gauge-feeler tool, BricoBox. manpower missing to understand them. • Inplane: offsets dataset complete and implemented

• Praxial: calibrations dataset complete and implemented • Axial: calibration measurements done, manpower missing to understand them

• Projective: calibration dataset complete. • Reference plates and extensions: calibration dataset complete

• Reference: measurements done, manpower missing to understand them• CCC: measurements done, manpower missing to understand them

• BirBim: calibration completed and implemented

Florian Bauer, SVSG, 05/03/2007

OK

OK

OK

OK

OK

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

AraMys

GeometrySurvey

Calibration

RasDim

Page 8: Mini review on alignment software                               Florian Bauer, Saclay

ARAMyS

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

Mature and debugged software.Tested in:• H8 2002, 2003, 2004• Big Wheels in Bldg.180 • Big Wheel in the pit

Today: All calibrations entered (except final surveys)

Florian Bauer, SVSG, 05/03/2007

MDTproductiondatabase

SensorcalibrationBrandeis

BarcalibrationFreiburg

Chambercalibration

CERN

Sensorlocation

database

ASCII fileOracle DB

ASCII fileOracle DB ASCII file

Oracle DBInterfaced to MTF

AlignmentGeometryDecription

ARAMySSensor

measurementLWDAQ

ASCII fileOracle DB

Result:chamber positionsand deformations

Todo list:• Interface to PVSS• Interface to Oracle (following Barrel implementation)• combined (track+optic) alignment reconstruction (tested prototype exist so far)• check coordinate system compliance with GeoModel/AMDB

Page 9: Mini review on alignment software                               Florian Bauer, Saclay

Database

INPUT

Storage of Temperature data: char name, int time, double T

Storage of Barrel optical sensor data: char name, int time, int error_code, double x, double y, double mag, double tz

Storage of EndCap optical sensors data: int stime, int image_id, int file_id, double x, double y, int number_of_pixel and other diagnostic tools….OUTPUT:4 tables are written:

1. Fit information (quality, number of used/defect sensors, time etc.)2. A lines containing (x,y,z,tx,ty,tz)3. B lines containing the MDT deformations (8 parameters)4. (x,y,z,tx,ty,tz) in ATLAS coordinates of all the B-sensors. Used for B-field calculation.

First 3 tables have to appear under ATHENA and are converted into COOL format.

For the Barrel all this works today, EndCap will follow very soon…Over the last 4 month the Oracle database turned out to be very reliable! Great Job done by the IT group.

Florian Bauer, SVSG, 05/03/2007

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

Page 10: Mini review on alignment software                               Florian Bauer, Saclay

Application Server

Florian Bauer, SVSG, 05/03/2007

ApplicationServer: 1) retrieve data from MySql/Oracle/Ascii 2) launch IntervalMaker 3) launch ASAP 4) write ASAP output data in MySql/Oracle/Ascii 5) later on Application Server will write ASAP data into Cool

Application server uses Hibernate library. Hibernate is an interface to all type of database (it is based on JDBC, Java equivalent of ODBC)

Application server is meant to be triggered by RasDim, via a DIM server. All this has been developed by Andrea & Pierre-Francois.

Nice tool to control and launch ASAP from any place via internet browser…. (f.e. from an internet café in the Bahamas….)

ASAPTemp

AMDBSurvey

Calibration

JDB-PlotApplicationServer

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

Page 11: Mini review on alignment software                               Florian Bauer, Saclay

JDB-Plot

Florian Bauer, SVSG, 05/03/2007

Other example of ApplicationServer: Java database browser. • Retrieve data from MySql/Oracle tables and convert them automatically into ROOTtree, Ascii Files• Selection criteria possible• possibility to plug ROOT macros

No a priori knowledge on the table structure needed (provided no pointer to funny structures/objects are stored in the tables)

Even nicer tool to check last night runs from an internet café in the Bahamas…

ASAPTemp

AMDBSurvey

Calibration

JDB-PlotApplicationServer

Condition Database

Athena

LWDAQ

M-Programs

AraMys

GeometrySurvey

Calibration

RasDim

Browser

Plugged macro

Page 12: Mini review on alignment software                               Florian Bauer, Saclay

Athena implementation

Florian Bauer, SVSG, 05/03/2007

The adventures of the A&B-lines:

ASAPAraMys Oracle table Ascii file BLOB COOL

Transient Data Store

Geomodel

MuonBoyRT CalibServiceMoore MuonGirl MoMu

Full chain had been tested in H8-2004 (at least for MuonBoy)

Today part from Oracle to TSD implementedby Monica Verducci and Andrea Formica. Automatisation is planned.

For Barrel A-lines, coordinate system convention

is the same between ASAP-AMDB-GeoModell

B-lines are not implemented in GeoModell, probably they will pass via the RT-service (which should handle wire sag, RT and deformations)

Today done manually

ASAPTemp

AMDBSurvey

Calibration

JDB-Plot ApplicationServerIntervallMaker

Condition Database

Athena

LWDAQ

M-Programs

ARAMyS

GeometrySurvey

Calibration

RasDim

Page 13: Mini review on alignment software                               Florian Bauer, Saclay

=> In parallel (or together) with R-T calibration stream, a track alignment stream has to be setup.

During data-taking: optical alignment does not cover all the muon spectrometer.High Pt tracks (pt>20GeV) have to be used Combination of high pt track information with optical ones.

5 cases:1. Small versus Large Barrel towers2. BIS8 versus BIS73. BEE versus EndCap4. EndCap versus Barrel5. Inner tracker versus muon spectrometer

High Pt track alignment (1)

Florian Bauer, SVSG, 5/3/2007

30 m precision on Pt measurement

200m precision in the toroid bending plane

Requirements

Page 14: Mini review on alignment software                               Florian Bauer, Saclay

Some High Pt track alignment examples (2)

Trigger zonefor overlappingtracks

BOL

BML

BIL

BOS

BIS

BMS

RPC

MDT overlap

BIL

BML

BOL

EIL

EES

EEL

Small versus Large MDT

EndCap versus Barrel

Florian Bauer, SVSG, 05/02/2007

Page 15: Mini review on alignment software                               Florian Bauer, Saclay

Florian Bauer, SVSG, 5/3/2007

High Pt track alignment (3)

ASAPoptic

Track reconstruction

in the large chambers+ Segments in the smallchambers

OverlapTrackdigits

Segments in the small chambers:

Predicted from largeReconstructed in small

Tier2 ATHENA

ASAPcombined

A-Linescombined

A-Linesoptic

ARAMySoptic

Track reconstruction

in EIS-EMS-EOS+ BEE Segments

OverlapTrackdigits

Segments in BEE Predicted from

EI-EM-EO

Tier2 ATHENA

Segment FitA-Lines

BEEA-Lines

optic

Fit of BIS8 position

w.r.t. BIS7

Segments reconstructionIn BIS7 and BIS8

OverlapTrackdigits

Segments in BIS7 and BIS8

Tier2 ATHENA

A-LinesBIS8

A-LinesBIS7

ASAPoptic

Track reconstruction

in the Barrel+ Segments in EIL4

OverlapTrackdigits

Segments in EIL4 Predicted from BarrelReconstructed from

digits

Tier2 ATHENA

Global fitcombined

A-Linescombined

A-LinesopticARAMys

optic

Small/LargeBEE chambers

BIS8 chambers

EndCap versus Barrel

For all these dataflows, data have to be Processed at the Munich Tier2.

The alignment fits can be done at CERN.

ID versus Muon, quite similar dataflowWork just started by Tony Liss.MPI will adresse it soon.

Page 16: Mini review on alignment software                               Florian Bauer, Saclay

Florian Bauer, SVSG, 5/3/2007

High Pt track alignment (4)Quasi-online alignment. These alignment correction should be available within 24 hours.For the track reconstruction, need of a Tier2. Location: Munich with 20 CPUs allocated for this task.

Muon trigger rate LVL2: 2500 HzRT Calib stream : 700 HzAlignment stream : 200 Hz (all 1+1 overlaps)

Work plan for Munich calibration center: March: local stream -> processing -> Oracle DB April: stream coming from CERN -> processing -> Oracle DB at CERN

Trigger for these overlaps, defined but not implemented today. Should come with release 13.

Today only test possibilities: CDC Monte-Carlo. Work started on small/large (200 000 tracks with 20 GeV). See talks of Serguei Kotov and Jens Schmaller last muon week.

Overlap mode

Rate [Hz] CPU tracks in overlap

Small/Large 1+1

3+1

3+3

100

100

3

20

20

3

100

100

100

BIS8 1+1 1 1 500

BEE 3+1 10 3 1000

Barrel/EndCap 3+1 4 4 1000

ID/Muon - 10 1 10000

Refresh rate: 2 hours

Refresh rate: 6 hours

Page 17: Mini review on alignment software                               Florian Bauer, Saclay

3 possibilities to determine initial geometry: - geometer surveys - straight muon tracks coming from: - cosmics, - beam halo - toroid off, solenoid on, straight tracks - absolute alignment

a) Geometer surveys: EndCap wheels: many targets sighted (almost 4 per chamber) Barrel limited to very few chambers on the outside ( most of them

not in final position + survey performed at various toroid loads…) b) Cosmics: Beginning March 2007: Each Barrel sector will undergo cosmic run. One sector per month. First studies & results available for sector 13… Otherwise CDC simulation asked to test the algorithms.c) Beam Halo: Probably End 2007.d) Toroid off, solenoid on: Data with first collisions at 14TeV(~several days). CDC Simulation asked for All these 4 ingredients can be put in a common fit.The initial geometry resulting from the track fit, can then be compared to absolute alignment.Considered to be a “one time task”. The amount of work here is by no means negligeable..Work started for sector 13. Florian Bauer, SVSG, 5/3/2007

Initial geometry

Page 18: Mini review on alignment software                               Florian Bauer, Saclay

Florian Bauer, SVSG, 05/03/2007

Manpower today

Barrel optical alignment software: Florian Bauer, Pierre Francois Giraud, Egge van der Poel

Barrel alignment acquisition: Robert Hart

EndCap optical alignment software: Christoph Amelung

EndCap alignment acquisition: Kevan Hashemi, Joe Rothberg

High Pt Track alignment: Serguei Kotov, Jens Schmaller

Inner Tracker versus Muon spectrometer:

Tony Liss

Tier2 Alignment + RT responsable Oliver Kortner

Initial Geometry using straight tracks: Henry Bachacou, Clement Helsen, Eric Lancon

Database issues: Andrea Formica, Joe Rothberg, Monica Verducci

Most people in this list are part-time• Border between commissioning and software very permeable…• e.g. FB/PFG/CA mostly (80%) occupied with installation in the pit• CA CERN contract finished end 2007• EvdP, JS and CH are involved 30-50% of their time and for short period

Page 19: Mini review on alignment software                               Florian Bauer, Saclay

Conclusions

• Optical alignment DAQ are on a good way

• Alignment reconstruction programm (ASAP & ARAMyS) are well advanced

• ATHENA implementation should not cause major problems.

• High Pt track alignment is the next biggest software challenge

• Initial geometry using straight tracks just started. Absolutely important for muon spectrometer understanding. • Manpower is sub critical in many domains:

•Track alignment (using CDC and cosmic data)• ASAP development eaten up by installation• ARAMyS 2008-2010 not guaranteed

Florian Bauer, SVSG, 05/03/2007