BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtOpenCharm.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of models developed at BES collaboration
5// based on the EvtGen framework. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See CVS repository
9// Copyright (A) 2011 Ping Rong-Gang
10//
11// Module: EvtOpenCharm.cc
12//
13// Description: Routine to decay charmonium-> DD, DDpi according the
14// cross section measurement by CLEO PRD 80, 072001.
15//
16// Modification history:
17//
18// Ping R.-G. December, 2011 Module created
19//
20//------------------------------------------------------------------------
21//
22
23
24#ifndef EVTOPENCHARM_HH
25#define EVTOPENCHARM_HH
26
28
29
30class EvtParticle;
31
33
34#include <iosfwd>
35
37
38public:
39
41 virtual ~EvtOpenCharm();
42
43 void getName(std::string& name);
45 void decay(EvtParticle *p);
46
47 std::string commandName();
48 void command(std::string cmd);
49
50 void init();
51
52 void initProbMax();
53 int getTotalEvt(){return nevt;}
54 static void OpencrmInit(int f);
55
56 static int myiter;
57
58 bool isbelong(EvtId myid);
59 int which_mode(EvtId myid);
60
61private:
62
63 void store(EvtDecayBase* jsdecay);
64 void fixPolarizations(EvtParticle* p);
65
66 static int nOpencharmdecays;
67 static EvtDecayBasePtr* Opencharmdecays;
68 static int ntable;
69
70 static int ncommand;
71 static int lcommand;
72 static std::string* commands;
73 static int nevt;
74
75 int theMode;
76 std::vector<EvtId> theId;
77 int ndaugjs;
78 static std::vector<EvtId> mypar;
79 static std::vector<int> vmode;
80 static std::vector<double> Vcms;
81 int _index;
82};
83
84#endif
85
86
87
88
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
EvtDecayBase * EvtDecayBasePtr
Definition EvtId.hh:27
int which_mode(EvtId myid)
std::string commandName()
static int myiter
virtual ~EvtOpenCharm()
void command(std::string cmd)
static void OpencrmInit(int f)
EvtDecayBase * clone()
void getName(std::string &name)
bool isbelong(EvtId myid)
void decay(EvtParticle *p)