FairRoot/PandaRoot
Classes | Macros | Functions
PndFTSCADef.h File Reference
#include <iostream>
#include <Vc/Vc>
#include <Vc/limits>
#include "Rtypes.h"

Go to the source code of this file.

Classes

struct  float2
 

Macros

#define ASSERT(v, msg)
 
#define FTSCA_STATIC_ASSERT_CONCAT_HELPER(a, b)   a##b
 
#define FTSCA_STATIC_ASSERT_CONCAT(a, b)   FTSCA_STATIC_ASSERT_CONCAT_HELPER(a, b)
 
#define STATIC_ASSERT(cond, msg)
 
#define unrolled_loop4(_type_, _it_, _start_, _end_, _code_)
 
#define MAY_ALIAS
 
#define ISLIKELY(x)   ( x )
 
#define ISUNLIKELY(x)   ( x )
 

Functions

template<typename T >
int sign (T val)
 
template<typename T >
T rcp (T val)
 

Macro Definition Documentation

#define ASSERT (   v,
  msg 
)
Value:
if (v) {} else { \
std::cerr << __FILE__ << ":" << __LINE__ << " assertion failed: " \
<< #v << " = " << (v) << "\n" << msg << std::endl; \
abort(); \
}
__m128 v
Definition: P4_F32vec4.h:4

Definition at line 59 of file PndFTSCADef.h.

#define FTSCA_STATIC_ASSERT_CONCAT (   a,
  b 
)    FTSCA_STATIC_ASSERT_CONCAT_HELPER(a, b)

Definition at line 79 of file PndFTSCADef.h.

#define FTSCA_STATIC_ASSERT_CONCAT_HELPER (   a,
  b 
)    a##b

Definition at line 78 of file PndFTSCADef.h.

#define ISLIKELY (   x)    ( x )

Definition at line 124 of file PndFTSCADef.h.

#define ISUNLIKELY (   x)    ( x )

Definition at line 125 of file PndFTSCADef.h.

#define MAY_ALIAS

Definition at line 117 of file PndFTSCADef.h.

#define STATIC_ASSERT (   cond,
  msg 
)
Value:
typedef FTSCA_STATIC_ASSERT_FAILURE<cond> FTSCA_STATIC_ASSERT_CONCAT(_STATIC_ASSERTION_FAILED_##msg, __LINE__); \
FTSCA_STATIC_ASSERT_CONCAT(_STATIC_ASSERTION_FAILED_##msg, __LINE__) Error_##msg; \
(void) Error_##msg
#define FTSCA_STATIC_ASSERT_CONCAT(a, b)
Definition: PndFTSCADef.h:79

Definition at line 80 of file PndFTSCADef.h.

#define unrolled_loop4 (   _type_,
  _it_,
  _start_,
  _end_,
  _code_ 
)
Value:
if (_start_ + 0 < _end_) { enum { _it_ = (_start_ + 0) < _end_ ? (_start_ + 0) : _start_ }; _code_ } \
if (_start_ + 1 < _end_) { enum { _it_ = (_start_ + 1) < _end_ ? (_start_ + 1) : _start_ }; _code_ } \
if (_start_ + 2 < _end_) { enum { _it_ = (_start_ + 2) < _end_ ? (_start_ + 2) : _start_ }; _code_ } \
if (_start_ + 3 < _end_) { enum { _it_ = (_start_ + 3) < _end_ ? (_start_ + 3) : _start_ }; _code_ } \
do {} while ( false )
if(fWindowIsBox)

Definition at line 107 of file PndFTSCADef.h.

Function Documentation

template<typename T >
T rcp ( T  val)

Definition at line 52 of file PndFTSCADef.h.

Referenced by L1FieldRegion::Set().

52  {
53  return reciprocal(val);
54 }
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
template<typename T >
int sign ( T  val)

Definitions needed for PndFTSCATracker

Definition at line 48 of file PndFTSCADef.h.

References T.

48  {
49  return (T(0) < val) - (val < T(0));
50 }
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
TTree * T
Definition: anaLmdReco.C:32