67 EvtDecay(
const string& name, ISvcLocator* pSvcLocator);
76 StatusCode callEvtGen( HepMC::GenEvent* hepMCevt );
77 StatusCode callBesEvtGen( HepMC::GenEvent* hepMCevt );
78 StatusCode makeHepMC(
EvtParticle*, HepMC::GenEvent*, HepMC::GenParticle*);
83 void MeVToGeV(HepMC::GenEvent* hepMCevt);
84 void GeVToMeV(HepMC::GenEvent* hepMCevt);
95 vector<long int> m_seeds;
99string m_DecayDec, m_PdtTable, userDecFileName,m_DecayTop,m_DecayRec, m_ParentPart;
101 std::ofstream outfile,outfile2,truth;
102 std::vector<int> m_InSeeds;
106 bool m_Ncharge,m_NtupleFile, m_Psi4040OpenCharm, m_Psi2openCharm, m_statDecays;
108 int AllTrk_index,Trk_index[500];
116 string m_SB3File, m_SB3HT;
122 int pdg0,pdg1,pdg2,pdg,multi;
129 string m_FDPparticle;
135 int br[500],vbr[500];
137 bool isCharmonium(
EvtId xid);
138 bool isCharm(
EvtId xid);
147 std::vector<double> m_polarization;
148 std::string m_truthFile,m_truthPart;
150NTuple::Tuple* m_tuple;
151NTuple::Item<int> TotNumTrk;
152NTuple::Item<int> m_nchr;
153NTuple::Item<int> m_nchr_e;
154NTuple::Item<int> m_nchr_mu;
155NTuple::Item<int> m_nchr_pi;
156NTuple::Item<int> m_nchr_k;
157NTuple::Item<int> m_nchr_p;
158NTuple::Item<int> m_gamma;
159NTuple::Item<int> m_gammaFSR;
161NTuple::Array<int> m_Trk_index;
162NTuple::Array<int> m_fst;
163NTuple::Array<double> m_px_trk;
164NTuple::Array<double> m_py_trk;
165NTuple::Array<double> m_pz_trk;
166NTuple::Array<double> m_en_trk;
168NTuple::Tuple* mass_tuple;
169NTuple::Item<double> m_m12;
170NTuple::Item<double> m_m13;
171NTuple::Item<double> m_m23;
172NTuple::Item<double> m_m1;
173NTuple::Item<double> m_m2;
174NTuple::Item<double> m_m3;
175NTuple::Item<double> m_cos1;
176NTuple::Item<double> m_cos2;
177NTuple::Item<double> m_cos3;
178NTuple::Item<int> m_ich;
179NTuple::Tuple* massgen_tuple;
180NTuple::Item<double> _m12;
181NTuple::Item<double> _m13;
182NTuple::Item<double> _m23;
183NTuple::Item<double> _m1;
184NTuple::Item<double> _m2;
185NTuple::Item<double> _m3;
186NTuple::Item<double> _cos1;
187NTuple::Item<double> _cos2;
188NTuple::Item<double> _cos3;
189NTuple::Item<int> _ich;