ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
dqutils_mdtdeadnoisy::TubeRange Struct Reference

#include <MdtDeadNoisyUtils.h>

Collaboration diagram for dqutils_mdtdeadnoisy::TubeRange:

Public Member Functions

 TubeRange (int a, int b)
 
bool InRange (int x)
 

Public Attributes

int x1
 
int x2
 

Detailed Description

Definition at line 20 of file MdtDeadNoisyUtils.h.

Constructor & Destructor Documentation

◆ TubeRange()

dqutils_mdtdeadnoisy::TubeRange::TubeRange ( int  a,
int  b 
)
inline

Definition at line 21 of file MdtDeadNoisyUtils.h.

21 {x1 = a; x2 = b;}

Member Function Documentation

◆ InRange()

bool dqutils_mdtdeadnoisy::TubeRange::InRange ( int  x)
inline

Definition at line 22 of file MdtDeadNoisyUtils.h.

22  {
23  if ((x >= x1) && (x <= x2)) return true;
24 
25  return false;
26  }

Member Data Documentation

◆ x1

int dqutils_mdtdeadnoisy::TubeRange::x1

Definition at line 28 of file MdtDeadNoisyUtils.h.

◆ x2

int dqutils_mdtdeadnoisy::TubeRange::x2

Definition at line 29 of file MdtDeadNoisyUtils.h.


The documentation for this struct was generated from the following file:
x
#define x
dqutils_mdtdeadnoisy::TubeRange::x1
int x1
Definition: MdtDeadNoisyUtils.h:28
dqutils_mdtdeadnoisy::TubeRange::x2
int x2
Definition: MdtDeadNoisyUtils.h:29
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10