Top Banner
1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel
14

1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

1

Software Applications in High EnergyPhysics Experiments

Lecture number 4,prepared by Paweł Staszel

Page 2: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

2

Outline

1. Data objects (classes)

2. Data containers

3. Modules – classes that operate on data

4. Containers of modules

5. Building program (reconstruction task)

from modules → singleton class MainModule

6. Main program: bratmain

Page 3: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

3

Modules in BRATbrat/modules – classes that manipulate on data: Important feature of modules is algorithm that converts data to a higher level: dig → rdo → local tracks → global tracks → dst → tree with reconstructed events.Data classes: define structure of dataModules: contain algorithms that process these data

abc – BrModule – base class of every moduleBrModuleContainer – class, which is container of modules. It controls the order in which the methods of component modules are executed.

Setup of this BrModuleContainer defines the particular process which is usually part of the data reconstruction/calibration/analysis process

i

Page 4: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

4

BrModule- handles important scheme (methods) for every module

Page 5: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

5

Diagram showing a processing scheme for a single module

constructor+ setup

→ booking of diagnostic histograms → access to data base to read process parameters (calibration data, geometry of detector setup, run info...)

Setup related to a given run: → histogram booking → calibration parameters from db, ....

Data processing on event by event basis – new data structures are created and written to output data container (outNode)

Post run processing operations

Post process operations (finishing the job)

Page 6: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

6

BrModuleContainer- ordered collection (chain ) of modules

Page 7: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

7

BrModuleContainer- some important methods

Page 8: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

8

BrModuleContainer- pipeline of modules (ordered execution)

Basic data: raw hits, Calib. parameters

Reconstructed physical data tracks+pid = particles,Global information about collision:→ impact parameter (centrality)→ collision vertex→ overall multiplicity

Page 9: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

9

BrModuleContainer – standard methods executed in the chain (Init())

Page 10: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

10

BrModuleContainer – standard methods executed in the chain (Event())

Page 11: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

11

BrModuleContainer – setup/info methods executed in the chain

Page 12: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

12

BrMainModule – singleton, basic module of particular analysis (process)

Page 13: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

13

BrMainModule – fgInstance and constructor

Page 14: 1 Software Applications in High Energy Physics Experiments Lecture number 4, prepared by Paweł Staszel.

14

BrMainModule – Main() function