123456789101112131415161718 |
- #include "../Centrality/MultReader.cxx"
- #include <TROOT.h>
- #include <TFile.h>
- #include <TH1F.h>
- #include <TChain.h>
- void getMultiplicity(TString outName)
- {
- TChain *chain = new TChain("mctree");
- //chain->Add("/home/peter/Documents/ModelData/run*.root");
- //chain->Add("/mnt/pool/nica/6/arkadij/mcpico/phsd200gev/run*.root");
- chain->Add("/mnt/pool/nica/6/arkadij/mcpico/phsd200charge/m200KCHrun*.root");
- MultReader *res = new MultReader(chain);
- res->LoopMultiplicity(outName);
- }
|