This package is still under development. You can browse the code
here. Currently, it only support conversion from transient to persistency, not
the other way around. And not all the classes have Root persistency yet.
- Atlfast Root Data Classes
Currently, 7 DataObject classes have been defined for the Atlfast. They are:
-
The association from Cluster to Cell (and Jet to Cluster)
is kept in the Root classes, using ATTableMap.
-
McEventCollectionRoot uses two other ROOT classes for HepMc.
One is
HepMcParticleRoot
and the other is
HepMcVertexRoot .
-
Checkout instruction.
To run the root persistency, you need to check out the following packages, then
configure and build as ususal.
setenv CVSROOT /afs/rhic/usatlas/project/localcvs
cp -a ~hma/Athena/2.0.1-Root-keep/src/RootSvc .
cvs co -d GaudiRootCnvSvc packages/AthenaRoot/GaudiRootCnvSvc
cvs co -d AtlfastGaudiRoot packages/AthenaRoot/AtlfastGaudiRoot
cvs co -d EventSelectorGaudiRoot packages/AthenaRoot/EventSelectorGaudiRoot
cvs co -d EventInfoGaudiRoot packages/AthenaRoot/EventInfoGaudiRoot
-
JobOptions
There is one additional JobOptions file for writing the Atlfast objects
to root. It is in share/ directory in the package. Take a look
here .
This file should be added to the top jobOptions file, as is done at the bottom of this
file .
-
Analysis Root Macro
To help with analysis of Atlfast using root session, a few
helper classes are created. They are compiled in the library
libAtlfastGaudiRootDataDef.so, so that they can be loaded into interactive
root session. Currently there are:
-
ACluster:
a helper class for interpreting each row in the cluster table.
-
ACell:
a helper class for interpreting each row in the cluster table.
A root macro is provided in the directory share/,
AtlfastReadEvent.C .
It reads in the root file, iterate over the cells and clusters to make some
histograms. Before running ROOT, you should make sure the local installed
library directory is in LD_LIBRARY_PATH because that is where the DataDef
lib is located.