Skip to content

add occupancy banks and bookkeeping class, add to ClaraWriter and recon-util - #1530

Open
baltzell wants to merge 3 commits into
developmentfrom
occupancer
Open

baltzell wants to merge 3 commits into
developmentfrom
occupancer

Conversation

@baltzell

@baltzell baltzell commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

This adds new occupancy banks and bookkeeping class, to reduce the calibration data volume from detector hit banks. Occupancy bank names are the same as their hit bank, prefixed by "OCC::":

        "name": "OCC::FTOF::adc",
        "group": 500,
        "item": 14,
        "info": "Occupancy Bank",
        "entries": [
            { "name":"sector"    , "type":"B", "info":"sector"},
            { "name":"layer"     , "type":"B", "info":"layer"},
            { "name":"component" , "type":"S", "info":"component"},
            { "name":"order"     , "type":"B", "info":"order"},
            { "name":"hits"      , "type":"F", "info":"number of hits"}
        ]
  • Occupancy bank naming and numbering
  • Occupancy banks includes in base dst schema
  • Use FilteredBank for order-hijacking by denoising
  • Index count determined based on schema; 4-order for FTOF/CTOF/CND
  • Ignore bank rows with negative indices (not supported byIndexedTable)
  • Added to recon-util and Clas12Writer Clara service with occupancyPrescale=1000
  • new YAML variable occupancyPrescale (Clara only)

The main consumer of these new occupancy banks is clas12-timeline.

Depends on #1380, #1381, #1382, #1383.

An example occupancy bank (before adding order for TOF detectors):
llama

With a prescale of 100:
dog

And the default 1000:
cat

@baltzell baltzell changed the title recreate occupancy add occupancy banks and bookkeeping class, add to ClaraWriter and recon-util Oct 21, 2026
@baltzell
baltzell marked this pull request as ready for review October 21, 2026 23:28

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant