- Adding option for ownership of slat
[u/mrichter/AliRoot.git] / FLOW / AliFlowCreatePico.C
CommitLineData
0321b05e 1//
2// This macro is a part of "Alice PPR fast flow analysis package"
3//
4// The macro creates new pico DST structure in the file
5// "flowPiocEvent.root" and create structure "flowData" inside
6//
7// Once Ntuple is created it can be filled with data using
8// macro AliFlowReconstruction.C
9//
10// Sylwester Radomski, GSI
11// email: S.Radomski@gsi.de
12// 22. Oct. 2002
13//
14
15AliFlowCreatePico() {
16
17 const char* fileName = "flowPicoEvent.root";
18 const char* structure = "runNumber:evNumber:Mult:truePsi:trueV2:Psi:PsiA:PsiB:V2";
19
20 TFile *file = new TFile(fileName, "recreate");
21 TNtuple *data = new TNtuple("flowData","Flow Data", structure);
22
23 data->Print();
24
25 data->Write();
26 file->Close();
27
28 gSystem->Exit(0);
29}