BOSS
7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/user/UserMBody3.cc
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
#include "TH1.h"
26
#include "TAxis.h"
27
#include "TH2.h"
28
#include "TH3.h"
29
#include "TFile.h"
30
#include "TApplication.h"
31
#include "TROOT.h"
32
33
#include "EvtGenModels/EvtMBody3.hh"
34
35
36
//////////////////***** modified Body3 Model
37
const
char
*
EvtMBody3::setFileName
(
int
i ){
38
const
char
* datafile;
39
const
char
* mcfile;
40
// --- user to specify the name of the NTuple for data (datafile ) and MC
41
42
datafile=
"./body3data.root"
;
//specify the data root file name
43
mcfile =
"./body3mc.root"
;
//specify the mc root fine name using for eff. correction
44
45
//--------- don't touch follows
46
if
(i==1){
return
datafile;}
else
if
(i==2){
return
mcfile;}
47
}
48
EvtMBody3::setFileName
const char * setFileName(int i)
Definition:
bak-BesEvtGen-00-04-08/user/UserMBody3.cc:37
source
Generator
BesEvtGen
BesEvtGen-00-04-08
user
UserMBody3.cc
Generated by
1.9.6