|
dict | data = field(default_factory=lambda: defaultdict(set)) |
|
Definition at line 50 of file __main__.py.
◆ add_value()
None tpreplay_application.__main__.ROUPlaneData.add_value |
( |
| self, |
|
|
str | rou, |
|
|
int | plane ) |
Definition at line 53 of file __main__.py.
53 def add_value(self, rou: str, plane: int) -> None:
54 self.data[rou].add(plane)
55
◆ get_values()
set[int] tpreplay_application.__main__.ROUPlaneData.get_values |
( |
| self, |
|
|
str | rou ) |
Definition at line 56 of file __main__.py.
56 def get_values(self, rou: str) -> set[int]:
57 return self.data.get(rou, set())
58
◆ total_plane_count()
int tpreplay_application.__main__.ROUPlaneData.total_plane_count |
( |
| self | ) |
|
Definition at line 59 of file __main__.py.
59 def total_plane_count(self) -> int:
60 return sum(len(planes) for planes in self.data.values())
61
62
63@dataclass
◆ data
dict tpreplay_application.__main__.ROUPlaneData.data = field(default_factory=lambda: defaultdict(set)) |
|
static |
The documentation for this class was generated from the following file:
- /github/workspace/dunedaq/sourcecode/trigger/python/trigger/tpreplay_application/__main__.py