ATLAS Offline Software
Loading...
Searching...
No Matches
TRTMonitoringRun3RAW_Alg.cxx File Reference

Go to the source code of this file.

Classes

struct  straw_struct
struct  chip_struct
struct  straw_struct_prob
struct  chip_struct_prob
struct  straw_shifter_struct
struct  straw_edge_struct

Macros

#define FILLEVENTNORMALIZATION(NBINS, MIN, WIDTH, VALUE, VARPASSED, VAR, HISTGROUP)

Macro Definition Documentation

◆ FILLEVENTNORMALIZATION

#define FILLEVENTNORMALIZATION ( NBINS,
MIN,
WIDTH,
VALUE,
VARPASSED,
VAR,
HISTGROUP )
Value:
for (int i = 1; i <= NBINS; i++) \
if (MIN + WIDTH*(i-1) >= VALUE || MIN + WIDTH*(i+1) <= VALUE) \
{ \
VARPASSED = 0.0; \
VAR = i; \
fill(HISTGROUP, VARPASSED, VAR); \
}
#define MIN(x, y)
#define VALUE(TESTED)
Definition expect.h:59
#define NBINS
Definition windows.h:9

Definition at line 5 of file TRTMonitoringRun3RAW_Alg.cxx.

5#define FILLEVENTNORMALIZATION(NBINS, MIN, WIDTH, VALUE, VARPASSED, VAR, HISTGROUP) \
6for (int i = 1; i <= NBINS; i++) \
7 if (MIN + WIDTH*(i-1) >= VALUE || MIN + WIDTH*(i+1) <= VALUE) \
8 { \
9 VARPASSED = 0.0; \
10 VAR = i; \
11 fill(HISTGROUP, VARPASSED, VAR); \
12 }