BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtJetSet.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/EvtJetSet.hh
12
//
13
// Description:
14
//
15
// Modification history:
16
//
17
// DJL/RYD August 11, 1998 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTJETSET_HH
22
#define EVTJETSET_HH
23
24
#include "
../EvtGenBase/EvtDecayIncoherent.hh
"
25
26
class
EvtParticle
;
27
28
typedef
EvtDecayBase
*
EvtDecayBasePtr
;
29
30
#include <iosfwd>
31
32
class
EvtJetSet
:
public
EvtDecayIncoherent
{
33
34
public
:
35
EvtJetSet
();
36
virtual
~EvtJetSet
();
37
38
void
getName
( std::string& name );
39
EvtDecayBase
*
clone
();
40
void
decay
(
EvtParticle
* p );
41
42
std::string
commandName
();
43
void
command
( std::string cmd );
44
45
void
init
();
46
47
void
initProbMax
();
48
49
// initialize jetset; sets up decay table and
50
// paramters. Static so it can be invoked from
51
// from EvtJscont.
52
static
void
jetSetInit
();
53
54
private
:
55
void
store(
EvtDecayBase
* jsdecay );
56
void
fixPolarizations(
EvtParticle
* p );
57
static
void
MakeJetSetFile(
char
* fname );
58
static
void
WriteJetSetParticle( std::ofstream& outdec,
EvtId
ipar,
EvtId
iparname,
59
int
& first );
60
static
void
WriteJetSetEntryHeader( std::ofstream& outdec,
int
lundkc,
EvtId
evtnum,
61
std::string name,
int
chg,
int
cchg,
int
spin2,
62
double
mass
,
double
width,
double
maxwidth,
double
ctau,
63
int
stable,
double
rawbrfrsum );
64
65
static
int
njetsetdecays;
66
static
EvtDecayBasePtr
* jetsetdecays;
67
static
int
ntable;
68
69
static
int
ncommand;
70
static
int
lcommand;
71
static
std::string* commands;
72
};
73
74
#endif
mass
double mass
Definition
CosmicGenerator.cxx:128
EvtDecayIncoherent.hh
EvtDecayBasePtr
EvtDecayBase * EvtDecayBasePtr
Definition
EvtDecayTable.hh:32
EvtDecayBasePtr
EvtDecayBase * EvtDecayBasePtr
Definition
EvtJetSet.hh:28
EvtDecayBase
Definition
EvtDecayBase.hh:39
EvtDecayBase::EvtDecayBase
EvtDecayBase()
Definition
EvtDecayBase.cc:205
EvtDecayIncoherent
Definition
EvtDecayIncoherent.hh:27
EvtId
Definition
EvtId.hh:27
EvtJetSet::~EvtJetSet
virtual ~EvtJetSet()
Definition
EvtJetSet.cc:71
EvtJetSet::EvtJetSet
EvtJetSet()
Definition
EvtJetSet.cc:69
EvtJetSet::command
void command(std::string cmd)
Definition
EvtJetSet.cc:128
EvtJetSet::jetSetInit
static void jetSetInit()
Definition
EvtJetSet.cc:713
EvtJetSet::clone
EvtDecayBase * clone()
Definition
EvtJetSet.cc:104
EvtJetSet::initProbMax
void initProbMax()
Definition
EvtJetSet.cc:106
EvtJetSet::decay
void decay(EvtParticle *p)
Definition
EvtJetSet.cc:151
EvtJetSet::init
void init()
Definition
EvtJetSet.cc:108
EvtJetSet::getName
void getName(std::string &name)
Definition
EvtJetSet.cc:102
EvtJetSet::commandName
std::string commandName()
Definition
EvtJetSet.cc:126
EvtParticle
Definition
EvtParticle.hh:42
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenModels
EvtJetSet.hh
Generated by
1.16.1