BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtLambdac2pKpi.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtLambdac2pKpi.hh
12//
13// Description:
14// Class to handle generic phase space decays not done
15// in other decay models.
16//
17// Modification history:
18//
19// DJL/RYD August 11, 1998 Module created
20//
21//------------------------------------------------------------------------
22
23#ifndef EVTLAMBDAC2PKPI_HH
24#define EVTLAMBDAC2PKPI_HH
25
28#include <fstream>
29#include <iostream>
30#include <vector>
31
32using namespace std;
33
34class EvtParticle;
35
37
38public:
40 virtual ~EvtLambdac2pKpi();
41
42 void getName( std::string& name );
43
45
46 void initProbMax();
47
48 void init();
49
50 void decay( EvtParticle* p );
51
52private:
53 std::string m_inputFileName;
54 ifstream m_inputFile;
55 int nParticles;
56 int idParticles[100];
57 double pxParticle;
58 double pyParticle;
59 double pzParticle;
60 double eParticle;
61 static std::vector<std::vector<EvtVector4R>> Evt;
62 int Ntot;
63};
64
65#endif
void decay(EvtParticle *p)
EvtDecayBase * clone()
virtual ~EvtLambdac2pKpi()
void getName(std::string &name)