BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
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
9
10////////////////***** MassH1 class defined by user
12 const char* filename;
13 filename="massh1.root";
14//specify the root histor. name
15 return filename;
16}
17
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
int * setDaugPair()
Definition: UserMassH1.cc:24
const char * setFileName()
Definition: UserMassH1.cc:11
const char * setHpoint()
Definition: UserMassH1.cc:18