BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtTrackGen.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/EvtTracks.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 EVTTRACKGEN_HH
24#define EVTTRACKGEN_HH
25
26#include "EvtGenBase/EvtDecayIncoherent.hh"
27#include <vector>
28#include <iostream>
29#include <fstream>
30
31using namespace std;
32
33class EvtParticle;
34
36
37public:
38
40 virtual ~EvtTrackGen();
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 std::vector<std::vector<EvtVector4R> >Evt;
62
63};
64
65#endif
66