FairRoot/PandaRoot
Classes | Macros | Functions
PndCADef.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 HLTTPCCA_STATIC_ASSERT_CONCAT_HELPER(a, b)   a##b
 
#define HLTTPCCA_STATIC_ASSERT_CONCAT(a, b)   HLTTPCCA_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)
 

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 56 of file PndCADef.h.

Referenced by PndCAGBTracker::FindBestCandidate(), PndFTSCAGBTracker::FindBestCandidate(), PndFTSCATrackParam::GetXYZPxPyPzQ(), and PndFTSTopoReconstructor::Init().

#define HLTTPCCA_STATIC_ASSERT_CONCAT (   a,
  b 
)    HLTTPCCA_STATIC_ASSERT_CONCAT_HELPER(a, b)

Definition at line 76 of file PndCADef.h.

#define HLTTPCCA_STATIC_ASSERT_CONCAT_HELPER (   a,
  b 
)    a##b

Definition at line 75 of file PndCADef.h.

#define ISLIKELY (   x)    ( x )

Definition at line 121 of file PndCADef.h.

#define ISUNLIKELY (   x)    ( x )

Definition at line 122 of file PndCADef.h.

Referenced by PndCATrackParam::Filter().

#define MAY_ALIAS

Definition at line 114 of file PndCADef.h.

#define STATIC_ASSERT (   cond,
  msg 
)
Value:
typedef HLTTPCCA_STATIC_ASSERT_FAILURE<cond> HLTTPCCA_STATIC_ASSERT_CONCAT(_STATIC_ASSERTION_FAILED_##msg, __LINE__); \
HLTTPCCA_STATIC_ASSERT_CONCAT(_STATIC_ASSERTION_FAILED_##msg, __LINE__) Error_##msg; \
(void) Error_##msg
#define HLTTPCCA_STATIC_ASSERT_CONCAT(a, b)
Definition: PndCADef.h:76

Definition at line 77 of file PndCADef.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 104 of file PndCADef.h.

Function Documentation

template<typename T >
int sign ( T  val)