11#include <TApplication.h>
16int main(
int argc,
char *argv[] ) {
18 TApplication theApp(
"App", &argc, argv);
22 TString
str = argv[1];
26 std::cout <<
" opening dataset " <<
data << std::endl;
27 TChain* ntupleToRead =
new TChain(
"data") ;
29 ntupleToRead->Add(
"MuonRecoValidation_*.root");
31 ntupleToRead->Add(
"MuonRecoValidation.root");
33 TString outName =
"MuonRecoAnalysis.root";
34 TFile* output =
new TFile(outName,
"RECREATE");
37 analysis.
analyse(*ntupleToRead);
38 std::cout <<
" done, closing file " << std::endl;
char data[hepevt_bytes_allocation_ATLAS]
void analyse(TTree &tree)
analyse tree