BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Lpav.cxx File Reference
#include <cmath>
#include <iostream>
#include "KalFitAlg/lpav/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 629 of file KalFitAlg/KalFitAlg-00-08-07/src/lpav/Lpav.cxx.

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

◆ operator<<()

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

Definition at line 240 of file KalFitAlg/KalFitAlg-00-08-07/src/lpav/Lpav.cxx.

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

◆ prob_()

float prob_ ( float * ,
int *  )