BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
D0ToKSpipipi0.cxx File Reference
#include "D0ToKSpipipi0.h"
#include "TLorentzVector.h"
#include "TMath.h"
#include <complex>
#include <map>
#include <math.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Vector/TwoVector.h"
#include <cassert>
#include <iostream>

Go to the source code of this file.

Functions

template<typename T>
string toString (const T &t)
std::vector< double > operator+ (std::vector< double > &lhs, std::vector< double > &rhs)

Variables

const double mass_Pion = 0.13957

Function Documentation

◆ operator+()

std::vector< double > operator+ ( std::vector< double > & lhs,
std::vector< double > & rhs )

Definition at line 33 of file D0ToKSpipipi0.cxx.

33 {
34 assert( int( lhs.size() ) == int( rhs.size() ) );
35 std::vector<double> sum;
36 sum.clear();
37
38 for ( int i = 0; i < int( lhs.size() ); i++ ) { sum.push_back( lhs[i] + rhs[i] ); }
39
40 return sum;
41}

◆ toString()

template<typename T>
string toString ( const T & t)

Definition at line 27 of file D0ToKSpipipi0.cxx.

27 {
28 stringstream oss;
29 oss << t;
30 return oss.str();
31}
int t()
Definition t.c:1

Variable Documentation

◆ mass_Pion

const double mass_Pion = 0.13957

Definition at line 1520 of file D0ToKSpipipi0.cxx.