Changeset 7208 for trunk/MagicSoft/Mars/macros/tutorials
- Timestamp:
- 07/22/05 11:11:26 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/macros/tutorials
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/tutorials/extendcam.C
r7159 r7208 65 65 MHCamera *d6=new MHCamera(MGeomCamMagicXT()); 66 66 67 M CerPhotEvt*evt=0;67 MSignalCam *evt=0; 68 68 MMcEvt *mc; 69 69 … … 81 81 82 82 //Für Real-Raum 83 evt = (M CerPhotEvt*)plist->FindObject("MCerPhotEvt");83 evt = (MSignalCam*)plist->FindObject("MSignalCam"); 84 84 if (!evt) 85 85 { 86 cout << "Fehler: M CerPhotEvt" << endl;86 cout << "Fehler: MSignalCam" << endl; 87 87 return kFALSE; 88 88 } … … 135 135 Int_t Process() 136 136 { 137 d1->SetCamContent(*(M CerPhotEvt*)cl1->GetClone());138 d2->SetCamContent(*(M CerPhotEvt*)cl2->GetClone());137 d1->SetCamContent(*(MSignalCam*)cl1->GetClone()); 138 d2->SetCamContent(*(MSignalCam*)cl2->GetClone()); 139 139 d3->SetCamContent(*fFreq2); 140 d4->SetCamContent(*(M CerPhotEvt*)cl4->GetClone());141 d5->SetCamContent(*(M CerPhotEvt*)cl3->GetClone());140 d4->SetCamContent(*(MSignalCam*)cl4->GetClone()); 141 d5->SetCamContent(*(MSignalCam*)cl3->GetClone()); 142 142 d6->SetCamContent(*evt); 143 143 … … 174 174 MReadMarsFile read("Events"); 175 175 read.DisableAutoScheme(); 176 read.AddFile("/home/ kolodziejski/Diplomarbeit/marsdata/mcdata/*.root");176 read.AddFile("/home/tbretz/Software/mcwobble/lza/cal/19*.root"); 177 177 //read.AddFile("/home/hoehne/data/mcdata/gammas/calib/calib_gamma_zbin0.root"); 178 178 //read.AddFile("/home/hoehne/data/mcdata/hadrons/calib/calib_proton_zbin0.root"); … … 184 184 // enhance.SetNameCerPhotEvtOut("MCerPhotEvt2"); 185 185 186 MClone clone1("M CerPhotEvt", "Clone1");187 MClone clone2("M CerPhotEvt", "Clone2");188 MClone clone3("M CerPhotEvt", "Clone3");189 MClone clone4("M CerPhotEvt", "Clone4");186 MClone clone1("MSignalCam", "Clone1"); 187 MClone clone2("MSignalCam", "Clone2"); 188 MClone clone3("MSignalCam", "Clone3"); 189 MClone clone4("MSignalCam", "Clone4"); 190 190 191 191 cl1 = &clone1; … … 202 202 mytask.SetProcess(Process); 203 203 204 MImgCleanStd clean1( 26, 18);204 MImgCleanStd clean1(8, 4.5); 205 205 clean1.SetMethod(MImgCleanStd::kAbsolute); 206 206 clean1.SetNameGeomCam("MGeomCamMagicXT"); 207 208 MImgCleanStd clean2(26, 18); 207 clean1.SetNamePedPhotCam("MPedPhotFromExtractorRndm"); 208 209 MImgCleanStd clean2(8, 4.5); 209 210 clean2.SetMethod(MImgCleanStd::kAbsolute); 210 211 clean2.SetNameGeomCam("MGeomCamMagicXT"); 212 clean2.SetNamePedPhotCam("MPedPhotFromExtractorRndm"); 211 213 212 214 // Setup your tasklist -
trunk/MagicSoft/Mars/macros/tutorials/hft.C
r7159 r7208 188 188 } 189 189 190 void hft(const char *fname="/home/ hoehne/data/mcdata/hadrons/calib/calib_proton_zbin0.root")190 void hft(const char *fname="/home/tbretz/Software/mcwobble/lza/cal/19*.root") 191 191 { 192 192 // Setup parameter- and tasklist … … 201 201 202 202 // Clone MCerPhotEvt befor eimage cleaning 203 MClone clone1("M CerPhotEvt", "Clone1");203 MClone clone1("MSignalCam", "Clone1"); 204 204 205 205 // Setup image cleaning 206 MImgCleanStd clean( 24, 12);206 MImgCleanStd clean(8.5, 4); 207 207 clean.SetMethod(MImgCleanStd::kAbsolute); 208 clean.SetNamePedPhotCam("MPedPhotFromExtractorRndm"); 208 209 209 210 // Clone MCerPhotEvt befor eimage cleaning 210 MClone clone2("M CerPhotEvt", "Clone2");211 MClone clone2("MSignalCam", "Clone2"); 211 212 212 213 // Setup intercative task calling the functions defined above
Note:
See TracChangeset
for help on using the changeset viewer.