BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/user/UserMassH1.cc
Go to the documentation of this file.
1#include "TH1.h"
2#include "TAxis.h"
3#include "TH2.h"
4#include "TFile.h"
5#include "TApplication.h"
6#include "TROOT.h"
7
8#include "EvtGenModels/EvtMassH1.hh"
9
10////////////////***** MassH1 class defined by user
11const char* EvtMassH1::setFileName(){
12 const char* filename;
13 filename="massh1.root";
14//specify the root histor. name
15 return filename;
16}
17
18const char* EvtMassH1::setHpoint(){
19 const char* hpoint;
20 hpoint="xmass12"; //specify the histor. id
21 return hpoint;
22}
23
25 static int DP[2];
26 DP[0]=0; // 0,1,2,... indexes for daughter particles
27 DP[1]=1;
28 return DP;
29}
30