BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
Minor4 Class Reference

#include <minor.h>

+ Inheritance diagram for Minor4:

Public Types

typedef SPtr< Minor4Ptr
 

Public Member Functions

ncomplex evalD (int ep)
 
ncomplex evalD (int ep, int i)
 
ncomplex evalD (int ep, int i, int j)
 
ncomplex evalD (int ep, int i, int j, int k)
 
ncomplex evalD (int ep, int i, int j, int k, int l)
 
- Public Member Functions inherited from Minor< 4 >
 Minor ()
 
double Kay (int i, int j) PURE
 
- Public Member Functions inherited from MinorBase
 MinorBase ()
 
- Public Member Functions inherited from SRefCnt
 SRefCnt ()
 

Static Public Member Functions

static Ptr create (const Kinem4 &k, Minor5::Ptr mptr5, int s, int is)
 
- Static Public Member Functions inherited from MinorBase
static int ns (int i, int j) CONST
 
static int nss (int i, int j) CONST
 
static int is (int i, int j) CONST
 
static int is (int i, int j, int k) CONST
 
static int is (int i, int j, int k, int l) CONST
 
static int iss (int i, int j) CONST
 
static int iss (int i, int j, int k) CONST
 
static int iss (int i, int j, int k, int l) CONST
 
static int iss (int i, int j, int k, int l, int m) CONST
 
static double getmeps ()
 
static int im3 (int i, int j, int k) CONST
 
static int im2 (int i, int j) CONST
 
static int signM3ud (int i, int j, int k, int l, int m, int n) CONST
 
static int signM2ud (int i, int j, int l, int m) CONST
 
static void freeidxM3 (int set[], int free[])
 
static void Rescale (double factor)
 

Friends

class SPtr< Minor4 >
 

Additional Inherited Members

- Protected Attributes inherited from Minor< 4 >
double Cay [(DCay-1) *(DCay)/2]
 
- Protected Attributes inherited from SRefCnt
int count
 
- Static Protected Attributes inherited from Minor< 4 >
static const int DCay
 
- Static Protected Attributes inherited from MinorBase
static const unsigned char idxtbl [64]
 
static const double teps =1e-14
 
static const double heps =1e-15
 
static const double ceps =5e-2
 
static const double deps1 =5e-2
 
static const double deps2 =5e-2
 
static const double deps3 =5e-2
 
static const double seps1 =1e-8
 
static const double seps2 =1e-5
 
static const double epsir1 =5e-6
 
static const double epsir2 =5e-6
 
static double deps =1e-14
 
static double meps =1e-10
 
static double m3eps =1
 

Detailed Description

Definition at line 501 of file minor.h.

Member Typedef Documentation

◆ Ptr

Definition at line 505 of file minor.h.

Member Function Documentation

◆ create()

static Ptr Minor4::create ( const Kinem4 k,
Minor5::Ptr  mptr5,
int  s,
int  is 
)
inlinestatic

Definition at line 506 of file minor.h.

507 {
508 return Ptr(new Minor4(k, mptr5, s, is));
509 }
XmlRpcServer s
Definition: HelloServer.cpp:11
Definition: minor.h:502
SPtr< Minor4 > Ptr
Definition: minor.h:505

◆ evalD() [1/5]

ncomplex Minor4::evalD ( int  ep)

◆ evalD() [2/5]

ncomplex Minor4::evalD ( int  ep,
int  i 
)

Definition at line 415 of file minoreval.cpp.

416{
417 ncomplex ivalue=0;
418 if (i>=ps || ps==5) i=i+1;
419 ivalue=-pm5->I4Dsi(ep, ps, i);
420 return ivalue;
421}
std::complex< double > ncomplex
Definition: common.h:25

◆ evalD() [3/5]

ncomplex Minor4::evalD ( int  ep,
int  i,
int  j 
)

Definition at line 443 of file minoreval.cpp.

444{
445 ncomplex ivalue=0;
446
447 if (i==0 && j==0) {
448 ivalue=-0.5*pm5->I4Ds(ep, ps);
449 }
450 else {
451 assert(i!=0 && j!=0); // D01, D02, etc do not exist
452 if (i>=ps || ps==5) i=i+1;
453 if (j>=ps || ps==5) j=j+1;
454
455 ivalue=pm5->I4D2sij(ep, ps, i, j);
456 }
457 return ivalue;
458}

◆ evalD() [4/5]

ncomplex Minor4::evalD ( int  ep,
int  i,
int  j,
int  k 
)

Definition at line 480 of file minoreval.cpp.

481{
482 ncomplex ivalue=0;
483
484 if (i==0 && j==0) {
485 assert(k!=0); // D000 does not exist, D100 is a wrong syntax
486 if (k>=ps || ps==5) k=k+1;
487
488 ivalue=0.5*pm5->I4D2si(ep, ps, k);
489 }
490 else {
491 assert(i!=0 && j!=0 && k!=0); // D110, D012, etc do not exist
492 if (i>=ps || ps==5) i=i+1;
493 if (j>=ps || ps==5) j=j+1;
494 if (k>=ps || ps==5) k=k+1;
495 ivalue=-pm5->I4D3sijk(ep, ps, i, j, k);
496 }
497 return ivalue;
498}

◆ evalD() [5/5]

ncomplex Minor4::evalD ( int  ep,
int  i,
int  j,
int  k,
int  l 
)

Definition at line 526 of file minoreval.cpp.

527{
528 ncomplex ivalue=0;
529 if (i==0 && j==0) {
530 if (k==0 && l==0) {
531 ivalue=0.25*pm5->I4D2s(ep, ps);
532 }
533 else {
534 assert(i==0 && j==0 && k!=0 && l!=0); // D0001 does not exist, D1200 is a wrong syntax
535 if (k>=ps || ps==5) k=k+1;
536 if (l>=ps || ps==5) l=l+1;
537
538 ivalue=-0.5*pm5->I4D3sij(ep, ps, k, l);
539 }
540 }
541 else {
542 assert(i!=0 && j!=0 && k!=0 && l!=0); // D110, D012, etc do not exist
543 if (i>=ps || ps==5) i=i+1;
544 if (j>=ps || ps==5) j=j+1;
545 if (k>=ps || ps==5) k=k+1;
546 if (l>=ps || ps==5) l=l+1;
547 ivalue=pm5->I4D4sijkl(ep, ps, i, j, k, l);
548 }
549 return ivalue;
550}

Friends And Related Function Documentation

◆ SPtr< Minor4 >

friend class SPtr< Minor4 >
friend

Definition at line 498 of file minor.h.


The documentation for this class was generated from the following files: