Go to the source code of this file.
◆ HadronConst()
Definition at line 1 of file HadronConst.cxx.
2{
3 TFile *
f =
new TFile(
"hadron.root",
"recreate");
4 TTree* tree = new TTree("ggscalib","ggscalib");
5
6
7 double new_v[5]={1.25803e-02, -5.57378e-04, 1.07745e-02, 1.73587e+00, 1.14291e+00};
8 int new_v2=5;
9
10 TBranch* branch1=tree->Branch("hadron", new_v, "hadron[5]/D");
11 TBranch* branch2=tree->Branch("hadronNo", &new_v2, "hadronNo/I");
12 tree->Fill();
13 tree->Write();
15}
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")