CGEM BOSS 6.6.5.g
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
25
26class EvtParticle;
27
29
30#include <iosfwd>
31
33
34public:
35
36 EvtJetSet();
37 virtual ~EvtJetSet();
38
39 void getName(std::string& name);
41 void decay(EvtParticle *p);
42
43 std::string commandName();
44 void command(std::string cmd);
45
46 void init();
47
48 void initProbMax();
49
50 //initialize jetset; sets up decay table and
51 //paramters. Static so it can be invoked from
52 //from EvtJscont.
53 static void jetSetInit();
54
55private:
56
57 void store(EvtDecayBase* jsdecay);
58 void fixPolarizations(EvtParticle* p);
59 static void MakeJetSetFile(char* fname);
60 static void WriteJetSetParticle(std::ofstream &outdec,EvtId ipar,EvtId iparname,int &first);
61 static void WriteJetSetEntryHeader(std::ofstream &outdec, int lundkc,
62 EvtId evtnum,std::string name,
63 int chg, int cchg, int spin2,double mass,
64 double width, double maxwidth,double ctau,
65 int stable,double rawbrfrsum);
66
67 static int njetsetdecays;
68 static EvtDecayBasePtr* jetsetdecays;
69 static int ntable;
70
71 static int ncommand;
72 static int lcommand;
73 static std::string* commands;
74
75};
76
77#endif
78
79
80
81
double mass
EvtDecayBase * EvtDecayBasePtr
Definition: EvtJetSet.hh:28
Definition: EvtId.hh:27
virtual ~EvtJetSet()
Definition: EvtJetSet.cc:76
void command(std::string cmd)
Definition: EvtJetSet.cc:157
static void jetSetInit()
Definition: EvtJetSet.cc:785
EvtDecayBase * clone()
Definition: EvtJetSet.cc:113
void initProbMax()
Definition: EvtJetSet.cc:120
void decay(EvtParticle *p)
Definition: EvtJetSet.cc:185
void init()
Definition: EvtJetSet.cc:127
void getName(std::string &name)
Definition: EvtJetSet.cc:107
std::string commandName()
Definition: EvtJetSet.cc:150