- Run
rawStudy.py
in CMSSW (eg. CMSSW_13_2_6_patch2) to get as output several RAW files containing each of them one detector (eg.RawStudy_BPIXp.root
). These files will be used to measure the contribution of each detector to the total event size. - Use
makeCircleJSON.py
to make anevents.json
which can be used in Circles (link)
- Make
FEDlist.txt
from OMS - Create
FEDlist.py
usingconvertFedList.py
FEDlist.py
will be used inrawStudy.py
throughgetFEDList.py
- Run
rawStudy.py
selecting a proper RAW root file - You should get files like this
edmEventSize -v RawStudy_BPIXp.root
File RawStudy_BPIXp.root Events 100
Branch Name | Average Uncompressed Size (Bytes/Event) | Average Compressed Size (Bytes/Event)
FEDRawDataCollection_FEDBPIXpSelector__RAWSizeStudy. 119913 93922.8
EventAuxiliary 120.07 27.38
EventSelections 79.21 4.66
EventProductProvenance 30.56 3.78
BranchListIndexes 26.31 3.12
- Run
makeCircleJSON.py > events.json
to create theevents.json
- Load
events.json
incircles/web/data
in your Circles website (see (link). - Copy
eventSize.json
in yourcircles/web/groups
- Adapt
circle/web/piechart.html
andcircle/web/piechart.php
as follow
if (config.resource.startsWith("time_")) {
current.unit = " ms";
current.title = "Time";
+ } else if (config.resource.startsWith("size_")) {
+ current.unit = " kB";
+ current.title = "Size";
} else if (config.resource.startsWith("mem_")) {
current.unit = " kB";
current.title = "Memory";