| Line | |
|---|
| 1 | #ifndef __MMCOMP_H__
|
|---|
| 2 | #define __MMCOMP_H__
|
|---|
| 3 |
|
|---|
| 4 | #include <TH1F.h>
|
|---|
| 5 | #include <TApplication.h>
|
|---|
| 6 | #include <TGClient.h>
|
|---|
| 7 | #include <TMinuit.h>
|
|---|
| 8 | #include <TROOT.h>
|
|---|
| 9 | #include <TSystem.h>
|
|---|
| 10 | #include <TStopwatch.h>
|
|---|
| 11 | #include <TRandom3.h>
|
|---|
| 12 | #include <algorithm>
|
|---|
| 13 | #include <iostream>
|
|---|
| 14 | #include <unistd.h>
|
|---|
| 15 | #include <TRandom3.h>
|
|---|
| 16 | #include <string>
|
|---|
| 17 | #include <TChain.h>
|
|---|
| 18 | #include "TCanvas.h"
|
|---|
| 19 |
|
|---|
| 20 | #include "../mbase/MTime.h"
|
|---|
| 21 | #include "../mimage/MHillas.h"
|
|---|
| 22 | #include "../mimage/MImagePar.h"
|
|---|
| 23 | #include "../mimage/MNewImagePar.h"
|
|---|
| 24 | //#include "../mmc/MMcEvtBasic.h"
|
|---|
| 25 |
|
|---|
| 26 | //#include "/home/guest/ghughes/FACT/Mars_McMismatchStudy/libmars.so"
|
|---|
| 27 |
|
|---|
| 28 | //#define N_SIZE 100
|
|---|
| 29 | //#define MIN_SIZE 1.
|
|---|
| 30 | //#define MAX_SIZE 5.
|
|---|
| 31 |
|
|---|
| 32 | using namespace std;
|
|---|
| 33 |
|
|---|
| 34 | class MMCComp
|
|---|
| 35 | {
|
|---|
| 36 |
|
|---|
| 37 | private:
|
|---|
| 38 | TChain *cDATA;
|
|---|
| 39 | TChain *cMC;
|
|---|
| 40 |
|
|---|
| 41 | MTime *timeDATA;
|
|---|
| 42 | MHillas *hillasDATA;
|
|---|
| 43 | MImagePar *imageparDATA;
|
|---|
| 44 | MNewImagePar *newimageparDATA;
|
|---|
| 45 |
|
|---|
| 46 | MHillas *hillasMC;
|
|---|
| 47 | MImagePar *imageparMC;
|
|---|
| 48 | MNewImagePar *newimageparMC;
|
|---|
| 49 | //MMcEvtBasic *mcEvent;
|
|---|
| 50 |
|
|---|
| 51 | public:
|
|---|
| 52 | MMCComp();
|
|---|
| 53 | void Print() const;
|
|---|
| 54 | void loadData( string sDataDir );
|
|---|
| 55 | void loadMC( string sDataDir );
|
|---|
| 56 |
|
|---|
| 57 | void compareSize( int N_SIZE, double MIN_SIZE, double MAX_SIZE );
|
|---|
| 58 | void compareLength( int N_Length, double MIN_Length, double MAX_Length );
|
|---|
| 59 | void compareWidth( int N_Width, double MIN_Width, double MAX_Width );
|
|---|
| 60 |
|
|---|
| 61 | };
|
|---|
| 62 |
|
|---|
| 63 | #endif
|
|---|
| 64 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.