na64sw

Tutorial

  • Tutorial

Reference

  • Standard Handlers Library
    • MSADC hit-related standard handlers
    • APV hit-related standard handlers
    • F1 hit-related standard handlers
      • Subjects: hit and raw data structs
      • Handlers list
    • Calorimeter hit-related standard handlers
    • APV cluster-related standard handlers
    • Track Score standard handlers
    • Handlers related to tracking
    • Generic Handlers
  • Troubleshooting
  • Known Issues
  • Utilities Library

Other

  • Advanced Topics
  • Extending hit info with MC data (STRAWs)
na64sw
  • »
  • Standard Handlers Library »
  • F1 hit-related standard handlers
  • View page source

F1 hit-related standard handlers¶

This page lists handlers related to detectors based on F1 chip (for 2022 only straw detector).

Subjects: hit and raw data structs¶

All the handlers listed below operate with the instances of the F1Hit C/C++ structure (and, optionally with RawDataF1 instance accessed by rawData attribute):

struct F1Hit¶

Representation of a hit on F1-based detector entity

GETTER:

  • rawData.sourceID – DAQ channel source ID (propagated from rawData:RawDataF1, returns sourceID)

  • rawData.portID – DAQ port ID (propagated from rawData:RawDataF1, returns portID)

  • rawData.channel – DAQ detector channel number (propagated from rawData:RawDataF1, returns channel)

  • rawData.channelPosition – channel position (propagated from rawData:RawDataF1, returns channelPosition)

  • rawData.time – Time associated with the channel (propagated from rawData:RawDataF1, returns time)

  • rawData.timeUnit – Time unit (propagated from rawData:RawDataF1, returns timeUnit)

  • rawData.timeDecoded – time in ns wrt trigger time (propagated from rawData:RawDataF1, returns timeDecoded)

  • rawData.timeReference – … (propagated from rawData:RawDataF1, returns timeReference)

  • hitPosition – Reconstructed position of hit

Public Functions

F1Hit(LocalMemory&)¶

A ctr, needs the pool allocator instance to be bound with.

Public Members

mem::Ref<RawDataF1> rawData¶

Raw data as was decoded from DAQ for F1 chip.

double hitPosition¶

Reconstructed position of hit.

struct RawDataF1¶

Raw data of an F1 digit

GETTER:

  • sourceID – DAQ channel source ID

  • portID – DAQ port ID

  • channel – DAQ detector channel number

  • channelPosition – channel position

  • time – Time associated with the channel

  • timeUnit – Time unit

  • timeDecoded – time in ns wrt trigger time

  • timeReference – …

Public Functions

inline RawDataF1()¶

Default ctr (creates uninitialized instance of RawDataF1.

inline RawDataF1(LocalMemory&)¶

A ctr, ignores memory arg (creates uninitialized instance of RawDataF1. Needed to simplify compatibility with template code.

Public Members

uint16_t sourceID¶

DAQ channel source ID.

uint16_t portID¶

DAQ port ID.

int32_t channel¶

DAQ detector channel number.

int32_t channelPosition¶

channel position

int32_t time¶

Time associated with the channel.

double timeUnit¶

Time unit.

double timeDecoded¶

time in ns wrt trigger time

double timeReference¶

…

Note, that F1Hit may have its rawData reference unset. For instance, when events are read from Monte-Carlo data source.

Handlers list¶

This handlers deal with (M)SADC hits at the very basic level of DAQ digits.

group f1-handlers
Next Previous

© Copyright 2022, NA64 Collaboration (CERN).

Built with Sphinx using a theme provided by Read the Docs.