BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMBody3.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 EvtGen/BesCopyright
9// Copyright (A) 2006 Ping Rong-Gang @IHEP
10//
11// Module: EvtBody3.cc //Modified Body3 model
12//
13// usage:
14// Users need to provide the MC and data file in NTuple style. The decays are described as
15// A-> x1 + x2 + x3
16//angular distribution: costheta1, costheta2 ,costheta3
17// mass distribution: m12, m13, and m23, here, m12 ==> mass of x1 and x2, etc.
18// these variables are defined as double type, the tree name is mc and data, repectively
19// Modification history:
20//
21// Ping R.-G. Aug., 2010 Module created
22//
23//------------------------------------------------------------------------
24
25#ifndef EVTMBODY3_HH
26#define EVTMBODY3_HH
27#include "TH1.h"
28#include "TAxis.h"
29#include "TH2.h"
30#include "TH3.h"
31#include "TFile.h"
32#include "TApplication.h"
33#include "TROOT.h"
34#include "TChain.h"
36#include "EvtGenBase/EvtNT3.hh"
37
38class EvtParticle;
40
41public:
42
44 virtual ~EvtMBody3();
45
46 void getName(std::string& name);
47
49
50 void initProbMax();
51
52 void init();
53
54 void decay(EvtParticle *p);
55
56 const char* setFileName(int i ); //Defined by user to specify the root file name
57
58private:
59
60};
61
62#endif
63
EvtDecayBase * clone()
Definition: EvtMBody3.cc:61
void decay(EvtParticle *p)
Definition: EvtMBody3.cc:88
const char * setFileName(int i)
Definition: UserMBody3.cc:37
void getName(std::string &name)
Definition: EvtMBody3.cc:55
virtual ~EvtMBody3()
Definition: EvtMBody3.cc:53
void initProbMax()
end of ini
Definition: EvtMBody3.cc:82
void init()
Definition: EvtMBody3.cc:67