BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
cache.h File Reference
#include "common.h"
#include "kinem.h"
#include "minor.h"

Go to the source code of this file.

Classes

class  MEntry< TK, TV >
class  Cache
class  ICache
struct  ICache::Ival
class  MCache

Macros

#define INSERTMINOR3   smartinsertMinor3
#define INSERTMINOR2   smartinsertMinor2
#define insertMinorN(n)

Functions

bool operator== (const double &x, const ICache::ID64 &y)

Macro Definition Documentation

◆ INSERTMINOR2

#define INSERTMINOR2   smartinsertMinor2

Definition at line 420 of file cache.h.

◆ INSERTMINOR3

#define INSERTMINOR3   smartinsertMinor3

Definition at line 419 of file cache.h.

◆ insertMinorN

#define insertMinorN ( n)
Value:
inline void MCache::insertMinor##n( const Kinem##n& k, Minor##n::Ptr& m ) { \
cm##n.insert( Entry##n( k, m ) ); \
}
const Int_t n
Definition kinem.h:15
Definition minor.h:174

Definition at line 455 of file cache.h.

455#define insertMinorN( n ) \
456 inline void MCache::insertMinor##n( const Kinem##n& k, Minor##n::Ptr& m ) { \
457 cm##n.insert( Entry##n( k, m ) ); \
458 }

Function Documentation

◆ operator==()

bool operator== ( const double & x,
const ICache::ID64 & y )
inline

Definition at line 397 of file cache.h.

397 {
398 const ICache::DI64 ix = { x };
399 return ix.i64 == y.i64;
400}
#define ix(i)