Skip to content

Proposal for Waveform and Raw HGCROC Hit #89

Open
@ruse-traveler

Description

@ruse-traveler

PXL_20240725_235606610

One of the items discussed during the July 2024 ePIC Collaboration Meeting was the steps needed to better simulate the HGCROC. One thing identified was the need to make sure we have the data types necessary to capture both the waveform produced by a SiPM as well as the output of the HGCROC.

Describe the solution you'd like

For the waveform, we could make use of edm4hep::RawTimeSeries (from here).:

  edm4hep::RawTimeSeries:
    Description: "Raw data of a detector readout"
    Author: "EDM4hep authors"
    Members:
       - uint64_t cellID  // detector specific cell id
       - int32_t quality               // quality flag for the hit
       - float time [ns]               // time of the hit
       - float charge [fC]             // integrated charge of the hit
       - float interval [ns]           // interval of each sampling
    VectorMembers:
       - int32_t adcCounts          // raw data (32-bit) word at i

But for the HGCROC output, we would need to extend what's already in edm4hep::RawCalorimeterHit. For example:

edm4eic::RawHGCROCHit:
  Description: "Raw hit from an HGCROC"
  Author: "H. G. Croc"
  Members:
    - uint64_t cellID // detector specific (geometrical) cell id
    - int32_t timeOfArrival // ToA value [adc counts]
    - int32_t timeOverThreshold // ToT value [adc counts]
    - int32_t amplitude // amplitude of hit [adc counts]
    - int32_t timeSamp // time stamp for the hit

Describe alternatives you've considered

One alternate approach could be to save only one of the values from the HGCROC (e.g. amplitude) in edm4hep::RawCalorimeterHit

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions