Data Visualization using IRIS Explorer

Download Report

Transcript Data Visualization using IRIS Explorer

CARF
an Analysis&Reconstruction
Framework for CMS
Vincenzo Innocente
CERN/EP/CMC
CARF Development Philosophy


Tailored to CMS analysis and reconstruction
Serves present ORCA applications




priorities driven development
backward compatibility, legacy code and data!
Bottom-up (concreteabstract) development in
synergy with other sub-systems
It is also a prototype of 2005 software

offers more than one solution to a single problem
20 July 2015
Vincenzo Innocente CARF
Fundamentals
2
CARF layered Structure
Core mechanisms
and “data structures”
G3
TestBeam
H2
Raw
Data
Raw
Data
Generic
Application
T9/X5
Raw
Data
Generic Clients
20 July 2015
Vincenzo Innocente CARF
Fundamentals
3
Framework Basic Dynamics



No central ordering of actions, no explicit
control of data flow: only implicit
dependencies
External dependencies managed through an
Event Driven Notification to “subscribers”
Internal dependencies through an Action on
Demand mechanism
20 July 2015
Vincenzo Innocente CARF
Fundamentals
4
Framework Main Services



Define the events to be dispatched and
links them to the their actual source
Allow the selection among available
resources (user plug-in’s)
Manage the “not yet removed” sequential
components
20 July 2015
Vincenzo Innocente CARF
Fundamentals
5
Framework Ancillary Services





User Interface
Error Report (Exception management)
Logging facilities
Timing facility (statistics gathering)
Utility library

Notably Objy utilities, wrappers and generic
persistent capable classes
20 July 2015
Vincenzo Innocente CARF
Fundamentals
6
Framework middle layer


A CARF Application is characterized by the
events it dispatches
Implementation of generic clients to specific
services (events)




simplified API
uniform detailed design
uniform use of ancillary services
Requires synergy with detectors’ sub-systems
20 July 2015
Vincenzo Innocente CARF
Fundamentals
7
Use Cases
L1 Trigger Simulation
Track Reconstruction
“Physics” reconstruction
L1 Trigger Simulation
detectors
Front-end
trigger logic
Local trigger
Global trigger
Final trigger decision
20 July 2015
Vincenzo Innocente CARF
Fundamentals
9
L1 Trigger Simulation



Accurate simulation of real electronics
In the real experiment only “final decision data”
are propagated forward
Also required




Monitoring of single trigger units
Comparison of L1 trigger w.r.t. full reconstruction
ability to simulate just a part of the system
“save” computing intensive intermediate results
20 July 2015
Vincenzo Innocente CARF
Fundamentals
10
Track Reconstruction
For each “detector element”
there are local measurements
of trajectory state-vector
(just position or more complex)
Local measurements are affected
by the detector element state
(calibrations, alignments)
20 July 2015
Pattern recognition “navigates”
in the detector to associate
local measurements into a track
Vincenzo Innocente CARF
Fundamentals
11
“Physics” reconstruction



4-vector-like objects are built out of
trajectories and localized energy deposits
A wide range of PID, jet, vertex etc
algorithms can be applied to produce
others 4-vector-like objects
Access to the “original” detector data
maybe required
20 July 2015
Vincenzo Innocente CARF
Fundamentals
12
Reconstruction Sources
20 July 2015
Vincenzo Innocente CARF
Fundamentals
13
Reconstruction Scenario

Reproduce “Detector Status” at the moment of
the interaction:





front-end electronics signals (digis)
calibrations
alignments
Perform local reconstruction as a continuation of
the front-end data reduction until objects
“detachable” from the detectors are not obtained
Use these objects to perform physics
reconstruction and analysis
20 July 2015
Vincenzo Innocente CARF
Fundamentals
14
Components




Reconstruction Algorithms
Event Objects
Other services (detector objects,
parameters, etc)
Legacy not-OO data (GEANT3)
20 July 2015
Vincenzo Innocente CARF
Fundamentals
15
CARF Fundamentals
(inside the black box)
Detector Components
Event Driven Notification
Action on Demand
Detector Components
Load simulated
hits from MC
Sim Hit
Loader
Generates Digis
from SimHits
(or loads them Digitizer
from db)
Reconstruct
measured trajectory
state-vector from Digis
20 July 2015
Local
Geometry
Detector
Element
Reconstructor
Vincenzo Innocente CARF
Fundamentals
Global
Geometry
Time
Dependent
Parameters
17
Event Driven Notification
Dispatcher
Obs1
20 July 2015
Obs2
Obs3
Vincenzo Innocente CARF
Fundamentals
Obs4
Observers
18
Active and Lazy Observers
Dispatcher
Lazy
Obs1
uptodate
obsolete
20 July 2015
Lazy
Obs2
uptodate
obsolete
Vincenzo Innocente CARF
Fundamentals
Obs
19
Action “on Demand”
Detector
Element
Rec Hits
Hits
Event
Rec T1
T1
T2
Rec T2
20 July 2015
Analysis
Vincenzo Innocente CARF
Fundamentals
20
“Events” currently dispatched
G3
Geom
Start Xing
Ready to build new
G3 simulated event
SimPileUp
SetUp
New trigger event
SimTrigger ready in Zebra memory
SetUp Observers are Objects
which depend on geometry
20 July 2015
New pile-up event
ready in Zebra memory
G3Event
Vincenzo Innocente CARF
Fundamentals
New event “ready”
to be analyzed
21
“RecObj” Object Model
20 July 2015
Vincenzo Innocente CARF
Fundamentals
22
Object identification

A Detector object collection is identified by:




object type (or super-type)
detector element it belongs to
implicitly belongs to the “current crossing”
Required the detector to be “in place” and
“operational”
20 July 2015
Vincenzo Innocente CARF
Fundamentals
23
Object identification

A RecObj collection is identified by:




object type (or super-type)
name of the Reconstructor (same as RecUnit)
event it belongs to
Does not require the RecUnit to be in
place or operational
20 July 2015
Vincenzo Innocente CARF
Fundamentals
24