1 Software for the KEK test Malcolm Ellis 13 th April 2005.

9
1 Software for the KEK test Malcolm Ellis 13 th April 2005

Transcript of 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

Page 1: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

1

Software for the KEK testSoftware for the KEK test

Malcolm Ellis

13th April 2005

Page 2: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 2

OutlineOutline

1. Requirements 1. Requirements

2. Suggested modifications 2. Suggested modifications

3. Suggested additions to domains 3. Suggested additions to domains

4. Work schedule 4. Work schedule

Page 3: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 3

RequirementsRequirements

1. More sophisticated alignment (to take into account translations/rotations/etc...)

2. Calibration information per channel (pedestals/gains).

3. Decoding information (MCM/channel -> waveguide -> station/plane/fibre)

4. Track fitting when B == 0.5. Flexible ability to produce user applications for

online tasks (calibration, alignment, monitoring, etc)

6. Visualisation7. Raw data input.

Page 4: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 4

Suggested ModificationsSuggested Modifications

1. Alignment: SciFiGeomDecoder needs to be able to cope with individual translation and rotation of planes and take information in a way that specifies translations/rotations at every “level” (e.g. plane, station). This can be achieved by additions to and modifications of the existing code. This will also require additional data-files to store the initial and subsequently refined alignment information.

Page 5: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 5

Suggested ModificationsSuggested Modifications

2. Calibration: Additional classes and data-files similar to those used in the cosmic analysis need to be added, probably to the Calib package.

3. Decoding: Additional classes and data-files similar to those used in the cosmic analysis need to be added, probably to the Config package.

4. Track fitting: The existing Recon code can be extended to allow B==0.

Page 6: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 6

Suggested ModificationsSuggested Modifications

5. User applications: I propose adding a new domain that can “see” all the lower domains and which will be where executables are made. This will allow many new executables (not just Simulation, Reconstruction, etc) to be created with purpose-specific code in it that uses the existing G4MICE functionality.

Page 7: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 7

Suggested ModificationsSuggested Modifications

6. Visualisation: In order to quickly provide an event display, I propose to reuse existing code that uses the small, simple libsx wrapper library. This means that we add an extra domain near the top containing the graphics-specific code, and a dependence to the new external package libsx.

7. Raw data: new code to understand the DAQ output from the tracker test and produce the low level C++ classes will need to be written, once the exact format is known.

Page 8: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 8

Potential new Domains DiagramPotential new Domains Diagram

Page 9: 1 Software for the KEK test Malcolm Ellis 13 th April 2005.

13th April 2005 Malcolm Ellis 9

Work ScheduleWork Schedule

• Implement/check KEK tracker test switch.• Add decoding/calibration/alignment code and

first-pass data-files.• In parallel, Yagmur adds new domains and

modifies Makefiles.• Once ready, prepare a few new applications for

monitoring, etc.• Add visualisation code and event display

application.• Write code to read in raw data.