Changeset 6029 for trunk/MagicSoft/Mars
- Timestamp:
- 01/26/05 17:02:50 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/macros/hillasONOFF.C
r4429 r6029 5 5 // Ester Aliu <aliu@ifae.es> 6 6 //////////////////////////////////////////////////////////////////////////// 7 void hillasONOFF( 8 TString onname, 9 TString offname, 10 TString psname) 7 void hillasONOFF() 11 8 { 12 9 // general settings … … 27 24 28 25 // define file, tree, canvas 29 TChain *fdata = new TChain; 30 fdata->AddFile(onname); 31 TTree *t = Parameters; 26 TChain* t= new TChain("Parameters"); 27 // t->AddFile("/local_disk/jrico/hillas/hillasOn21.root"); 28 // t->AddFile("/local_disk/jrico/hillas/hillasOn22.root"); 29 t->AddFile("/local_disk/jrico/hillas/RFOnnoAlpha.root"); 32 30 33 31 // define file, tree, canvas 34 TChain *fdata2 = new TChain; 35 fdata2->AddFile(offname); 36 TTree *t2 = Parameters; 32 TChain *t2 = new TChain("Parameters"); 33 // t2->AddFile("/local_disk/jrico/hillas/hillasOff09.root"); 34 // t2->AddFile("/local_disk/jrico/hillas/hillasOff18.root"); 35 // t2->AddFile("/local_disk/jrico/hillas/hillasOff21.root"); 36 t2->AddFile("/local_disk/jrico/hillas/RFOffnoAlpha.root"); 37 37 38 39 TString psname="hillasonoff.ps"; 38 40 TString title; 39 41 … … 75 77 76 78 // define cuts 77 const char* cut1 = "size>500 ";79 const char* cut1 = "size>500 && MHadronness.fHadronness<0.1"; 78 80 const char* cut2 = "size>1000"; 79 81 const char* cut3 = "size>2000";
Note:
See TracChangeset
for help on using the changeset viewer.