ATLAS Offline Software
Macros
checker_macros.h File Reference

Define macros for attributes used to control the static checker. More...

Go to the source code of this file.

Macros

#define ATLAS_CHECK_FILE_THREAD_SAFETY   class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON
 
#define ATLAS_NO_CHECK_FILE_THREAD_SAFETY   class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON
 
#define ATLAS_CHECK_THREAD_SAFETY
 
#define ATLAS_THREAD_SAFE   = 0
 
#define ATLAS_NOT_THREAD_SAFE
 getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats More...
 
#define ATLAS_CTORDTOR_NOT_THREAD_SAFE
 
#define ATLAS_NOT_REENTRANT
 
#define ATLAS_NOT_CONST_THREAD_SAFE
 
#define ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE
 

Detailed Description

Define macros for attributes used to control the static checker.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Mar, 2017 This file defines macros for the attributes used to control the gcc static checker plugins. They are enabled only if ATLAS_GCC_CHECKERS is defined, indicating that the checkers are enabled.

For functions and variables, the proper placement of the macros are just after the name, for example:

void f1 ATLAS_NOT_REENTRANT () { ... }
static int x ATLAS_THREAD_SAFE;

Multiple attributes may be given:

For functions, the declaration and definition should have the same set of attributes.

For classes, the macros should be placed before the class name:

You should always use the macros defined here; don't write the attributes directly.

Definition in file checker_macros.h.

Macro Definition Documentation

◆ ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE

#define ATLAS_ARGUMENT_NOT_CONST_THREAD_SAFE

Definition at line 217 of file checker_macros.h.

◆ ATLAS_CHECK_FILE_THREAD_SAFETY

#define ATLAS_CHECK_FILE_THREAD_SAFETY   class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON

Definition at line 209 of file checker_macros.h.

◆ ATLAS_CHECK_THREAD_SAFETY

#define ATLAS_CHECK_THREAD_SAFETY

Definition at line 211 of file checker_macros.h.

◆ ATLAS_CTORDTOR_NOT_THREAD_SAFE

#define ATLAS_CTORDTOR_NOT_THREAD_SAFE

Definition at line 214 of file checker_macros.h.

◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY

#define ATLAS_NO_CHECK_FILE_THREAD_SAFETY   class ATLAS_CHECK_FILE_THREAD_SAFETY_SWALLOW_SEMICOLON

Definition at line 210 of file checker_macros.h.

◆ ATLAS_NOT_CONST_THREAD_SAFE

LockedHandle< TH2 > &TrigSignatureMoni::RateHistogram::getBuffer ATLAS_NOT_CONST_THREAD_SAFE

Definition at line 216 of file checker_macros.h.

◆ ATLAS_NOT_REENTRANT

#define ATLAS_NOT_REENTRANT

Definition at line 215 of file checker_macros.h.

◆ ATLAS_NOT_THREAD_SAFE

StatusCode TrigEDMChecker::dumpTauJetContainer ATLAS_NOT_THREAD_SAFE

getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats

called at the end of each athena event (can be used for eg.

called at the beginning of each athena event (can be used for eg.

return the simulation service ID

getLorentzAngle() Read LorentzAngle from HIST and write out into local DB

getBSErrors() Read BSErrors from Monitoring HIST and write out into local DB

getEfficiency() Read Efficiency from Monitoring HIST and write out into local DB

getRawOccupancy() Read RawOccupancy from Monitoring HIST and write out into local DB

getNoiseOccupancy() Read NoiseOccupancy from HIST and write out into local DB

resetting dynamic selectors)

now add branches and leaves to the tree

Definition at line 213 of file checker_macros.h.

◆ ATLAS_THREAD_SAFE

static const TrigConf::CaloInfo *fgCaloInfoPointer ATLAS_THREAD_SAFE   = 0

Definition at line 212 of file checker_macros.h.

DMTest::C
C_v1 C
Definition: C.h:26
x
#define x
ATLAS_CHECK_THREAD_SAFETY
#define ATLAS_CHECK_THREAD_SAFETY
Definition: checker_macros.h:210
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
ATLAS_NOT_REENTRANT
#define ATLAS_NOT_REENTRANT
Definition: random.h:27
read_hist_ntuple.f1
f1
Definition: read_hist_ntuple.py:4