BOSS 7.1.1
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 228 of file eemmg-lib-new/src/cache.h.

◆ INSERTMINOR3

#define INSERTMINOR3   smartinsertMinor3

Definition at line 227 of file eemmg-lib-new/src/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 at line 265 of file eemmg-lib-new/src/cache.h.

265#define insertMinorN(n) \
266inline \
267void MCache::insertMinor##n(const Kinem##n &k, Minor##n::Ptr &m) \
268{ \
269 cm##n.insert(Entry##n(k,m)); \
270}

Function Documentation

◆ operator==()

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

Definition at line 202 of file eemmg-lib-new/src/cache.h.

203{
204 const ICache::DI64 ix={x};
205 return ix.i64 == y.i64;
206}
Double_t x[10]
double y[1000]