Cargando…

Twelve Ways to Build CMS Crossings from ROOT Files

The simulation of CMS raw data requires the random selection of one hundred and fifty pileup events from a very large set of files, to be superimposed in memory to the signal event. The use of ROOT I/O for that purpose is quite unusual: the events are not read sequentially but pseudo-randomly, they...

Descripción completa

Detalles Bibliográficos
Autores principales: Chamont, D., Charlot, C.
Lenguaje:eng
Publicado: 2003
Materias:
Acceso en línea:http://cds.cern.ch/record/621589
_version_ 1780900408990892032
author Chamont, D.
Charlot, C.
author_facet Chamont, D.
Charlot, C.
author_sort Chamont, D.
collection CERN
description The simulation of CMS raw data requires the random selection of one hundred and fifty pileup events from a very large set of files, to be superimposed in memory to the signal event. The use of ROOT I/O for that purpose is quite unusual: the events are not read sequentially but pseudo-randomly, they are not processed one by one in memory but by bunches, and they do not contain orthodox ROOT objects but many foreign objects and templates. In this context, we have compared the performance of ROOT containers versus the STL vectors, and the use of trees versus a direct storage of containers. The strategy with best performances is by far the one using clones within trees, but it stays hard to tune and very dependant on the exact use-case. The use of STL vectors could bring more easily similar performances in a future ROOT release.
id cern-621589
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2003
record_format invenio
spelling cern-6215892023-03-14T19:59:42Zhttp://cds.cern.ch/record/621589engChamont, D.Charlot, C.Twelve Ways to Build CMS Crossings from ROOT FilesComputing and ComputersThe simulation of CMS raw data requires the random selection of one hundred and fifty pileup events from a very large set of files, to be superimposed in memory to the signal event. The use of ROOT I/O for that purpose is quite unusual: the events are not read sequentially but pseudo-randomly, they are not processed one by one in memory but by bunches, and they do not contain orthodox ROOT objects but many foreign objects and templates. In this context, we have compared the performance of ROOT containers versus the STL vectors, and the use of trees versus a direct storage of containers. The strategy with best performances is by far the one using clones within trees, but it stays hard to tune and very dependant on the exact use-case. The use of STL vectors could bring more easily similar performances in a future ROOT release.The simulation of CMS raw data requires the random selection of one hundred and fifty pileup events from a very large set of files, to be superimposed in memory to the signal event. The use of ROOT I/O for that purpose is quite unusual: the events are not read sequentially but pseudo-randomly, they are not processed one by one in memory but by bunches, and they do not contain orthodox ROOT objects but many foreign objects and templates. In this context, we have compared the performance of ROOT containers versus the STL vectors, and the use of trees versus a direct storage of containers. The strategy with best performances is by far the one using clones within trees, but it stays hard to tune and very dependant on the exact use-case. The use of STL vectors could bring more easily similar performances in a future ROOT release.cs/0306056CHEP-2003-TUKT004CMS-CR-2003-019oai:cds.cern.ch:6215892003-06-12
spellingShingle Computing and Computers
Chamont, D.
Charlot, C.
Twelve Ways to Build CMS Crossings from ROOT Files
title Twelve Ways to Build CMS Crossings from ROOT Files
title_full Twelve Ways to Build CMS Crossings from ROOT Files
title_fullStr Twelve Ways to Build CMS Crossings from ROOT Files
title_full_unstemmed Twelve Ways to Build CMS Crossings from ROOT Files
title_short Twelve Ways to Build CMS Crossings from ROOT Files
title_sort twelve ways to build cms crossings from root files
topic Computing and Computers
url http://cds.cern.ch/record/621589
work_keys_str_mv AT chamontd twelvewaystobuildcmscrossingsfromrootfiles
AT charlotc twelvewaystobuildcmscrossingsfromrootfiles