Changeset 1081
- Timestamp:
- 11/15/01 11:24:06 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.cc
r1048 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 18 19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de) 19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.cc
r1051 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
r1051 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 18 19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de) 19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 … … 84 84 const Int_t entries = fPixels->GetEntries(); 85 85 86 *fLog << "MCerPhotEvt::Print()" << endl 87 << "Number of Pixels: " << fNumPixels 88 << "(" << entries << ")" 89 << endl ; 86 *fLog << GetDescriptor() << dec << endl; 87 *fLog << " Number of Pixels: " << fNumPixels << "(" << entries << ")" << endl; 90 88 91 89 for (Int_t i=0; i<entries; i++ ) -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r991 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 18 19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de) 19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 … … 58 58 void MCerPhotPix::Print(Option_t *) const 59 59 { 60 gLog << "MCerPhotPix: Pixel: "<< fPixId ; 61 60 gLog << GetDescriptor() <<" Pixel: "<< fPixId; 62 61 gLog << (fIsUsed?" Used ":" Unused "); 63 64 62 gLog << (fIsCore?" Core ":" "); 65 66 gLog << " Nphot= " << fPhot 67 << " Error(Nphot) = " << fErrPhot 68 << endl ; 63 gLog << " Nphot= " << fPhot << " Error(Nphot) = " << fErrPhot << endl; 69 64 } 70 65 -
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r1077 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 18 19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de) 19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/manalysis/MHillasCalc.cc
r1003 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 18 19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de) 19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/manalysis/MImgCleanStd.cc
r1076 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 18 19 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de) 19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 … … 42 42 ///////////////////////////////////////////////////////////////////////////// 43 43 #include "MImgCleanStd.h" 44 45 #include <stdlib.h> // atof 46 47 #include <TGFrame.h> // TGFrame 48 #include <TGLabel.h> // TGLabel 49 #include <TGTextEntry.h> // TGTextEntry 44 50 45 51 #include "MLog.h" … … 52 58 #include "MCerPhotEvt.h" 53 59 60 #include "MGGroupFrame.h" // MGGroupFrame 61 54 62 ClassImp(MImgCleanStd); 63 64 enum { 65 kImgCleanLvl1, 66 kImgCleanLvl2 67 }; 55 68 56 69 // -------------------------------------------------------------------------- … … 67 80 fTitle = title ? title : "Task which does a standard image cleaning"; 68 81 69 *fLog << "Cleaning initialized. Using noise level " << lvl1 << " and " << lvl2 << endl;82 Print(); 70 83 } 71 84 … … 273 286 } 274 287 275 #include <stdlib.h> // atof 276 277 #include <TGFrame.h> // TGFrame 278 #include <TGLabel.h> // TGLabel 279 #include <TGTextEntry.h> // TGTextEntry 280 281 #include "MGGroupFrame.h" // MGGroupFrame 282 283 enum { 284 kImgCleanLvl1, 285 kImgCleanLvl2 286 }; 287 288 // -------------------------------------------------------------------------- 289 // 290 // Print descriptor and cleaning levels. 291 // 292 void MImgCleanStd::Print(Option_t *o) const 293 { 294 *fLog << GetDescriptor() << " initialized with noise level "; 295 *fLog << fCleanLvl1 << " and " << fCleanLvl2 << endl; 296 } 297 298 // -------------------------------------------------------------------------- 299 // 300 // Craete two text entry fields, one for each cleaning level and a 301 // describing text line. 302 // 288 303 void MImgCleanStd::CreateGuiElements(MGGroupFrame *f) 289 304 { … … 315 330 entry2->Associate(f); 316 331 317 TGLabel *l1 = new TGLabel(f1, "Cleaning Level 1 for standard image cleaning.");318 TGLabel *l2 = new TGLabel(f2, "Cleaning Level 2 for standard image cleaning.");332 TGLabel *l1 = new TGLabel(f1, "Cleaning Level 1"); 333 TGLabel *l2 = new TGLabel(f2, "Cleaning Level 2"); 319 334 320 335 l1->SetTextJustify(kTextLeft); … … 348 363 } 349 364 365 // -------------------------------------------------------------------------- 366 // 367 // Process the GUI Events comming from the two text entry fields. 368 // 350 369 Bool_t MImgCleanStd::ProcessMessage(Int_t msg, Int_t submsg, Long_t param1, Long_t param2) 351 370 { -
trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.cc
r1051 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 … … 84 84 pedcam->InitSize(num); 85 85 86 *fLog << "Pixels: " << num << endl; 87 86 88 for (int i=0; i<num; i++) 87 89 { -
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc
r1051 r1081 16 16 ! 17 17 ! 18 ! Author(s): Josep Flix 04/2001 (jflix@ifae.es)19 ! Thomas Bretz 05/2001 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Josep Flix 04/2001 <mailto:jflix@ifae.es> 19 ! Author(s): Thomas Bretz 05/2001 <mailto:tbretz@uni-sw.gwdg.de> 20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc
r1052 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/manalysis/MPedestalPix.cc
r857 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.cc
r959 r1081 16 16 ! 17 17 ! 18 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de)19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 … … 63 63 if (!fRawEvtHeader) 64 64 { 65 *fLog << dbginf << "Error: MRawEvtHeader not found... exit." << endl;65 *fLog << err << dbginf << "- Error: MRawEvtHeader not found... exit." << endl; 66 66 return kFALSE; 67 67 } … … 70 70 if (!fRawEvtData) 71 71 { 72 *fLog << dbginf << "Error: MRawEvtData not found... exit." << endl;72 *fLog << err << dbginf << "- Error: MRawEvtData not found... exit." << endl; 73 73 return kFALSE; 74 74 } … … 86 86 fRawEvtHeader->Print(); 87 87 88 *fLog << all; 89 88 90 MRawEvtPixelIter pixel(fRawEvtData); 89 91 -
trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc
r1030 r1081 16 16 ! 17 17 ! 18 ! Author(s): Harald Kornmayer 1/2001 (harald@mppmu.mpg.de)19 ! Author(s): Thomas Bretz 12/2000 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r1057 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 10/2001 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 10/2001 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 … … 30 30 #include <TGButtonGroup.h> // TGVButtonGroup 31 31 32 #include "MGTask.h" // MGTask::CreateGui 32 33 #include "MClone.h" // MClone 33 34 #include "MHillas.h" // MHillas … … 60 61 // Create gui elements for vertical frame 61 62 // 62 TGVButtonGroup *group = new TGVButtonGroup(fTab1); 63 TGGroupFrame *grp = new TGGroupFrame(fTab1, "Display"); 64 TGVButtonGroup *group = new TGVButtonGroup(grp); 63 65 fList->Add(group); 64 66 65 67 TGRadioButton *but1 = new TGRadioButton(group, "Raw Events", kRButRawEvt); 66 68 TGRadioButton *but2 = new TGRadioButton(group, "Cleaned Events", kRButCleanedEvt); 67 TGCheckButton *but3 = new TGCheckButton( fTab1,"Display Ellipse", kCButHillas);69 TGCheckButton *but3 = new TGCheckButton(grp, "Display Ellipse", kCButHillas); 68 70 69 71 but2->SetState(kButtonDown); … … 91 93 fList->Add(laybut); 92 94 93 fTab1->AddFrame(group); 94 fTab1->AddFrame(but3, laybut); 95 grp->AddFrame(group); 96 grp->AddFrame(but3, laybut); 97 98 TGLayoutHints *laygrp1 = new TGLayoutHints(kLHintsNormal|kLHintsExpandX, 10, 10, 5, 0); 99 TGLayoutHints *laygrp2 = new TGLayoutHints(kLHintsNormal|kLHintsExpandX, 10, 10, 5, 5); 100 101 fTab1->AddFrame(grp, laygrp1); 102 ((MGTask*)GetTaskList()->FindObject("MImgCleanStd"))->CreateGui(fTab1, laygrp2); 95 103 } 96 104 -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r1052 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 10/2001 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 10/2001 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 … … 467 467 static TString dir("."); 468 468 469 TGFileInfo fi; 469 TGFileInfo fi; // fFileName and fIniDir deleted in ~TGFileInfo 470 470 471 471 fi.fFileTypes = gSaveAsTypes; -
trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.cc
r1052 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 10/2001 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 10/2001 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.cc
r856 r1081 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 07/2001 (tbretz@uni-sw.gwdg.de)18 ! Author(s): Thomas Bretz 07/2001 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2001 … … 45 45 { 46 46 fContName = cname; 47 Init(type, val); 47 48 } 48 49 … … 51 52 MFTriggerLvl1::MFTriggerLvl1(const MMcTrig *mctrig, const char type, const Int_t val) : fMcTrig(mctrig) 52 53 { 54 Init(type, val); 53 55 } 54 56 … … 60 62 61 63 if (type!='<' && type!='>') 62 *fLog << dbginf << "Warning: Neither '<' nor '>' specified... using '>'." << endl;64 *fLog << warn << dbginf << "Warning: Neither '<' nor '>' specified... using '>'." << endl; 63 65 64 66 fValue = val; 67 68 AddToBranchList("fNumFirstLevel"); 65 69 } 66 70 … … 83 87 return kTRUE; 84 88 85 *fLog << dbginf << fContName << " [MMcTrig] not found... aborting." << endl;89 *fLog << err << dbginf << fContName << " [MMcTrig] not found... aborting." << endl; 86 90 return kFALSE; 87 91 }
Note:
See TracChangeset
for help on using the changeset viewer.