amore - CERN Indico

AMORE and QA
Barthélémy von Haller
CERN PH/AID
Outline
•
•
•
•
Reminder on AMORE and its components
Reminder on the QA release procedure
Responsibilities at P2
Status
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
2
MonitorObjects Producers
CAF
Prompt
Reco
HLT
AliEve
Objects
Event
HOMER
GDC
LDC
File
Data
samples
Event
Histograms
AliRoot
QA
Oct. 28, 2009 - Offline Week
Plots, ESD’s
Monitor
Objects
Agent
Under
development / test
Data Pool
Monitor
Objects
Client
Monitor Objects
DA
Barthélémy von Haller – CERN PH/AID
3
Offline Core &
ROOT Teams
CR2
HLT nodes
eLogBook
Detector
code
Detector Team
ACR
DAQ Team
CR1
Detector
GUI
Detector
Shifter
DQM/QA
Shifter
Generic
GUI
Detector
Shifter
DQM/QA
Shifter
DA/DQM nodes
Detector
agents
Histo, objects
DA’s
Detector
QAs (expert
On-Call
Experts
Obj.
Histograms
AMORE
DB
AliEve
Expert
Access
MonALISA
ACR
2 Offline
Shifters
AliEve
ACR
Projector
& shifter)
Prompt
Reco 2x
Histo, ESD’s
CERN CC
CAF
Different types of agents
Expert
Shifter
QA
This one or …Mandatory
Mandatory
DQM custom module
… this one must
Choose a subset
be working online of histograms
June 16, 2009 – Conference title
Barthélémy von Haller – CERN PH/AID
If it works for
the shifter
plots it works
for the expert
plots
5
Release procedures
• QA release procedure :
• Follow the offline release policy
• Must be tested with AMORE to make sure it works
fine online
• Once it is in an official AliRoot tag, we install it at P2
• Weekly time slot (currently on Wed. morning)
– to install AliRoot at P2
– No impact on data taking
– But all QA agents must be stopped and restarted
• Requires some discipline from detector groups
– Code can be deployed at P2 2 to 10 days after being
committed
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
6
Operations : starting agents (1)
• Agents will be started by the QA/DQM shifter
• Tool developed for this purpose
Filtering
Running agent(s)
Available agent(s)
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
7
Operations : starting agents (2)
• Current situation:
Agents
Started by
QA shifter
QA/DQM shifter
QA expert
Detectors team, or QA/DQM
shifter if properly setup
Detectors’ agents
Detectors team, or QA/DQM
shifter if properly setup
Prompt reco : histogram and
ESD’s publisher
QA/DQM shifter
Prompt reco : publisher for
AliEVE on big screen
Offline shifter
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
8
Operations : checking objects (1)
• Objects must be divided into two sets :
– Expert: check by detectors experts
– Shifter: check by DQM shifters (or detector shifter)
– This is the case for QA
• Number of shifter’s histograms must be limited
• Shifter’s histograms must be easy to understand
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
9
Operations : checking objects (2)
• Current situation:
Objects published by…
Checked by…
QA shifter
QA/DQM shifter
QA expert
Detectors team
Detectors’ agents (no shifterexpert distinction)
Detectors team
Prompt reco : histogram and
ESD’s publisher
QA/DQM shifter
Prompt reco : publisher for
AliEVE on big screen
Everybody
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
10
User Interface
• Generic GUI
– Displays common objects (histograms, numbers,
string,…)
– Gives a tree-like view of the objects
– Indicates the quality of each object
– Used to monitor the QA shifter objects
• Custom GUI
– Displays in a custom way common objects or
home-defined objects
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
11
Generic GUI
Red square: bad quality
Green square: good quality
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
12
Status [1]
A
C
O E
R
D
C
P
V
E
M
C
a
l
Works offline
Tested online on test
system
F
M
D
HM M
MU MU T
P O CO R
I N HN G
DT
_
Rev11
Rev11
Rev11
Rev11
Rev11
P
M
D
trunk
Rev12
?
Tested at P2
Production
P
H
O
S
S
D
D
S
P
D
S
S
D
T
0
T
O
F
T
P
C
Rev11
Rev12
Rev12 Rev12
?
?
Rev12
?
Rev09
b
Rev11 Rev11
T
R
D
V
0
Rev11
Rev09
b
Z
D
C
• Reconstruction agent : working on test machine, still some work
• Correlation agent : under development
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
13
Conclusion
• Online QA and detector’s custom agents are
complementary and respond to different
needs
• The same is true for the custom user interface
and the Generic Gui
• Code can be deployed at P2 2 to 10 days after
being committed
• Be careful with what you commit and test it
extensively !
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
14
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
15
BACKUP
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
16
QA and DQM experts agents
• QA :
–
–
–
–
Code entirely in AliRoot repository
Released as the same pace as AliRoot
Can be used online and offline
As much as possible in this category
• DQM (custom modules) :
– Released on demand, module per module
– Used for
• Analysis / check that don’t make sense offline
• Quick test of a new QA
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
17
Release procedures (2)
• DQM strict release procedures :
• Detectors : Commit all changes,
update version number, ask for a new version
• DAQ : Validate the module by compiling it, producing
an rpm and running publisher over a set of test files
• Install it at P2 if validation passed successfully
• Set up environment for an easy launch by shifters
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
18
New features and changes
• HLT objects to AMORE (see manual)
• Publications (and un-publications) not only
during BookMonitorObjects() but also at SOR()
 Adapt your GUI to handle it, if needed
• Logbook : access to AMORE objects
• QA generic agent : species Cosmic instead of
Default
• Quality flag : please use it
June 16, 2009 – Conference title
Barthélémy von Haller – CERN PH/AID
19
DQM – QA – Prompt RECO
ACR
CR2
Detector
Detector
Detector
code
QAs
QAs
HLT
nodes
DQM
node
DQM
node
Detector Team
Detector
GUI
Detector
Shifter
ACR
DQM/QA
Shifter
AMORE
Generic
GUI
ACR
DQM/QA
Shifter
CR1
Detector
Detector
Detector
agents,QA
QAs
QAs
Offline
Core Team
Prompt
Reco
DQM
DQM
node
DQMnodes
node
Plots
DQM node
AMORE
DB
eLogBook
ESDs
DQM node
AliEve
DQM node
CERN CC
CAF
AliEve
On-Call
Experts
ACR
Projector
Expert
Access
ACR
MonALISA
MonaLisa
2 Offline
Shifters
P. VANDE VYVRE CERN-PH
Custom GUI example
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
21
Status : detectors’ modules
and QA expert
A
Code under development or
developed (number of Modules)
Code in SVN
Estimation of needs
Validation/statistics gathering
requested
Test file(s) available
Proper info.db.txt file
Proper rpm.spec file
Validation passed
RPM released and installed at
Point 2 (version deployed)
Test at point 2 (number of agents)
Agent is completed, prod. Ready
E
HM
M
T
C Please, M
tell
U agent
P
meMifU your
is working fine at P2 !
O
C
C
F
P O TO T
H
P
S
S
S
R
P
a
M
I N RN R
O
M
D
P
S
D E
V
l
D
D_ K_ G
S
D
D
D
D
1
1.8
1
1
1
1
(+1)
1
1*
1
1
1
3
1-2
R
T
T
T
T
O
P
R
0
F
C
D
1
1
2
1
Z
DI
H
V
D
AG E
0
C
QG R
L
T
1
1.8 1.8 1.4 1.0 1.3 1.8 1.8 1.4 1.3 1.9 1.8 1.3 1.1 1.2 1.5
1
1
1
1
1
1
3
1
1
1
1
1
1.8
1.0
1
Done
To be done
Won’t be done as the QA is used instead
Oct. 28, 2009 - Offline Week
Barthélémy von Haller – CERN PH/AID
1
22