Changeset 5340 for trunk/MagicSoft/Mars
- Timestamp:
- 11/04/04 21:52:46 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5339 r5340 25 25 - Added member fMirrorFraction to keep the active fraction of the 26 26 mirror dish set in the camera simulation. Added Getter & Setter. 27 Added some comments. Update class version to 4. 28 29 * mmc/MMcRunHeader.[hxx,cxx] 30 - Removed member fTelesTheta, fTelesPhi. They make no sense since 31 telescope orientation can change from event to event in MC too. 32 Added getter and setter for fShowerThetaMin and fShowerThetaMax. 33 34 * mmontecarlo/MMcCollectionAreaCalc.[h,cc] 35 - Changed consistency check on MMcRunHeader.fTelesTheta to check 36 on fShowerThetaMin and fShowerThetaMax 37 38 * mfileio/MReadMarsFile.cc 39 - Removed obsolete check of old MC files, which needed the removed 40 data member MMcRunHeader.fTelesTheta. 27 41 28 42 2004/11/04: Nepomuk Otte -
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
r5160 r5340 208 208 if (mcheader) 209 209 { 210 if (mcheader->GetReflVersion()<=40 && mcheader->GetTelesTheta()>15)211 {212 *fLog << warn << "Warning - You may use Monte Carlo data produced with a version" << endl;213 *fLog << "of the reflector program < 0.4 and a zenith angle > 15," << endl;214 *fLog << "in this case you may get less photons than you would expect." << endl;215 }216 210 if (mcheader->GetCamVersion()==50) 217 211 { -
trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc
r5073 r5340 67 67 fAllEvtsTriggered = kFALSE; 68 68 fTotalNumSimulatedShowers = 0; 69 fTheta = -1.; 69 fThetaMin = -1.; 70 fThetaMax = -1.; 70 71 71 72 } … … 100 101 101 102 102 if (fTheta>=0 && fTheta!=runheader->GetTelesTheta()) 103 { 104 *fLog << warn << "Warning - Read files have different TelesTheta ("; 105 *fLog << fTheta << ", " << runheader->GetTelesTheta() << ")..." << endl; 106 } 107 fTheta = runheader->GetTelesTheta(); 103 if ( (fThetaMin >= 0 && fThetaMin != runheader->GetShowerThetaMin()) || 104 (fThetaMax >= 0 && fThetaMax != runheader->GetShowerThetaMax()) ) 105 { 106 *fLog << warn << "Warning - Read files have different Theta ranges ("; 107 *fLog << "(" << fThetaMin << ", " << fThetaMax << ") vs (" << 108 runheader->GetShowerThetaMin() << ", " << 109 runheader->GetShowerThetaMax() << ")..." << endl; 110 } 111 fThetaMin = runheader->GetShowerThetaMin(); 112 fThetaMax = runheader->GetShowerThetaMax(); 108 113 109 114 -
trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.h
r2250 r5340 26 26 UInt_t fCorsikaVersion; 27 27 Bool_t fAllEvtsTriggered; 28 Float_t fTheta; 28 Float_t fThetaMin; 29 Float_t fThetaMax; 29 30 30 31 Bool_t ReInit(MParList *plist);
Note:
See TracChangeset
for help on using the changeset viewer.