ATLAS Offline Software
Loading...
Searching...
No Matches
TileCalibUtils Class Reference

Static class providing several utility functions and constants. More...

#include <TileCalibUtils.h>

Collaboration diagram for TileCalibUtils:

Static Public Member Functions

static std::string getFullTag (const std::string &folder, const std::string &tag)
 Returns the full tag string, composed of camelized folder name and tag part.
static unsigned int getDrawerIdx (unsigned int ros, unsigned int drawer)
 Returns a drawer hash.
static unsigned int getDrawerIdxFromFragId (unsigned int fragId)
 Returns a drawer hash from fragId This function assumes drawer context (i.e.
static unsigned int getChanIdx (unsigned int ros, unsigned int drawer, unsigned int channel)
 Returns a channel hash.
static unsigned int getChanIdx (unsigned int drawerIdx, unsigned int channel)
 Returns a channel hash.
static unsigned int getChanIdxFromFragId (unsigned int fragId, unsigned int channel)
 Returns a channel hash.
static unsigned int getAdcIdx (unsigned int ros, unsigned int drawer, unsigned int channel, unsigned int adc)
 Returns an ADC hash.
static unsigned int getAdcIdx (unsigned int drawerIdx, unsigned int channel, unsigned int adc)
 Returns an ADC hash.
static unsigned int getAdcIdxFromFragId (unsigned int fragId, unsigned int channel, unsigned int adc)
 Returns an ADC hash.
static unsigned int getMaxDrawer (unsigned int ros)
 Returns the maximal channel number for a given drawer.
static unsigned int getCommentChannel ()
 Returns the COOL channel number for the comment channel.
static std::string getDrawerString (unsigned int ros, unsigned int drawer)
 Return the drawer name, e.g.
static unsigned int getDefaultDrawerIdx (unsigned int drawerIdx)
 Returns the default drawer for a given input drawer.
static unsigned int getDefaultDrawerIdx (unsigned int ros, unsigned int drawer)
 Returns the default drawer for a given input drawer.
static unsigned int getFirstDrawerInPartitionIdx (unsigned int drawerIdx)
 Returns the first drawer Idx in a partition of a given input drawer.
static float fixedPointPrecision (float val, unsigned int nBits=16)
 Returns the input in fixed point precision.
static unsigned int max_ros ()
 Python compatibility function.
static unsigned int max_drawer ()
 Python compatibility function.
static unsigned int max_drawr0 ()
 Python compatibility function.
static unsigned int max_chan ()
 Python compatibility function.
static unsigned int max_gain ()
 Python compatibility function.
static unsigned int max_draweridx ()
 Python compatibility function.
static unsigned int trips_draweridx ()
 Python compatibility function.
static unsigned int trips_ros ()
 Python compatibility function.
static unsigned int trips_drawer ()
 Python compatibility function.
static unsigned int definitions_draweridx ()
 Python compatibility function.
static unsigned int bad_definition_chan ()
 Python compatibility function.
static unsigned int noisy_definition_chan ()
 Python compatibility function.
static unsigned int nogainl1_definition_chan ()
 Python compatibility function.
static unsigned int badtiming_definition_chan ()
 Python compatibility function.
static unsigned int wrongbcid_definition_chan ()
 Python compatibility function.
static unsigned int timingdmubcoffset_definition_chan ()
 Python compatibility function.

Static Public Attributes

static const unsigned int MAX_ROS = 5
 Number of ROSs.
static const unsigned int MAX_DRAWER = 64
 Number of drawers in ROS 1-4.
static const unsigned int MAX_DRAWR0 = 20
 Number of drawers in ROS 0.
static const unsigned int MAX_CHAN = 48
 Number of channels in drawer.
static const unsigned int MAX_GAIN = 2
 Number of gains per channel.
static const unsigned int MAX_DRAWERIDX = 276
 Maximal drawer index.
static const unsigned int LAS_PART_CHAN = 43
 Empty channel number to store laser partition variation.
static const unsigned int TRIPS_DRAWERIDX = 2
 DrawerIdx used for storing trips probabilities.
static const unsigned int TRIPS_ROS = 0
 Ros used for storing trips probabilities.
static const unsigned int TRIPS_DRAWER = 2
 Drawer used for storing trips probabilities.
static const unsigned int DEFINITIONS_DRAWERIDX = 1
 Drawer used for storing of bad and noisy channel definitions.
static const unsigned int BAD_DEFINITION_CHAN = 0
 Channel used for storing of bad channel definitions.
static const unsigned int NOISY_DEFINITION_CHAN = 1
 Channel used for storing of noisy channel definitions.
static const unsigned int NOGAINL1_DEFINITION_CHAN = 2
 Channel used for storing of NoGainLevel1 channel definitions.
static const unsigned int BADTIMING_DEFINITION_CHAN = 3
 Channel used for storing of bad timing channel definitions.
static const unsigned int WRONGBCID_DEFINITION_CHAN = 4
 Channel used for storing of wrong BCID channel definitions.
static const unsigned int TIMINGDMUBCOFFSET_DEFINITION_CHAN = 5
 Channel used for storing of affected timing channel definitions.
static const unsigned int MAX_MINIDRAWER = 4
 Number of minidrawers.
static const unsigned int MAX_MINIDRAWER_CHAN = 12
 Number of channels in minidrawer.
static const unsigned int FELIX_FRAGID_OFFSET = 0x1000
 Offset for frag ID used for FELIX in frag ID to ROB ID map.

Detailed Description

Static class providing several utility functions and constants.

Author
Nils Gollub nils..nosp@m.goll.nosp@m.ub@ce.nosp@m.rn.c.nosp@m.h

Definition at line 15 of file TileCalibUtils.h.

Member Function Documentation

◆ bad_definition_chan()

unsigned int TileCalibUtils::bad_definition_chan ( )
inlinestatic

Python compatibility function.

Definition at line 126 of file TileCalibUtils.h.

126{return BAD_DEFINITION_CHAN;}
static const unsigned int BAD_DEFINITION_CHAN
Channel used for storing of bad channel definitions.

◆ badtiming_definition_chan()

unsigned int TileCalibUtils::badtiming_definition_chan ( )
inlinestatic

Python compatibility function.

Definition at line 132 of file TileCalibUtils.h.

static const unsigned int BADTIMING_DEFINITION_CHAN
Channel used for storing of bad timing channel definitions.

◆ definitions_draweridx()

unsigned int TileCalibUtils::definitions_draweridx ( )
inlinestatic

Python compatibility function.

Definition at line 124 of file TileCalibUtils.h.

124{return DEFINITIONS_DRAWERIDX;}
static const unsigned int DEFINITIONS_DRAWERIDX
Drawer used for storing of bad and noisy channel definitions.

◆ fixedPointPrecision()

float TileCalibUtils::fixedPointPrecision ( float val,
unsigned int nBits = 16 )
static

Returns the input in fixed point precision.

Parameters
valThe input value
nBitsNumber of bits used for encoding

Definition at line 268 of file TileCalibUtils.cxx.

269{
270 nBits -= 1;
271
272 //=== get scale
273 int scale = 0;
274 float absVal = std::fabs(val);
275 if(absVal != 0.){
276 scale = static_cast<int>( ::truncf(std::log((std::pow(2., static_cast<int>(nBits)) - 1.)/absVal)*(1./std::log(2.))) );
277 }
278 //=== return input value with fixed point precision
279 return ::roundf(val * std::pow(2., scale)) / std::pow(2., scale);
280}

◆ getAdcIdx() [1/2]

unsigned int TileCalibUtils::getAdcIdx ( unsigned int drawerIdx,
unsigned int channel,
unsigned int adc )
static

Returns an ADC hash.

This function assumes drawer context

Parameters
drawerIdxThe drawer index
channelThe channel number
adcThe gain index

Definition at line 118 of file TileCalibUtils.cxx.

119{
120 if(adc >= MAX_GAIN) throw TileCalib::IndexOutOfRange("TileCalibUtils::getAdcIdx", adc, MAX_GAIN);
121 return getChanIdx(drawerIdx, channel) * MAX_GAIN + adc;
122}
static const unsigned int MAX_GAIN
Number of gains per channel.
static unsigned int getChanIdx(unsigned int ros, unsigned int drawer, unsigned int channel)
Returns a channel hash.

◆ getAdcIdx() [2/2]

unsigned int TileCalibUtils::getAdcIdx ( unsigned int ros,
unsigned int drawer,
unsigned int channel,
unsigned int adc )
static

Returns an ADC hash.

This function assumes ADC context)

Parameters
rosThe ROS index
drawerThe drawer index
channelThe channel number
adcThe gain index

Definition at line 109 of file TileCalibUtils.cxx.

110{
111 if(adc >= MAX_GAIN) throw TileCalib::IndexOutOfRange("TileCalibUtils::getAdcIdx", adc, MAX_GAIN);
112 return getChanIdx(ros, drawer, channel) * MAX_GAIN + adc;
113}

◆ getAdcIdxFromFragId()

unsigned int TileCalibUtils::getAdcIdxFromFragId ( unsigned int fragId,
unsigned int channel,
unsigned int adc )
static

Returns an ADC hash.

This function assumes drawer context

Parameters
fragIdThe fragment id
channelThe channel number
adcThe gain index

Definition at line 127 of file TileCalibUtils.cxx.

128{
129 if(adc >= MAX_GAIN) throw TileCalib::IndexOutOfRange("TileCalibUtils::getAdcIdx", adc, MAX_GAIN);
130 return getChanIdxFromFragId(fragId, channel) * MAX_GAIN + adc;
131}
static unsigned int getChanIdxFromFragId(unsigned int fragId, unsigned int channel)
Returns a channel hash.

◆ getChanIdx() [1/2]

unsigned int TileCalibUtils::getChanIdx ( unsigned int drawerIdx,
unsigned int channel )
static

Returns a channel hash.

This function assumes channel context

Parameters
drawerIdxThe drawer index
channelThe channel number

Definition at line 90 of file TileCalibUtils.cxx.

91{
92 if(drawerIdx >= MAX_DRAWERIDX) throw TileCalib::IndexOutOfRange("TileCalibUtils::getChanIdx(drawIdx)", channel, MAX_DRAWERIDX);
93 if(channel >= MAX_CHAN ) throw TileCalib::IndexOutOfRange("TileCalibUtils::getChanIdx(channel)", channel, MAX_CHAN);
94 return drawerIdx * MAX_CHAN + channel;
95}
static const unsigned int MAX_DRAWERIDX
Maximal drawer index.
static const unsigned int MAX_CHAN
Number of channels in drawer.

◆ getChanIdx() [2/2]

unsigned int TileCalibUtils::getChanIdx ( unsigned int ros,
unsigned int drawer,
unsigned int channel )
static

Returns a channel hash.

This function assumes channel context

Parameters
rosThe ROS index
drawerThe drawer index
channelThe channel number

Definition at line 81 of file TileCalibUtils.cxx.

82{
83 if(channel >= MAX_CHAN) throw TileCalib::IndexOutOfRange("TileCalibUtils::getChanIdx", channel, MAX_CHAN);
84 return getDrawerIdx(ros, drawer) * MAX_CHAN + channel;
85}
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.

◆ getChanIdxFromFragId()

unsigned int TileCalibUtils::getChanIdxFromFragId ( unsigned int fragId,
unsigned int channel )
static

Returns a channel hash.

This function assumes channel context

Parameters
fragIdThe fragment id
channelThe channel number

Definition at line 100 of file TileCalibUtils.cxx.

101{
102 if(channel >= MAX_CHAN) throw TileCalib::IndexOutOfRange("TileCalibUtils::getChanIdx", channel, MAX_CHAN);
103 return getDrawerIdxFromFragId(fragId) * MAX_CHAN + channel;
104}
static unsigned int getDrawerIdxFromFragId(unsigned int fragId)
Returns a drawer hash from fragId This function assumes drawer context (i.e.

◆ getCommentChannel()

unsigned int TileCalibUtils::getCommentChannel ( )
inlinestatic

Returns the COOL channel number for the comment channel.

WARNING: The comment channel number should never be changed!

Definition at line 82 of file TileCalibUtils.h.

82{return 1000;}

◆ getDefaultDrawerIdx() [1/2]

unsigned int TileCalibUtils::getDefaultDrawerIdx ( unsigned int drawerIdx)
static

Returns the default drawer for a given input drawer.

Parameters
drawerIdxThe input drawer index

Definition at line 163 of file TileCalibUtils.cxx.

163 {
164
165 //=== Global Detector defaults in 0 - 3
166 //===
167 //=== Defaults for LB in 4 - 11
168 //=== Defaults for EB in 12 - 19
169 //===
170 //===
171 //=== Defaults are further shifted in extended barrel:
172 //--- + 1 for Inner MBTS and special C10
173 //--- + 2 for Outer MBTS
174 //--- + 3 for Merged E1
175 //--- + 4 for E4'
176 //--- + 5 for Special D40 with missing D4: EBA15/EBC18
177 //--- + 6 for Special D4 reduced in size
178 //--- + 7 for D4 on the top of EB around special D4
179 //
180 //--- e.g.:
181
182 //--- LB in 4
183
184 //--- EB in 12
185 //--- EB (Inner MBTS + special C10) in 13
186 //--- EB (Outer MBTS) in 14
187 //--- EB (Merged E1) in 15
188 //--- EB (E4') in 16
189 //--- EB (Special D40: EBA15/EBC18) in 17
190 //--- EB (Special D4 reduced in size) in 18
191 //--- EB (D4 on the top of EB around specail D4) in 19
192
193
194 //=== defaults for defaults
195 if(drawerIdx < MAX_DRAWR0) {
196 if (drawerIdx < 4) return 0;
197 unsigned int mod = (drawerIdx - 4) % 8;
198 return mod > 0 ? drawerIdx - mod : 0;
199 }
200
201
202 //=== defaults for existing drawers
203 drawerIdx -= MAX_DRAWR0;
204 if (drawerIdx < 2 * MAX_DRAWER) return 4; // LB
205
206 drawerIdx -= 2 * MAX_DRAWER;
207 if (drawerIdx < MAX_DRAWER) { // EBA
208
209 int OffsetEBA[] = { 0, 0, 0, 0, 0, 0, 3, 2, // Merged E+1: EBA07; Outer MBTS: EBA08
210 0, 0, 0, 0, 7, 6, 5, 7, // D+4: EBA13, EBA16; Special D+4: EBA14; Special D+40: EBA15
211 7, 6, 6, 7, 0, 0, 0, 2, // D+4: EBA17, EBA20; Special D+4: EBA18, EBA19; Outer MBTS: EBA24
212 3, 0, 0, 0, 0, 0, 0, 0, // Merged E+1: EBA25
213 0, 0, 0, 0, 0, 0, 1, 1, // Inner MBTS + special C+10: EBA39, EBA40
214 1, 1, 2, 3, 0, 0, 0, 0, // Inner MBTS + special C+10: EBA41, EBA42; Outer MBTS: EBA43; Merged E+1: EBA44
215 0, 0, 0, 0, 3, 2, 1, 1, // Merged E+1: EBA53; Outer MBTS: EBA54; Inner MBTS + special C+10: EBA55, EBA56
216 1, 1, 0, 0, 0, 0, 0, 0 // Inner MBTS + special C+10: EBA57, EBA58
217
218 };
219
220 return 12 + OffsetEBA[drawerIdx];
221
222 }
223
224 // EBC
225 drawerIdx -= MAX_DRAWER;
226 int OffsetEBC[] = { 0, 0, 0, 0, 0, 0, 3, 2, // Merged E-1: EBC07; Outer MBTS: EBC08
227 0, 0, 0, 0, 7, 6, 6, 7, // D-4: EBC13, EBC16; Special D-4: EBC14, EBC15;
228 7, 5, 6, 7, 0, 0, 0, 2, // D-4: EBC17, EBC20; Special D-40 EBC18; Special D-4: EBC19; Outer MBTS: EBC24
229 3, 0, 0, 3, 4, 0, 3, 4, // Merged E-1: EBC25, EBC28, EBC31; E-4': EBC29, EBC32
230 0, 4, 3, 0, 4, 3, 1, 1, // E-4': EBC34, EBC37; Merged E-1: EBC35, EBC38; Inner MBTS + special C-10: EBC39, EBC40
231 1, 1, 2, 3, 0, 0, 0, 0, // Inner MBTS + special C-10: EBC41, EBC42; Outer MBTS: EBC43; Merged E-1: EBC44
232 0, 0, 0, 0, 3, 2, 1, 1, // Merged E-1: EBC53; Outer MBTS: EBC54; Inner MBTS + special C-10: EBC55, EBC56
233 1, 1, 0, 0, 0, 0, 0, 0 // Inner MBTS + special C-10: EBC57, EBC58
234 };
235
236 // Without this check we get a cppcheck false positive.
237 if (drawerIdx >= std::size(OffsetEBC)) std::abort();
238 return 12 + OffsetEBC[drawerIdx];
239
240}
static const unsigned int MAX_DRAWER
Number of drawers in ROS 1-4.
static const unsigned int MAX_DRAWR0
Number of drawers in ROS 0.

◆ getDefaultDrawerIdx() [2/2]

unsigned int TileCalibUtils::getDefaultDrawerIdx ( unsigned int ros,
unsigned int drawer )
static

Returns the default drawer for a given input drawer.

Parameters
rosThe input ros
drawerThe input drawer

Definition at line 245 of file TileCalibUtils.cxx.

246{
247 return getDefaultDrawerIdx(getDrawerIdx(ros, drawer));
248}
static unsigned int getDefaultDrawerIdx(unsigned int drawerIdx)
Returns the default drawer for a given input drawer.

◆ getDrawerIdx()

unsigned int TileCalibUtils::getDrawerIdx ( unsigned int ros,
unsigned int drawer )
static

Returns a drawer hash.

This function assumes drawer context (i.e. only ROS and drawer are present)

Parameters
rosThe ROS index
drawerThe drawer index

Definition at line 60 of file TileCalibUtils.cxx.

61{
62 if(ros >= MAX_ROS){ throw TileCalib::IndexOutOfRange("TileCalibUtils::getDrawerIdx", ros , MAX_ROS );}
63 if(!ros){ if(drawer >= MAX_DRAWR0) throw TileCalib::IndexOutOfRange("TileCalibUtils::getDrawerIdx", drawer, MAX_DRAWR0);}
64 else { if(drawer >= MAX_DRAWER) throw TileCalib::IndexOutOfRange("TileCalibUtils::getDrawerIdx", drawer, MAX_DRAWER);}
65 return (ros == 0 ? 0 : MAX_DRAWR0 + (ros - 1) * MAX_DRAWER) + drawer;
66}
static const unsigned int MAX_ROS
Number of ROSs.

◆ getDrawerIdxFromFragId()

unsigned int TileCalibUtils::getDrawerIdxFromFragId ( unsigned int fragId)
static

Returns a drawer hash from fragId This function assumes drawer context (i.e.

only ROS and drawer are present)

Parameters
fragIdThe fragment id, e.g. 0x100 for LBA01

Definition at line 71 of file TileCalibUtils.cxx.

72{
73 unsigned int ros = fragId >> 8;
74 unsigned int drawer = fragId & 0xFF;
75 return getDrawerIdx(ros, drawer);
76}

◆ getDrawerString()

std::string TileCalibUtils::getDrawerString ( unsigned int ros,
unsigned int drawer )
static

Return the drawer name, e.g.

LBA17

Definition at line 145 of file TileCalibUtils.cxx.

146{
147 //=== check for valid index
148 TileCalibUtils::getDrawerIdx(ros, drawer);
149 //=== build ros name
150 std::ostringstream name;
151 if (ros == 1){ name << "LBA"; }
152 else if(ros == 2){ name << "LBC"; }
153 else if(ros == 3){ name << "EBA"; }
154 else if(ros == 4){ name << "EBC"; }
155 else{ name << "AUX"; }
156 //=== add drawer number
157 name << std::setw(2) << std::setfill('0') << drawer + 1;
158 return name.str();
159}

◆ getFirstDrawerInPartitionIdx()

unsigned int TileCalibUtils::getFirstDrawerInPartitionIdx ( unsigned int drawerIdx)
static

Returns the first drawer Idx in a partition of a given input drawer.

Parameters
drawerIdxThe input drawer index

Definition at line 253 of file TileCalibUtils.cxx.

254{
255 if(drawerIdx >= MAX_DRAWERIDX) throw TileCalib::IndexOutOfRange("TileCalibUtils::getChanIdx(drawIdx)", 0, MAX_DRAWERIDX);
256
257 unsigned int drawer0 = 0;
258 if(drawerIdx < MAX_DRAWR0) return drawer0;
259 else if(drawerIdx < MAX_DRAWR0 + 1 * MAX_DRAWER) return MAX_DRAWR0;
260 else if(drawerIdx < MAX_DRAWR0 + 2 * MAX_DRAWER) return MAX_DRAWR0 + 1 * MAX_DRAWER;
261 else if(drawerIdx < MAX_DRAWR0 + 3 * MAX_DRAWER) return MAX_DRAWR0 + 2 * MAX_DRAWER;
262 else return MAX_DRAWR0 + 3 * MAX_DRAWER;
263}

◆ getFullTag()

std::string TileCalibUtils::getFullTag ( const std::string & folder,
const std::string & tag )
static

Returns the full tag string, composed of camelized folder name and tag part.

Parameters
folderThe full COOL folder path capitalized, eg. "/TILE/FILTER/OF1"
tagThe tag part, eg. "XX-YYY"

Definition at line 33 of file TileCalibUtils.cxx.

39{
40
41 std::string folderTag("");
42 bool isLower(true);
43 for (const char& c : folder) {
44 if(c == '/'){
45 isLower = false;
46 } else if(isLower) {
47 folderTag += char(std::tolower(c));
48 } else {
49 folderTag += char(std::toupper(c));
50 isLower = true;
51 }
52 }
53
54 return (folderTag + "-" + tag);
55}

◆ getMaxDrawer()

unsigned int TileCalibUtils::getMaxDrawer ( unsigned int ros)
static

Returns the maximal channel number for a given drawer.

Returns 20 for ros==0, returns 64 for 1 <= ros <= 4.

Parameters
rosThe ROS index

Definition at line 136 of file TileCalibUtils.cxx.

137{
138 if(ros >= MAX_ROS){throw TileCalib::IndexOutOfRange("TileCalibUtils::getMaxDrawer", ros, MAX_ROS);}
139 return ros == 0 ? MAX_DRAWR0 : MAX_DRAWER;
140}

◆ max_chan()

unsigned int TileCalibUtils::max_chan ( )
inlinestatic

Python compatibility function.

Definition at line 112 of file TileCalibUtils.h.

112{return MAX_CHAN;}

◆ max_drawer()

unsigned int TileCalibUtils::max_drawer ( )
inlinestatic

Python compatibility function.

Definition at line 108 of file TileCalibUtils.h.

108{return MAX_DRAWER;}

◆ max_draweridx()

unsigned int TileCalibUtils::max_draweridx ( )
inlinestatic

Python compatibility function.

Definition at line 116 of file TileCalibUtils.h.

116{return MAX_DRAWERIDX;}

◆ max_drawr0()

unsigned int TileCalibUtils::max_drawr0 ( )
inlinestatic

Python compatibility function.

Definition at line 110 of file TileCalibUtils.h.

110{return MAX_DRAWR0;}

◆ max_gain()

unsigned int TileCalibUtils::max_gain ( )
inlinestatic

Python compatibility function.

Definition at line 114 of file TileCalibUtils.h.

114{return MAX_GAIN;}

◆ max_ros()

unsigned int TileCalibUtils::max_ros ( )
inlinestatic

Python compatibility function.

Definition at line 106 of file TileCalibUtils.h.

106{return MAX_ROS;}

◆ nogainl1_definition_chan()

unsigned int TileCalibUtils::nogainl1_definition_chan ( )
inlinestatic

Python compatibility function.

Definition at line 130 of file TileCalibUtils.h.

static const unsigned int NOGAINL1_DEFINITION_CHAN
Channel used for storing of NoGainLevel1 channel definitions.

◆ noisy_definition_chan()

unsigned int TileCalibUtils::noisy_definition_chan ( )
inlinestatic

Python compatibility function.

Definition at line 128 of file TileCalibUtils.h.

128{return NOISY_DEFINITION_CHAN;}
static const unsigned int NOISY_DEFINITION_CHAN
Channel used for storing of noisy channel definitions.

◆ timingdmubcoffset_definition_chan()

unsigned int TileCalibUtils::timingdmubcoffset_definition_chan ( )
inlinestatic

Python compatibility function.

Definition at line 136 of file TileCalibUtils.h.

static const unsigned int TIMINGDMUBCOFFSET_DEFINITION_CHAN
Channel used for storing of affected timing channel definitions.

◆ trips_drawer()

unsigned int TileCalibUtils::trips_drawer ( )
inlinestatic

Python compatibility function.

Definition at line 122 of file TileCalibUtils.h.

122{return TRIPS_DRAWER;}
static const unsigned int TRIPS_DRAWER
Drawer used for storing trips probabilities.

◆ trips_draweridx()

unsigned int TileCalibUtils::trips_draweridx ( )
inlinestatic

Python compatibility function.

Definition at line 118 of file TileCalibUtils.h.

118{return TRIPS_DRAWERIDX;}
static const unsigned int TRIPS_DRAWERIDX
DrawerIdx used for storing trips probabilities.

◆ trips_ros()

unsigned int TileCalibUtils::trips_ros ( )
inlinestatic

Python compatibility function.

Definition at line 120 of file TileCalibUtils.h.

120{return TRIPS_ROS;}
static const unsigned int TRIPS_ROS
Ros used for storing trips probabilities.

◆ wrongbcid_definition_chan()

unsigned int TileCalibUtils::wrongbcid_definition_chan ( )
inlinestatic

Python compatibility function.

Definition at line 134 of file TileCalibUtils.h.

static const unsigned int WRONGBCID_DEFINITION_CHAN
Channel used for storing of wrong BCID channel definitions.

Member Data Documentation

◆ BAD_DEFINITION_CHAN

const unsigned int TileCalibUtils::BAD_DEFINITION_CHAN = 0
static

Channel used for storing of bad channel definitions.

Definition at line 149 of file TileCalibUtils.h.

◆ BADTIMING_DEFINITION_CHAN

const unsigned int TileCalibUtils::BADTIMING_DEFINITION_CHAN = 3
static

Channel used for storing of bad timing channel definitions.

Definition at line 152 of file TileCalibUtils.h.

◆ DEFINITIONS_DRAWERIDX

const unsigned int TileCalibUtils::DEFINITIONS_DRAWERIDX = 1
static

Drawer used for storing of bad and noisy channel definitions.

Definition at line 148 of file TileCalibUtils.h.

◆ FELIX_FRAGID_OFFSET

const unsigned int TileCalibUtils::FELIX_FRAGID_OFFSET = 0x1000
static

Offset for frag ID used for FELIX in frag ID to ROB ID map.

Definition at line 157 of file TileCalibUtils.h.

◆ LAS_PART_CHAN

const unsigned int TileCalibUtils::LAS_PART_CHAN = 43
static

Empty channel number to store laser partition variation.

Definition at line 144 of file TileCalibUtils.h.

◆ MAX_CHAN

const unsigned int TileCalibUtils::MAX_CHAN = 48
static

Number of channels in drawer.

Definition at line 141 of file TileCalibUtils.h.

◆ MAX_DRAWER

const unsigned int TileCalibUtils::MAX_DRAWER = 64
static

Number of drawers in ROS 1-4.

Definition at line 139 of file TileCalibUtils.h.

◆ MAX_DRAWERIDX

const unsigned int TileCalibUtils::MAX_DRAWERIDX = 276
static

Maximal drawer index.

Definition at line 143 of file TileCalibUtils.h.

◆ MAX_DRAWR0

const unsigned int TileCalibUtils::MAX_DRAWR0 = 20
static

Number of drawers in ROS 0.

Definition at line 140 of file TileCalibUtils.h.

◆ MAX_GAIN

const unsigned int TileCalibUtils::MAX_GAIN = 2
static

Number of gains per channel.

Definition at line 142 of file TileCalibUtils.h.

◆ MAX_MINIDRAWER

const unsigned int TileCalibUtils::MAX_MINIDRAWER = 4
static

Number of minidrawers.

Definition at line 155 of file TileCalibUtils.h.

◆ MAX_MINIDRAWER_CHAN

const unsigned int TileCalibUtils::MAX_MINIDRAWER_CHAN = 12
static

Number of channels in minidrawer.

Definition at line 156 of file TileCalibUtils.h.

◆ MAX_ROS

const unsigned int TileCalibUtils::MAX_ROS = 5
static

Number of ROSs.

Definition at line 138 of file TileCalibUtils.h.

◆ NOGAINL1_DEFINITION_CHAN

const unsigned int TileCalibUtils::NOGAINL1_DEFINITION_CHAN = 2
static

Channel used for storing of NoGainLevel1 channel definitions.

Definition at line 151 of file TileCalibUtils.h.

◆ NOISY_DEFINITION_CHAN

const unsigned int TileCalibUtils::NOISY_DEFINITION_CHAN = 1
static

Channel used for storing of noisy channel definitions.

Definition at line 150 of file TileCalibUtils.h.

◆ TIMINGDMUBCOFFSET_DEFINITION_CHAN

const unsigned int TileCalibUtils::TIMINGDMUBCOFFSET_DEFINITION_CHAN = 5
static

Channel used for storing of affected timing channel definitions.

Definition at line 154 of file TileCalibUtils.h.

◆ TRIPS_DRAWER

const unsigned int TileCalibUtils::TRIPS_DRAWER = 2
static

Drawer used for storing trips probabilities.

Definition at line 147 of file TileCalibUtils.h.

◆ TRIPS_DRAWERIDX

const unsigned int TileCalibUtils::TRIPS_DRAWERIDX = 2
static

DrawerIdx used for storing trips probabilities.

Definition at line 145 of file TileCalibUtils.h.

◆ TRIPS_ROS

const unsigned int TileCalibUtils::TRIPS_ROS = 0
static

Ros used for storing trips probabilities.

Definition at line 146 of file TileCalibUtils.h.

◆ WRONGBCID_DEFINITION_CHAN

const unsigned int TileCalibUtils::WRONGBCID_DEFINITION_CHAN = 4
static

Channel used for storing of wrong BCID channel definitions.

Definition at line 153 of file TileCalibUtils.h.


The documentation for this class was generated from the following files: