ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 4ad7b96 was 2ef6152, checked in by pavel <pavel@…>, 11 years ago |
fix include of Example1.C
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[090fe5e] | 1 | #include <iostream>
|
---|
| 2 | #include <utility>
|
---|
| 3 | #include <vector>
|
---|
| 4 |
|
---|
| 5 | #include "TROOT.h"
|
---|
| 6 | #include "TSystem.h"
|
---|
| 7 | #include "TApplication.h"
|
---|
| 8 |
|
---|
| 9 | #include "TString.h"
|
---|
| 10 |
|
---|
| 11 | #include "TH2.h"
|
---|
| 12 | #include "THStack.h"
|
---|
| 13 | #include "TLegend.h"
|
---|
| 14 | #include "TPaveText.h"
|
---|
| 15 | #include "TClonesArray.h"
|
---|
| 16 | #include "TLorentzVector.h"
|
---|
| 17 |
|
---|
| 18 | #include "classes/DelphesClasses.h"
|
---|
| 19 |
|
---|
| 20 | #include "ExRootAnalysis/ExRootTreeReader.h"
|
---|
| 21 | #include "ExRootAnalysis/ExRootTreeWriter.h"
|
---|
| 22 | #include "ExRootAnalysis/ExRootTreeBranch.h"
|
---|
| 23 | #include "ExRootAnalysis/ExRootResult.h"
|
---|
| 24 | #include "ExRootAnalysis/ExRootUtilities.h"
|
---|
| 25 |
|
---|
| 26 | using namespace std;
|
---|
| 27 |
|
---|
| 28 | //------------------------------------------------------------------------------
|
---|
| 29 |
|
---|
| 30 | // Here you can put your analysis macro
|
---|
| 31 |
|
---|
[2ef6152] | 32 | #include "Example1.C"
|
---|
[090fe5e] | 33 |
|
---|
| 34 | //------------------------------------------------------------------------------
|
---|
| 35 |
|
---|
| 36 | int main(int argc, char *argv[])
|
---|
| 37 | {
|
---|
| 38 | char *appName = "Example1";
|
---|
| 39 |
|
---|
| 40 | if(argc != 2)
|
---|
| 41 | {
|
---|
| 42 | cout << " Usage: " << appName << " input_file" << endl;
|
---|
| 43 | cout << " input_file - input file in ROOT format ('Delphes' tree)," << endl;
|
---|
| 44 | return 1;
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | gROOT->SetBatch();
|
---|
| 48 |
|
---|
| 49 | int appargc = 1;
|
---|
| 50 | char *appargv[] = {appName};
|
---|
| 51 | TApplication app(appName, &appargc, appargv);
|
---|
| 52 |
|
---|
| 53 | TString inputFile(argv[1]);
|
---|
| 54 |
|
---|
| 55 | //------------------------------------------------------------------------------
|
---|
| 56 |
|
---|
| 57 | // Here you call your macro's main function
|
---|
| 58 |
|
---|
[2ef6152] | 59 | Example1(inputFile);
|
---|
[090fe5e] | 60 |
|
---|
| 61 | //------------------------------------------------------------------------------
|
---|
| 62 |
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.