Twelve Ways to Build CMS Crossings from ROOT Files - IN2P3 - Institut national de physique nucléaire et de physique des particules Access content directly
Conference Papers Year : 2003

Twelve Ways to Build CMS Crossings from ROOT Files

D. Chamont


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.

Dates and versions

in2p3-00084739 , version 1 (10-07-2006)



D. Chamont, C. Charlot. Twelve Ways to Build CMS Crossings from ROOT Files. 2003 Computing in High Energy and Nuclear Physics (CHEP03), Mar 2003, La Jolla, United States. pp.1-8. ⟨in2p3-00084739⟩
7 View
0 Download



Gmail Facebook Twitter LinkedIn More