ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcSrcIdMap.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ZDCSRCIDMAP_H
6#define ZDCSRCIDMAP_H
7
8#include <stdint.h>
9
10#include "eformat/SourceIdentifier.h"
11
12
23
25
26public:
28
30 static uint32_t getRodID (int crate,
31 int slink,
32 int daqOrRoi,
33 eformat::SubDetector subdet);
34
36 static uint32_t getRobID (uint32_t rod_id);
37
39 static uint32_t getRosID (uint32_t rob_id);
40
42 static uint32_t getDetID (uint32_t ros_id);
43
45 static int crate(uint32_t code);
46
47 // What is this ??
49 static int daqOrRoi(uint32_t code);
50
52 static int slink(uint32_t code);
53
55 static int maxSlinks();
56
58 static eformat::SubDetector subDet(uint32_t code);
59};
60
61#endif
ZdcSrcIdMap()
ZdcSrcId.
static uint32_t getRosID(uint32_t rob_id)
ROB -> ROS.
static eformat::SubDetector subDet(uint32_t code)
ID -> sub-detector.
static uint32_t getDetID(uint32_t ros_id)
ROS -> SubDetector.
static uint32_t getRobID(uint32_t rod_id)
ROD -> ROB.
static int crate(uint32_t code)
moduleID -> crate
static uint32_t getRodID(int crate, int slink, int daqOrRoi, eformat::SubDetector subdet)
Make a ROD Source ID.
static int maxSlinks()
Return the maximum possible number of slinks.
static int daqOrRoi(uint32_t code)
moduleID -> daqOrRoi
static int slink(uint32_t code)
moduleID -> slink