BOSS 8.0.0
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#ifndef EVTOPENCHARM_HH
24#define EVTOPENCHARM_HH
25
27
28class EvtParticle;
29
31
32#include <iosfwd>
33
35
36public:
38 virtual ~EvtOpenCharm();
39
40 void getName( std::string& name );
42 void decay( EvtParticle* p );
43
44 std::string commandName();
45 void command( std::string cmd );
46
47 void init();
48
49 void initProbMax();
50 int getTotalEvt() { return nevt; }
51 static void OpencrmInit( int f );
52
53 static int myiter;
54
55 bool isbelong( EvtId myid );
56 int which_mode( EvtId myid );
57
58private:
59 void store( EvtDecayBase* jsdecay );
60 void fixPolarizations( EvtParticle* p );
61
62 static int nOpencharmdecays;
63 static EvtDecayBasePtr* Opencharmdecays;
64 static int ntable;
65
66 static int ncommand;
67 static int lcommand;
68 static std::string* commands;
69 static int nevt;
70
71 int theMode;
72 std::vector<EvtId> theId;
73 int ndaugjs;
74 static std::vector<EvtId> mypar;
75 static std::vector<int> vmode;
76 static std::vector<double> Vcms;
77 int _index;
78};
79
80#endif
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
EvtDecayBase * EvtDecayBasePtr
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)
void initProbMax()
bool isbelong(EvtId myid)
void decay(EvtParticle *p)