BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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
27#include <fstream>
28#include <iostream>
29#include <vector>
30
31using namespace std;
32
33class EvtParticle;
34
36
37public:
39 virtual ~EvtTrackGen();
40
41 void getName( std::string& name );
42
44
45 void initProbMax();
46
47 void init();
48
49 void decay( EvtParticle* p );
50
51private:
52 std::string m_inputFileName;
53 ifstream m_inputFile;
54 int nParticles;
55 int idParticles[100];
56 double pxParticle;
57 double pyParticle;
58 double pzParticle;
59 double eParticle;
60 std::vector<std::vector<EvtVector4R>> Evt;
61};
62
63#endif
void initProbMax()
virtual ~EvtTrackGen()
EvtDecayBase * clone()
void decay(EvtParticle *p)
void getName(std::string &name)