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
25
26class EvtParticle;
27
29
30#include <iosfwd>
31
33
34public:
35 EvtJetSet();
36 virtual ~EvtJetSet();
37
38 void getName( std::string& name );
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
54private:
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
double mass
EvtDecayBase * EvtDecayBasePtr
EvtDecayBase * EvtDecayBasePtr
Definition EvtJetSet.hh:28
Definition EvtId.hh:27
virtual ~EvtJetSet()
Definition EvtJetSet.cc:71
void command(std::string cmd)
Definition EvtJetSet.cc:128
static void jetSetInit()
Definition EvtJetSet.cc:713
EvtDecayBase * clone()
Definition EvtJetSet.cc:104
void initProbMax()
Definition EvtJetSet.cc:106
void decay(EvtParticle *p)
Definition EvtJetSet.cc:151
void init()
Definition EvtJetSet.cc:108
void getName(std::string &name)
Definition EvtJetSet.cc:102
std::string commandName()
Definition EvtJetSet.cc:126