BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TrackUtil/TrackUtil-00-00-08/src/Lpav.cxx File Reference
#include <cmath>
#include <iostream>
#include "TrackUtil/Lpav.h"

Go to the source code of this file.

Functions

float prob_ (float *, int *)
 
std::ostream & operator<< (std::ostream &o, const Lpav &a)
 
Lpav operator+ (const Lpav &la1, const Lpav &la2)
 

Function Documentation

◆ operator+()

Lpav operator+ ( const Lpav la1,
const Lpav la2 
)

Definition at line 627 of file TrackUtil/TrackUtil-00-00-08/src/Lpav.cxx.

630{
631#else
632{
633 Lpav la;
634#endif
635 la.m_wsum = la1.m_wsum + la2.m_wsum;
636 la.m_xsum = la1.m_xsum + la2.m_xsum;
637 la.m_ysum = la1.m_ysum + la2.m_ysum;
638 la.m_xxsum = la1.m_xxsum + la2.m_xxsum;
639 la.m_yysum = la1.m_yysum + la2.m_yysum;
640 la.m_xysum = la1.m_xysum + la2.m_xysum;
641 la.m_xrrsum = la1.m_xrrsum + la2.m_xrrsum;
642 la.m_yrrsum = la1.m_yrrsum + la2.m_yrrsum;
643 la.m_rrrrsum = la1.m_rrrrsum + la2.m_rrrrsum;
644 la.m_nc = la1.m_nc + la2.m_nc;
645 return la;
646}

◆ operator<<()

std::ostream & operator<< ( std::ostream &  o,
const Lpav a 
)

Definition at line 238 of file TrackUtil/TrackUtil-00-00-08/src/Lpav.cxx.

238 {
239// o << "wsum=" << a.m_wsum << " xsum=" << a.m_xsum << " ysum=" << a.m_ysum
240// << " xxsum=" << a.m_xxsum << " xysum=" << a.m_xysum
241// << " yysum=" << a.m_yysum
242// << " xrrsum=" << a.m_xrrsum << " yrrsum=" << a.m_yrrsum
243// << " rrrrsum=" << a.m_rrrrsum;
244// o << " rscale=" << a.m_rscale
245// << " xxavp=" << a.m_xxavp << " yyavp=" << a.m_yyavp
246// << " xrravp=" << a.m_xrravp << " yrravp=" << a.m_yrravp
247// << " rrrravp=" << a.m_rrrravp << " cosrot=" << a.m_cosrot
248// << " sinrot=" << a.m_sinrot
249// << endl;
250 o << " nc=" << a.m_nc << " chisq=" << a.m_chisq << " " << (Lpar&) a;
251 return o;
252}

◆ prob_()

float prob_ ( float *  ,
int *   
)