Changeset 859 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 07/06/01 14:48:54 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MFillHFadc.cc
r855 r859 25 25 26 26 ////////////////////////////////////////////////////////////////////////////// 27 // 28 // MFillHFadc 29 // 30 // This task fill the n time slices from all pixels 31 // (stored in a MRawEvtData container) into histograms. 32 // This histograms (one per pixel) are stored in MHFadcCam, MHFadcPix 33 // 27 // // 28 // MFillHFadc // 29 // // 30 // This task fill the n time slices from all pixels // 31 // (stored in a MRawEvtData container) into histograms. // 32 // This histograms (one per pixel) are stored in MHFadcCam, MHFadcPix // 33 // // 34 // Input Containers: // 35 // MRawEvtData // 36 // // 37 // Output Containers: // 38 // MHFadcCam // 39 // // 34 40 ////////////////////////////////////////////////////////////////////////////// 35 41 … … 43 49 #include "MRawEvtPixelIter.h" 44 50 45 ClassImp(MFillHFadc) 51 ClassImp(MFillHFadc); 46 52 47 53 // -------------------------------------------------------------------------- … … 62 68 // check if all necessary input containers are existing 63 69 // 64 fRawEvtData = (MRawEvtData*)pList->Find CreateObj("MRawEvtData");70 fRawEvtData = (MRawEvtData*)pList->FindObject("MRawEvtData"); 65 71 if (!fRawEvtData) 66 72 { 67 *fLog << dbginf << " Error:MRawEvtData not found... exit." << endl;73 *fLog << dbginf << "MRawEvtData not found... exit." << endl; 68 74 return kFALSE; 69 75 } -
trunk/MagicSoft/Mars/mhist/MFillHHillas.cc
r855 r859 24 24 \* ======================================================================== */ 25 25 26 //////////////////////////////////////////////////////////////////////// 27 // 28 // MFillHHillas 29 // 30 // This task fills the hillas parameter from MHillas into 31 // histograms (MHHillas) 32 // 33 //////////////////////////////////////////////////////////////////////// 26 ////////////////////////////////////////////////////////////////////////////// 27 // // 28 // MFillHHillas // 29 // // 30 // This task fills the hillas parameter from MHillas into // 31 // histograms (MHHillas) // 32 // // 33 // Input Containers: // 34 // MHillas // 35 // // 36 // Output Containers: // 37 // MHHillas // 38 // // 39 ////////////////////////////////////////////////////////////////////////////// 34 40 #include "MFillHHillas.h" 35 41 … … 39 45 #include "MParList.h" 40 46 41 ClassImp(MFillHHillas) 47 ClassImp(MFillHHillas); 42 48 43 49 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MFillHHillas.h
r852 r859 16 16 class MFillHHillas : public MTask { 17 17 private: 18 MHillas*fEvt;18 const MHillas *fEvt; 19 19 MHHillas *fHistos ; 20 20 -
trunk/MagicSoft/Mars/mhist/MFillHStarMap.cc
r855 r859 23 23 \* ======================================================================== */ 24 24 25 //////////////////////////////////////////////////////////////////////// 26 // 27 // MFillHStarMap 28 // 29 // This task fills a star map (a 2D histogram, MHStarMap) 30 // from the calculated hillas parameter (MHillas). 31 // The algorithm for this can be found in MHStarMap::Fill 32 // 33 //////////////////////////////////////////////////////////////////////// 25 ////////////////////////////////////////////////////////////////////////////// 26 // // 27 // MFillHStarMap // 28 // // 29 // This task fills a star map (a 2D histogram, MHStarMap) // 30 // from the calculated hillas parameter (MHillas). // 31 // The algorithm for this can be found in MHStarMap::Fill // 32 // // 33 // Input Containers: // 34 // MHillas // 35 // // 36 // Output Containers: // 37 // MHStarMap // 38 // // 39 ////////////////////////////////////////////////////////////////////////////// 34 40 #include "MFillHStarMap.h" 35 41 … … 40 46 #include "MParList.h" 41 47 42 ClassImp(MFillHStarMap) 48 ClassImp(MFillHStarMap); 43 49 44 50 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MFillHStarMap.h
r852 r859 14 14 class MHillas; 15 15 16 class MFillHStarMap : public MTask { 17 private: 18 MHillas *fEvt; 19 MHStarMap *fHistos ; 16 class MFillHStarMap : public MTask 17 { 18 private: 19 const MHillas *fEvt; 20 MHStarMap *fHistos ; 20 21 21 public: 22 MFillHStarMap(const char *name=NULL, const char *title=NULL);22 public: 23 MFillHStarMap(const char *name=NULL, const char *title=NULL); 23 24 24 Bool_t PreProcess(MParList *pList); 25 Bool_t Process(); 26 Bool_t PostProcess(); 27 28 ClassDef(MFillHStarMap, 0) // Task to fill a 2-dim histogram by the Hillas parameters 25 Bool_t PreProcess(MParList *pList); 26 Bool_t Process(); 27 Bool_t PostProcess(); 29 28 29 ClassDef(MFillHStarMap, 0) // Task to fill a 2-dim histogram by the Hillas parameters 30 30 }; 31 31 32 32 #endif 33 33 -
trunk/MagicSoft/Mars/mhist/MHFadcCam.cc
r765 r859 36 36 #include <TH1.h> 37 37 38 ClassImp(MHFadcCam) 38 ClassImp(MHFadcCam); 39 39 40 40 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHFadcPix.cc
r765 r859 37 37 #include <TPad.h> 38 38 39 ClassImp(MHFadcPix) 39 ClassImp(MHFadcPix); 40 40 41 41 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHHillas.cc
r852 r859 17 17 #include "MHillas.h" 18 18 19 ClassImp(MHHillas) 19 ClassImp(MHHillas); 20 20 21 21 MHHillas::MHHillas (const char *name, const char *title) … … 55 55 } 56 56 57 void MHHillas::Fill( MHillas *par)57 void MHHillas::Fill(const MHillas *par) 58 58 { 59 59 fAlpha ->Fill(fabs(par->GetAlpha())); -
trunk/MagicSoft/Mars/mhist/MHHillas.h
r712 r859 25 25 ~MHHillas(); 26 26 27 void Fill( MHillas *par);27 void Fill(const MHillas *par); 28 28 29 29 TH1F *GetHistAlpha() { return fAlpha; } -
trunk/MagicSoft/Mars/mhist/MHMcCollectionArea.cc
r853 r859 29 29 #include <TH2.h> 30 30 31 ClassImp(MHMcCollectionArea) 31 ClassImp(MHMcCollectionArea); 32 32 33 33 MHMcCollectionArea::MHMcCollectionArea(const char *name, const char *title) -
trunk/MagicSoft/Mars/mhist/MHMcEnergies.cc
r851 r859 28 28 #include "MHMcEnergy.h" 29 29 30 ClassImp(MHMcEnergies) 30 ClassImp(MHMcEnergies); 31 31 32 32 MHMcEnergies::MHMcEnergies(const UInt_t count, const char *name, const char *title) -
trunk/MagicSoft/Mars/mhist/MHMcEnergy.cc
r855 r859 32 32 #include <TPaveLabel.h> 33 33 34 ClassImp(MHMcEnergy) 34 ClassImp(MHMcEnergy); 35 35 36 36 MHMcEnergy::MHMcEnergy(const UInt_t idx, const char *name, const char *title) -
trunk/MagicSoft/Mars/mhist/MHStarMap.cc
r749 r859 42 42 #include "MHillas.h" 43 43 44 ClassImp(MHStarMap) 44 ClassImp(MHStarMap); 45 45 46 46 MHStarMap::MHStarMap (const char *name, const char *title) … … 133 133 } 134 134 135 void MHStarMap::Fill( MHillas *par)135 void MHStarMap::Fill(const MHillas *par) 136 136 { 137 137 const float dist = par->GetDist(); -
trunk/MagicSoft/Mars/mhist/MHStarMap.h
r712 r859 27 27 ~MHStarMap(); 28 28 29 void Fill( MHillas *par);29 void Fill(const MHillas *par); 30 30 31 31 TH2F *GetHist() { return fStarMap; }
Note:
See TracChangeset
for help on using the changeset viewer.