BOSS 7.1.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 38 of file UserDIY.cc.

Constructor & Destructor Documentation

◆ AngularSam()

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

Definition at line 41 of file UserDIY.cc.

41 {
42 _a=alpha;
43 pd1=p1;
44 }
const double alpha

Member Function Documentation

◆ amps()

double AngularSam::amps ( )

Definition at line 53 of file UserDIY.cc.

53 {
54double costheta=pd1.get(3)/pd1.d3mag();
55return 1+_a*pow(costheta,2.);
56}
double get(int i) const
Definition: EvtVector4R.hh:179
double d3mag() const
Definition: EvtVector4R.cc:186
float costheta

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