LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

15
LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24

Transcript of LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

Page 1: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

LAV Software StatusEmanuele Leonardi – Tommaso Spadaro

Photon Veto WG meeting – 2015/03/24

Page 2: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 2

MonteCarlo

24/03/2015

Page 3: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 3

• Blocks positions updated to «as-built» technical design• Adjusted radial positions (tangent to front face of block )• A1-A5 532 mm → 536.5 mm• A6-A8 772 mm → 767.5 mm• A9-A11972 mm → 980 mm• A12 1072 mm → 1070 mm

• Adjusted reference ϕ˳ (center of banana 0 at layer 0)• A1-A5 99° → 98.86°• A6-A8 99° → 92.28°• A9-A1199° → 92.25° (A10: 104.25°, ½ banana shift)• A12 99° → 91.125° (experimental from Tommaso)N.B. A12 technical drawings have ϕ˳ at 90.5625°

24/03/2015

Page 4: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 4

• Fixed A12 position along Z• Due to an obsolete assignment of Responsibility Regions between A12

and CHOD, A12 blocks were shifted forward in Z by 5 cm.

• Removed A12 fictitious steel vessel• A12 blocks are now in air (were in vacuum)• Updated Beam pipe design• Space allocated only in A12• Use air outside Beam pipe (was vacuum)

24/03/2015

Page 5: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 5

• Added aluminum structure to A6-A8 bananas• Need final design of aluminum structure for A9-A11• A12 has a totally different aluminum structure which will require some

changes to the code

• Minor overlaps/protrusions in A6-A8 logical volumes• Front face of block 3 out of banana’s ϕ range by ~0.8mm• Due to non-pointing block geometry• Will be fixed with a small ϕ rotation of the banana’s mother volume (NOT of

the block!)

• Back face of blocks overlaps by a few μm to aluminum support• Due to 100μm-level approximations in aluminum slab technical drawings• Need to add small tolerances in block positioning (already done for A1-A5)

24/03/2015

Page 6: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 6

Next steps• Fix overlaps/protrusions• Add A9-A11 banana support structure• Add A12 special aluminum support structure• Add Blue Tube in LAV Responsibility Regions• Asked to do it in a general way so that other detectors can use it

• Add flanges in the Vessel-Blue Tube junctions• Add wires and grid in the front area of each vessel• Not trivial as the number of cables varies with ϕ• Use an homogeneous average material with variable density?

24/03/2015

Page 7: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 7

DataBase

24/03/2015

Page 8: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 8

• DB software used in the 2013 note (NA62-13-05) is obsolete• Lot of work to:• Get access to DB• Understand the inner working

• Working version produced by Bob Velghe last week• Not a real DB as the SQL interface is hidden from the user

It can It can not• Store information in various formats

(user-defined data structures)• Use structured SQL queries (can only

select on validity time)

• Keep track of validity time • Store multiple instances of the same object with the same validity time

24/03/2015

Page 9: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 9

How we plan to use the db

• Given the available interface, we will:– read in memory the entire DB information needed

for a specific task (MC generation, Reconstruction, Analysis) and for the current time

– provide the information wanted using software methods to simulate a relational db behavior

24/03/2015

Page 10: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 10

Proposed LAV DB subsystems:

• LAV (1 instance):– MC names of the sensitive volume and hit collection

• LAVStationGeometry (12 instances):– parameters defining the station geometry

• LAVBlockType (9 instances):– parameters for the geometry of OPAL blocks

• LAVBananaType (4 instances):– parameters for the geometry of banana support structures

• LAVResponsibilityRegionGeometry (5 instances):– parameters defining the responsibility region geometry

• A12BeamPipeGeometry (1 instance):– beam pipe for LAV12

24/03/2015

Page 11: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 11

Proposed LAV db subsystems (cont):

• LAVStationConfiguration (12 instances):– set/readout threshold– HV– electronic channel configuration/status

• LAVStationCalibration (12 instances):– Global time zero– Block time zero

24/03/2015

Page 12: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 12

Example• LAVStationGeometry (12 instances):

– Attribute: DBID, UID– Attribute: Name, String– Attribute: fLAV_Station_NRings, Count– Attribute: fLAV_Station_NBananasPerRing, Count– Attribute: fLAV_TypeOfCrystal, VecType– Attribute: fLAV_Station_BananaType, Type– Attribute: fLAV_Station_ResponsibilityRegion, Count– Attribute: fLAV_Station_ZofFrontFace, Length– Attribute: fLAV_Station_ZofBackFace, Length– Attribute: fLAV_Station_InnerRadius, Length– Attribute: fLAV_Station_OuterRadius, Length– Attribute: fLAV_Vessel_OuterRadius, Length– Attribute: fLAV_Vessel_InnerRadius, Length– Attribute: fLAV_Vessel_Thickness, Length– Attribute: fLAV_Station_FirstRingZPos, Length– Attribute: fLAV_Station_RingGap, Length– Attribute: fLAV_Station_PhiReference, Angle– Attribute: fLAV_Station_PhiRotationBetweenLayers, Angle– Attribute: fWrapFrontHole, Length– Attribute: fWrapThick, Length– Attribute: fAirThick, Length– Attribute: fGlueThick, Length

Pointer list to block types in each position in the station (points to LAVBlockType entries)

Pointer to banana structure type used in the station (points to a LAVBananaType entry)

Dependencies above must be resolved in software after reading the full tables in memory

24/03/2015

Page 13: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 13

Reconstruction

24/03/2015

Page 14: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 14

• Time reconstruction now includes:• T0 subtraction (offset for each station + offset for each block)• Slewing correction (assuming nominal signal shape)• Residual slewing correction (parameters from datafile input)

• T0 files for various runs produced:• 1371 (7/15 mV threshold)• 1373 (5/15 mV threshold)• 1406 (5.5/15 mV threshold)• 1348 (7/15 mV, 3 spectrometer chambers)• 1520 (7/15 mV, 4 spectrometer chambers, minimum bias)

• A T0 file is produced for MC events, too24/03/2015

Page 15: LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.

E.Leonardi T.Spadaro - LAV SW Status 15

• Reconstruction SW update: 2 independent clustering algorithms,• grouping adjacent blocks• grouping blocks close in time and in azimuthal angle (a.k.a. tracking)

• Cluster information updated:• Centroid position• Centroid position, average weighted mean using charge deposited• Centroid time, average weighted mean using charge deposited• Total charge• Error matrix for x,y,z coordinates of the cluster centroid

• Doxygen documentation written• To do:• Commit• Produce list of “good” burst for each run24/03/2015