FEDRA emulsion software from the OPERA Collaboration
EdbViewMap.h File Reference
#include "EdbRun.h"
#include "TIndexCell.h"
#include "EdbCell2.h"
#include "EdbLayer.h"
#include "TVector2.h"
#include "TH2D.h"
Include dependency graph for EdbViewMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AApv
 
struct  AArea
 
struct  ARun
 
struct  ASide
 
struct  AView
 
class  EdbViewMap
 

Macros

#define make_bit(_i_)   (1 << _i_)
 

Functions

bool test_bit (int bit_, int flags_)
 
bool test_ith_bit (int i_, int flags_)
 

Macro Definition Documentation

◆ make_bit

#define make_bit (   _i_)    (1 << _i_)

Function Documentation

◆ test_bit()

bool test_bit ( int  bit_,
int  flags_ 
)
inline
22 {
23  return (flags_ & bit_) != 0;
24 };

◆ test_ith_bit()

bool test_ith_bit ( int  i_,
int  flags_ 
)
inline
26 {
27  return test_bit(make_bit(i_),flags_);
28 };
#define make_bit(_i_)
Definition: EdbViewMap.h:19
bool test_bit(int bit_, int flags_)
Definition: EdbViewMap.h:21