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

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 34 of file D0ToKSpipipi0.cxx.

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

◆ toString()

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

Definition at line 28 of file D0ToKSpipipi0.cxx.

28 {
29 stringstream oss;
30 oss<<t;
31 return oss.str();
32}
TTree * t
Definition binning.cxx:23

Variable Documentation

◆ mass_Pion

const double mass_Pion = 0.13957

Definition at line 1355 of file D0ToKSpipipi0.cxx.