Changeset 768 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 04/24/01 11:22:42 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1Hillas.C
r716 r768 35 35 // Now setup the tasks and tasklist: 36 36 // 37 // 1) read in the data from a ct1 ascii file 38 // 2) clean the image 39 // 3) calculate hillas 40 // 4) fill the hillas into the histograms 37 // 1) read in the data from a ct1 ascii file MCTReadAscii 38 // 2) clean the image MImgCleanStd 39 // 3) calculate hillas MHillasCalc 40 // 4) fill the hillas into the histograms MFillHHillas 41 41 // 42 MCT1ReadAscii read; 43 read.AddFile("CT1_99_off1.dat"); 44 read.AddFile("CT1_99_off2.dat"); 42 MCT1ReadAscii read("data/MCCT1_97_ga45.dat"); 43 // read.AddFile("data/MCCT1_97_ga20.dat"); 45 44 46 45 MImgCleanStd clean; -
trunk/MagicSoft/Mars/macros/MagicHillas.C
r710 r768 38 38 // Now setup the tasks and tasklist: 39 39 // 40 // 1) read in the data from a ct1 ascii file40 // 1) read in the data from a magic root file MReadTree 41 41 // 2) clean the image 42 42 // 3) calculate hillas 43 43 // 4) fill the hillas into the histograms 44 44 // 45 MReadTree read("Events", "oscar_protons.root"); 46 read.AddFile("test.root"); 45 46 // 47 // The first argument is the tree you want to read. 48 // Events: Cosmic ray events 49 // PedEvents: Pedestal Events 50 // CalEvents: Calibration Events 51 // 52 MReadTree read("Events", "data/my_file.root"); 53 // read.AddFile("data/test.root"); 47 54 48 55 MCerPhotCalc ncalc;
Note:
See TracChangeset
for help on using the changeset viewer.