BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
copyEvents.C File Reference

Go to the source code of this file.

Functions

int copyEvents (TString inputFilePath, TString outputFilePath, Int_t nStartEvent=10000, Int_t nEvents=100)

Function Documentation

◆ copyEvents()

int copyEvents ( TString inputFilePath,
TString outputFilePath,
Int_t nStartEvent = 10000,
Int_t nEvents = 100 )

Definition at line 9 of file copyEvents.C.

References TTree::CloneTree(), TTree::CopyAddresses(), TString::Data(), TTree::Fill(), TDirectoryFile::Get(), TTree::GetEntries(), TTree::GetEntry(), i, and TTree::Write().

Here is the call graph for this function: