BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
AngularSam Class Reference

Public Member Functions

 AngularSam (double alpha, EvtVector4R p1)
double amps ()

Detailed Description

Definition at line 37 of file UserDIY.cc.

Constructor & Destructor Documentation

◆ AngularSam()

AngularSam::AngularSam ( double alpha,
EvtVector4R p1 )
inline

Definition at line 40 of file UserDIY.cc.

40 {
41 _a = alpha;
42 pd1 = p1;
43 }
double p1[4]
double alpha

Member Function Documentation

◆ amps()

double AngularSam::amps ( )

Definition at line 52 of file UserDIY.cc.

52 {
53 double costheta = pd1.get( 3 ) / pd1.d3mag();
54 return 1 + _a * pow( costheta, 2. );
55}

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