#include "TChain.h"
#include "TString.h"
#include "TFile.h"
#include "TSystem.h"
#include <string>
#include <iostream>
#include <TApplication.h>
#include "MuonRecValidationNtuples/MuonInsideOutAnalysis.h"
Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |
Definition at line 16 of file MuonInsideOutValidation.cxx.
16 {
17
18 TApplication
theApp(
"App", &argc, argv);
19
21 if( argc > 1 ) {
24 }
25
26 std::cout <<
" opening dataset " <<
data << std::endl;
27 TChain* ntupleToRead = new TChain("data") ;
29 ntupleToRead->Add("MuonRecoValidation_*.root");
30 }else{
31 ntupleToRead->Add("MuonRecoValidation.root");
32 }
33 TString
outName =
"MuonRecoAnalysis.root";
34 TFile*
output =
new TFile(outName,
"RECREATE");
35
37 analysis.analyse(*ntupleToRead);
38 std::cout << " done, closing file " << std::endl;
39
42}
char data[hepevt_bytes_allocation_ATLAS]