Skip to content

add occupancy banks and bookkeeping class - #1469

Open
baltzell wants to merge 72 commits into
developmentfrom
occupancy
Open

baltzell wants to merge 72 commits into
developmentfrom
occupancy

Conversation

@baltzell

@baltzell baltzell commented Oct 1, 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
  • 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
  • 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 occupancy add occupancy banks and bookkeeping class Oct 1, 2026
@baltzell
baltzell marked this pull request as ready for review October 1, 2026 23:17
@baltzell baltzell added the calib label Oct 1, 2026
@baltzell baltzell added this to the Pass 3 milestone Oct 1, 2026
@baltzell
baltzell enabled auto-merge (squash) October 2, 2026 15:06

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant