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
26
#include "
../EvtGenBase/EvtDecayIncoherent.hh
"
27
#include <fstream>
28
#include <iostream>
29
#include <vector>
30
31
using namespace
std
;
32
33
class
EvtParticle
;
34
35
class
EvtTrackGen
:
public
EvtDecayIncoherent
{
36
37
public
:
38
EvtTrackGen
() {}
39
virtual
~EvtTrackGen
();
40
41
void
getName
( std::string& name );
42
43
EvtDecayBase
*
clone
();
44
45
void
initProbMax
();
46
47
void
init
();
48
49
void
decay
(
EvtParticle
* p );
50
51
private
:
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
EvtDecayIncoherent.hh
EvtDecayBase
Definition
EvtDecayBase.hh:39
EvtDecayIncoherent
Definition
EvtDecayIncoherent.hh:27
EvtParticle
Definition
EvtParticle.hh:42
EvtTrackGen::initProbMax
void initProbMax()
Definition
EvtTrackGen.cc:103
EvtTrackGen::~EvtTrackGen
virtual ~EvtTrackGen()
Definition
EvtTrackGen.cc:25
EvtTrackGen::init
void init()
Definition
EvtTrackGen.cc:31
EvtTrackGen::clone
EvtDecayBase * clone()
Definition
EvtTrackGen.cc:29
EvtTrackGen::decay
void decay(EvtParticle *p)
Definition
EvtTrackGen.cc:105
EvtTrackGen::getName
void getName(std::string &name)
Definition
EvtTrackGen.cc:27
EvtTrackGen::EvtTrackGen
EvtTrackGen()
Definition
EvtTrackGen.hh:38
std
Definition
x86_64-el9-gcc13-dbg/Event/RootEventData/RootEventDataDict.cxx:101
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenModels
EvtTrackGen.hh
Generated by
1.16.1