BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtD0ToKSpipipi0.cc File Reference
#include "EvtGenBase/EvtPatches.hh"
#include <stdlib.h>
#include "EvtGenBase/EvtParticle.hh"
#include "EvtGenBase/EvtGenKine.hh"
#include "EvtGenBase/EvtPDL.hh"
#include "EvtGenBase/EvtVector4R.hh"
#include "EvtGenBase/EvtReport.hh"
#include "EvtGenModels/EvtD0ToKSpipipi0.hh"
#include <string>
#include <complex>
#include <vector>
#include "TLorentzVector.h"
#include "TMath.h"
#include <math.h>
#include <map>
#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 48 of file EvtD0ToKSpipipi0.cc.

48 {
49 assert(int(lhs.size()) == int(rhs.size()));
50 std::vector<double> sum; sum.clear();
51
52 for (int i=0; i<int(lhs.size()); i++) {
53 sum.push_back(lhs[i]+rhs[i]);
54 }
55
56 return sum;
57}

◆ toString()

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

Definition at line 42 of file EvtD0ToKSpipipi0.cc.

42 {
43 stringstream oss;
44 oss<<t;
45 return oss.str();
46}
TTree * t
Definition binning.cxx:23

Referenced by facilities::Timestamp::getString().

Variable Documentation

◆ mass_Pion

const double mass_Pion = 0.13957