BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Minor3 Class Reference

#include <minor.h>

+ Inheritance diagram for Minor3:

Public Types

typedef SPtr< Minor3Ptr
 

Public Member Functions

ncomplex evalC (int ep)
 
ncomplex evalC (int ep, int i)
 
ncomplex evalC (int ep, int i, int j)
 
ncomplex evalC (int ep, int i, int j, int k)
 
- Public Member Functions inherited from Minor< 3 >
 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 Kinem3 &k, Minor5::Ptr mptr5, int s, int t, 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< Minor3 >
 

Additional Inherited Members

- Protected Attributes inherited from Minor< 3 >
double Cay [(DCay-1) *(DCay)/2]
 
- Protected Attributes inherited from SRefCnt
int count
 
- Static Protected Attributes inherited from Minor< 3 >
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 538 of file minor.h.

Member Typedef Documentation

◆ Ptr

Definition at line 542 of file minor.h.

Member Function Documentation

◆ create()

static Ptr Minor3::create ( const Kinem3 k,
Minor5::Ptr  mptr5,
int  s,
int  t,
int  is 
)
inlinestatic

Definition at line 543 of file minor.h.

544 {
545 return Ptr(new Minor3(k, mptr5, s, t, is));
546 }
XmlRpcServer s
Definition: HelloServer.cpp:11
TTree * t
Definition: binning.cxx:23
Definition: minor.h:539
SPtr< Minor3 > Ptr
Definition: minor.h:542

◆ evalC() [1/4]

ncomplex Minor3::evalC ( int  ep)

◆ evalC() [2/4]

ncomplex Minor3::evalC ( int  ep,
int  i 
)

Definition at line 586 of file minoreval.cpp.

587{
588 ncomplex ivalue=0;
589 if (i>=ps) i=i+1;
590 if (i>=pt || pt==5) {
591 i=i+1;
592 if (i==ps) i=i+1;
593 }
594 ivalue=-pm5->I3Dsti(ep, ps, pt, i);
595 return ivalue;
596}
std::complex< double > ncomplex
Definition: common.h:25

◆ evalC() [3/4]

ncomplex Minor3::evalC ( int  ep,
int  i,
int  j 
)

Definition at line 618 of file minoreval.cpp.

619{
620 ncomplex ivalue=0;
621
622 if (i==0 && j==0) {
623 ivalue=-0.5*pm5->I3Dst(ep, ps, pt);
624 }
625 else {
626 assert(i!=0 && j!=0); // C01, C02, etc do not exist
627 int tmp;
628 tswap(i,j,tmp);
629
630 if (i>=ps) i=i+1;
631 if (i>=pt || pt==5) {
632 i=i+1;
633 if (i==ps) i=i+1;
634 }
635 if (j>=ps) j=j+1;
636 if (j>=pt || pt==5) {
637 j=j+1;
638 if (j==ps) j=j+1;
639 }
640
641 ivalue=pm5->I3D2stij(ep, ps, pt, i, j);
642 }
643 return ivalue;
644}
#define tswap(x, y, t)
Definition: minor.h:36

◆ evalC() [4/4]

ncomplex Minor3::evalC ( int  ep,
int  i,
int  j,
int  k 
)

Definition at line 666 of file minoreval.cpp.

667{
668 ncomplex ivalue=0;
669
670 if (i==0 && j==0) {
671 assert(i==0 && j==0 && k!=0); // C000 does not exist, C100 is a wrong syntax
672 if (k>=ps) k=k+1;
673 if (k>=pt || pt==5) {
674 k=k+1;
675 if (k==ps) k=k+1;
676 }
677
678 ivalue=0.5*pm5->I3D2sti(ep, ps, pt, k);
679 }
680 else {
681 assert(i!=0 && j!=0 && k!=0); // D110, D012, etc do not exist
682 if (i>=ps) i=i+1;
683 if (i>=pt || pt==5) {
684 i=i+1;
685 if (i==ps) i=i+1;
686 }
687 if (j>=ps) j=j+1;
688 if (j>=pt || pt==5) {
689 j=j+1;
690 if (j==ps) j=j+1;
691 }
692 if (k>=ps) k=k+1;
693 if (k>=pt || pt==5) {
694 k=k+1;
695 if (k==ps) k=k+1;
696 }
697 ivalue=-pm5->I3D3stijk(ep, ps, pt, i, j, k);
698 }
699 return ivalue;
700}

Friends And Related Function Documentation

◆ SPtr< Minor3 >

friend class SPtr< Minor3 >
friend

Definition at line 535 of file minor.h.


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