Skip to content

Commit

Permalink
Accepting unsigned int du_id
Browse files Browse the repository at this point in the history
  • Loading branch information
lwpiotr committed Dec 4, 2024
1 parent bec0b90 commit 8be0351
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grand/dataio/root_trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ class TRun(MotherRunTree):
"""Origin of the coordinate system used for the array"""

## Detector unit (antenna) ID
du_id: StdVectorListDesc = field(default=StdVectorListDesc("int"))
du_id: StdVectorListDesc = field(default=StdVectorListDesc("int", "unsigned int"))
"""Detector unit (antenna) ID"""
## Detector unit (antenna) (lat,lon,alt) position
du_geoid: StdVectorListDesc = field(default=StdVectorListDesc("vector<float>"))
Expand Down Expand Up @@ -1754,7 +1754,7 @@ class TADC(MotherEventTree):
event_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short"))
"""The T3 trigger number"""
## Detector unit (antenna) ID
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short"))
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short", "unsigned int"))
"""Detector unit (antenna) ID"""
## Unix time of the trigger for this DU
du_seconds: StdVectorListDesc = field(default=StdVectorListDesc("unsigned int"))
Expand Down Expand Up @@ -2031,7 +2031,7 @@ class TRawVoltage(MotherEventTree):

## Specific for each Detector Unit
## Detector unit (antenna) ID
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short"))
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short", "unsigned int"))
"""Detector unit (antenna) ID"""
## Unix time of the trigger for this DU
du_seconds: StdVectorListDesc = field(default=StdVectorListDesc("unsigned int"))
Expand Down Expand Up @@ -2140,7 +2140,7 @@ class TVoltage(MotherEventTree):

## Specific for each Detector Unit
## Detector unit (antenna) ID
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short"))
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short", "unsigned int"))
"""Detector unit (antenna) ID"""
## Unix time of the trigger for this DU
du_seconds: StdVectorListDesc = field(default=StdVectorListDesc("unsigned int"))
Expand Down Expand Up @@ -2199,7 +2199,7 @@ class TEfield(MotherEventTree):

## Specific for each Detector Unit
## Detector unit (antenna) ID
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short"))
du_id: StdVectorListDesc = field(default=StdVectorListDesc("unsigned short", "unsigned int"))
"""Detector unit (antenna) ID"""
## Unix time of the trigger for this DU
du_seconds: StdVectorListDesc = field(default=StdVectorListDesc("unsigned int"))
Expand Down

0 comments on commit 8be0351

Please sign in to comment.