Changeset 698 for trunk/MagicSoft/Mars/mdatacheck
- Timestamp:
- 03/22/01 12:24:47 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/mdatacheck
- Files:
-
- 10 added
- 4 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdatacheck/DataCheckLinkDef.h
r666 r698 5 5 #pragma link off all functions; 6 6 7 #pragma link C++ class MHFadcCam; 8 #pragma link C++ class MHFadcPix; 9 #pragma link C++ class MHHillas; 10 7 11 #pragma link C++ class MShowSpect; 8 #pragma link C++ class MHistosAdc; 9 #pragma link C++ class MFillAdcSpect; 12 13 #pragma link C++ class MFillHFadc; 14 #pragma link C++ class MFillHHillas; 10 15 11 16 #pragma link C++ class MDumpEvtHeader; -
trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.h
r666 r698 26 26 Bool_t Process() ; 27 27 28 ClassDef(MDumpEvtHeader, 1) // Class to dump the pixel ids of a raw evt to the screen28 ClassDef(MDumpEvtHeader, 0) // Class to dump the pixel ids of a raw evt to the screen 29 29 30 30 }; -
trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.cc
r667 r698 23 23 } ; 24 24 25 MGDisplayAdc::MGDisplayAdc ( MH istosAdc*histos,25 MGDisplayAdc::MGDisplayAdc ( MHFadcCam *histos, 26 26 const TGWindow *p, const TGWindow *main, 27 27 UInt_t w, UInt_t h, … … 218 218 // Histogramms in there. 219 219 // 220 // In the class MH istosAdcare in fact two lists. One for the high and220 // In the class MHFadcCam are in fact two lists. One for the high and 221 221 // one for the low gain. Here we will use only the high gain list!!! 222 222 // With some special options (settings in the gui) we will also be able … … 224 224 // 225 225 226 const Int_t nhi = fHists->Get HiEntries();226 const Int_t nhi = fHists->GetEntries(); 227 227 for ( Int_t i=0 ; i < nhi; i++ ) { 228 228 fHistoList->AddEntry(fHists->GetHistHi(i)->GetName(), i+1) ; -
trunk/MagicSoft/Mars/mdatacheck/MGDisplayAdc.h
r665 r698 12 12 #endif 13 13 14 #ifndef MH ISTOSADC_H15 #include "MH istosAdc.h"14 #ifndef MHFADCCAM_H 15 #include "MHFadcCam.h" 16 16 #endif 17 17 … … 24 24 private: 25 25 26 MH istosAdc*fHists; // Pointer to Container with the histograms26 MHFadcCam *fHists; // Pointer to Container with the histograms 27 27 28 28 // Create a main frame with a number of different buttons. … … 71 71 TCanvas *fCanvas; 72 72 73 MGDisplayAdc(MH istosAdc *fHists ,73 MGDisplayAdc(MHFadcCam *fHists , 74 74 const TGWindow *p, const TGWindow *main, 75 75 UInt_t w, UInt_t h, -
trunk/MagicSoft/Mars/mdatacheck/MShowSpect.cc
r667 r698 34 34 // Do the preprocessing for MShowSpect 35 35 // 36 // Connects Histogramms in the MH istosAdccontainer as the input36 // Connects Histogramms in the MHFadcCam container as the input 37 37 // 38 38 39 fHists = (MH istosAdc*) pList->FindObject( fHistName );39 fHists = (MHFadcCam*) pList->FindObject( fHistName ); 40 40 41 41 if (!fHists) 42 42 { 43 *fLog << dbginf << " Error: MH istosAdc'" << fHistName << "' not found!" << endl;43 *fLog << dbginf << " Error: MHFadcCam '" << fHistName << "' not found!" << endl; 44 44 return kFALSE; 45 45 } -
trunk/MagicSoft/Mars/mdatacheck/MShowSpect.h
r667 r698 11 11 12 12 class MGDisplayAdc; 13 class MH istosAdc;13 class MHFadcCam; 14 14 class MParList ; 15 15 … … 19 19 char fHistName[256] ; 20 20 21 MH istosAdc*fHists; // Pointer to Container with the histograms21 MHFadcCam *fHists; // Pointer to Container with the histograms 22 22 23 23 public: … … 29 29 Bool_t PostProcess(); 30 30 31 ClassDef(MShowSpect, 1) // Fill the raw ADC in the histograms31 ClassDef(MShowSpect, 0) // Fill the raw ADC in the histograms 32 32 }; 33 33 -
trunk/MagicSoft/Mars/mdatacheck/MViewAdcSpectra.cc
r667 r698 15 15 #include "MReadTree.h" 16 16 #include "MDumpEvtHeader.h" 17 #include "MFill AdcSpect.h"17 #include "MFillHFadc.h" 18 18 #include "MShowSpect.h" 19 #include "MH istosAdc.h"19 #include "MHFadcCam.h" 20 20 21 21 MViewAdcSpectra::MViewAdcSpectra() … … 65 65 plist.AddToList(&evttime); 66 66 67 fHistosAdc= new MH istosAdc;67 fHistosAdc= new MHFadcCam; 68 68 plist.AddToList( fHistosAdc ) ; 69 69 … … 80 80 // tasks->AddToList( dumpheader ) ; 81 81 82 MFill AdcSpectfillspect;82 MFillHFadc fillspect; 83 83 tasks.AddToList( &fillspect ) ; 84 84 85 MShowSpect showspect( "MH istosAdc" ) ;85 MShowSpect showspect( "MHFadcCam" ) ; 86 86 tasks.AddToList( &showspect ) ; 87 87 -
trunk/MagicSoft/Mars/mdatacheck/MViewAdcSpectra.h
r667 r698 6 6 #endif 7 7 8 class MH istosAdc;8 class MHFadcCam; 9 9 10 10 class MViewAdcSpectra { … … 12 12 private: 13 13 14 MH istosAdc*fHistosAdc;14 MHFadcCam *fHistosAdc; 15 15 16 16 public: -
trunk/MagicSoft/Mars/mdatacheck/Makefile
r665 r698 22 22 # connect the include files defined in the config.mk file 23 23 # 24 INCLUDES = -I. -I../mbase -I../mraw 24 INCLUDES = -I. -I../mbase -I../mraw -I../manalysis 25 25 26 26 #------------------------------------------------------------------------------ … … 29 29 30 30 SRCFILES = MDumpEvtHeader.cc \ 31 MFillAdcSpect.cc \ 31 MFillHFadc.cc \ 32 MFillHHillas.cc \ 32 33 MGDisplayAdc.cc \ 33 MHistosAdc.cc \ 34 MHFadcPix.cc \ 35 MHFadcCam.cc \ 36 MHHillas.cc \ 34 37 MShowSpect.cc \ 35 38 MViewAdcSpectra.cc
Note:
See TracChangeset
for help on using the changeset viewer.