Changeset 1646 for trunk/MagicSoft
- Timestamp:
- 11/19/02 13:25:44 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/MagicHillas.C
r1640 r1646 111 111 MHillasCalc hcalc; 112 112 MHillasSrcCalc csrc1; 113 MHillasSrcCalc csrc2;114 113 115 114 // … … 141 140 tlist.AddToList(&hcalc); 142 141 tlist.AddToList(&csrc1); 143 tlist.AddToList(&csrc2);144 142 145 143 tlist.AddToList(&hfill1); -
trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
r1603 r1646 186 186 #include "MEvtLoop.h" 187 187 188 #include "MRead Tree.h"188 #include "MReadMarsFile.h" 189 189 190 190 #include "MHMcRate.h" … … 239 239 // - Then we can fill the efficiency histograms 240 240 // 241 MRead Tree read("Events", fInputFile);241 MReadMarsFile read("Events", fInputFile); 242 242 tlist.AddToList(&read); 243 243 -
trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc
r1613 r1646 25 25 26 26 ////////////////////////////////////////////////////////////////////////////// 27 // // 28 // MHMcCollectionAreaCalc // 29 // // 27 // 28 // MHMcCollectionAreaCalc 29 // 30 // Remark: The initialization is maily done in the ReInit function. 31 // Please make sure, that you don't use MReadTree when processing 32 // a file. Use a 'ReInit'-calling task like MReadMarsFile 33 // 30 34 ////////////////////////////////////////////////////////////////////////////// 31 35 … … 73 77 return kFALSE; 74 78 75 76 fTotalNumSimulatedShowers = 0;77 fCorsikaVersion = 0;79 fTheta = -1; 80 fTotalNumSimulatedShowers = 0; 81 fCorsikaVersion = 0; 78 82 fAllEvtsTriggered = kFALSE; 79 83 … … 95 99 96 100 if (fTheta>=0 && fTheta!=runheader->GetTelesTheta()) 97 *fLog << warn << dbginf << "Warning - Read files have different TelesTheta..." << endl; 101 { 102 *fLog << warn << dbginf << "Warning - Read files have different TelesTheta ("; 103 *fLog << fTheta << ", " << runheader->GetTelesTheta() << ")..." << endl; 104 } 98 105 99 106 fTheta = runheader->GetTelesTheta(); … … 123 130 Bool_t MMcCollectionAreaCalc::Process() 124 131 { 132 // *fLog << all << fMcEvt << " " << (int)fAllEvtsTriggered << " " << fCollArea << endl; 125 133 const Float_t energy = fMcEvt->GetEnergy(); 126 134 const Float_t impact = fMcEvt->GetImpact()/100.;
Note:
See TracChangeset
for help on using the changeset viewer.