Changeset 1989 for trunk/MagicSoft/Mars
- Timestamp:
- 04/23/03 16:28:05 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1986 r1989 1 1 -*-*- END OF LINE -*-*- 2 3 2003/04/23: Thomas Bretz 4 5 * mhist/MHCerPhotEvt.[h,cc]: 6 - updated dox 7 8 2 9 3 10 2003/04/23: Abelardo Moralejo … … 18 25 - adapted to changes above. 19 26 27 * mmc/MMcRunHeader.[hxx,cxx], mmc/MMCEvt.[hxx,cxx] 28 - added comment in class description about the definition of 29 the azimuth angle phi in the MC classes. 30 31 32 20 33 2003/04/23: Antonio Stamerra 21 34 … … 27 40 - modified accordingly (added MFEnergySlope) 28 41 29 2003/04/23: Abelardo Moralejo 30 31 * mmc/MMcRunHeader.[hxx,cxx], mmc/MMCEvt.[hxx,cxx] 32 - added comment in class description about the definition of 33 the azimuth angle phi in the MC classes. 42 34 43 35 44 2003/04/22: Abelardo Moralejo … … 46 55 * mfilter/MFCT1SelFinal.[h,cc] 47 56 - added the possibility to cut also in Dist. 57 58 48 59 49 60 2003/04/22: Thomas Bretz … … 75 86 - added mhistmc 76 87 77 78 79 2003/04/22: Thomas Bretz 80 88 * mmain/MStatusDisplay.cc: 89 - SetNoContextMenu(Bool_t flag) removed default argument 90 91 * mmain/Makefile: 92 - added -I../mhistmc 93 81 94 * mhist/MWeight.[h,cc]: 82 95 - added -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.cc
r1966 r1989 63 63 // -------------------------------------------------------------------------- 64 64 // 65 // Setup four histograms for Width, Length 65 // Initialize the name and title of the task. 66 // Resets the sum histogram 66 67 // 67 68 MHCerPhotEvt::MHCerPhotEvt(const char *name, const char *title) … … 77 78 } 78 79 80 // -------------------------------------------------------------------------- 81 // 82 // Delete the corresponding camera display if available 83 // 79 84 MHCerPhotEvt::~MHCerPhotEvt() 80 85 { … … 85 90 // -------------------------------------------------------------------------- 86 91 // 87 // Setup the Binning for the histograms automatically if the correct 88 // instances of MBinning (with the names 'BinningWidth' and 'BinningLength') 89 // are found in the parameter list 90 // Use this function if you want to set the conversion factor which 91 // is used to convert the mm-scale in the camera plain into the deg-scale 92 // used for histogram presentations. The conversion factor is part of 93 // the camera geometry. Please create a corresponding MGeomCam container. 92 // Get the event (MCerPhotEvt) the histogram might be filled with. If 93 // it is not given, it is assumed, that it is filled with the argument 94 // of the Fill function. 95 // Looks for the camera geometry MGeomCam and resets the sum histogram. 94 96 // 95 97 Bool_t MHCerPhotEvt::SetupFill(const MParList *plist) … … 110 112 // -------------------------------------------------------------------------- 111 113 // 112 // Fill the histograms with data from a MHillas-Container. 113 // Be careful: Only call this with an object of type MHillas 114 // 115 Bool_t MHCerPhotEvt::Fill(const MParContainer *par) 114 // Fill the histograms with data from a MCerPhotEvt-Container. 115 // 116 Bool_t MHCerPhotEvt::Fill(const MParContainer *par, Double_t w) 116 117 { 117 118 const MCerPhotEvt *evt = par ? (MCerPhotEvt*)par : fEvt; … … 143 144 } 144 145 146 // -------------------------------------------------------------------------- 147 // 148 // Scale the sum container with the number of entries 149 // 145 150 Bool_t MHCerPhotEvt::Finalize() 146 151 { … … 149 154 } 150 155 156 // -------------------------------------------------------------------------- 157 // 158 // Draw clone 159 // 151 160 TObject *MHCerPhotEvt::DrawClone(Option_t *opt) const 152 161 { … … 154 163 } 155 164 165 // -------------------------------------------------------------------------- 166 // 167 // Draw the present 'fill status' 168 // 156 169 void MHCerPhotEvt::Draw(Option_t *) 157 170 { … … 168 181 } 169 182 183 // -------------------------------------------------------------------------- 184 // 185 // If a camera display is not yet assigned, assign a new one. 186 // 170 187 void MHCerPhotEvt::Paint(Option_t *option="") 171 188 { -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.h
r1965 r1989 17 17 { 18 18 private: 19 MCerPhotEvt fSum; 20 Int_t fEntries; 21 M CerPhotEvt *fEvt; //!22 M GeomCam *fCam;23 MCamDisplay *fDispl; //!19 MCerPhotEvt fSum; // storing the sum 20 Int_t fEntries; // number of entries in the histogram 21 MGeomCam *fCam; // the present geometry 22 MCerPhotEvt *fEvt; //! the current event 23 MCamDisplay *fDispl; //! the camera display 24 24 25 25 public: … … 27 27 ~MHCerPhotEvt(); 28 28 29 // TObject *Clone(const char *newname="") const;30 31 29 void Clear(); 32 30 33 31 Bool_t SetupFill(const MParList *pList); 34 Bool_t Fill(const MParContainer *par );32 Bool_t Fill(const MParContainer *par, Double_t w=1); 35 33 Bool_t Finalize(); 36 34 -
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc
r1988 r1989 116 116 if (!binsenergy || !binstheta) 117 117 { 118 *fLog << err << dbginf << "At least one MBinning not found... aborting." 119 << endl;118 *fLog << err << dbginf << "At least one MBinning not found... aborting."; 119 *fLog << endl; 120 120 return kFALSE; 121 121 }
Note:
See TracChangeset
for help on using the changeset viewer.