Changeset 2173 for trunk/MagicSoft/Mars/mhistmc
- Timestamp:
- 06/13/03 16:42:37 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhistmc
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc
r2043 r2173 41 41 #include "MLogManip.h" 42 42 43 44 43 ClassImp(MHMcCT1CollectionArea); 44 45 using namespace std; 45 46 46 47 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhistmc/MHMcCollectionArea.cc
r2097 r2173 45 45 ClassImp(MHMcCollectionArea); 46 46 47 using namespace std; 48 47 49 // -------------------------------------------------------------------------- 48 50 // -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergy.cc
r2017 r2173 35 35 36 36 #include <stdlib.h> 37 #include <iostream .h>37 #include <iostream> 38 38 39 39 #include <TH1.h> … … 48 48 49 49 ClassImp(MHMcEnergy); 50 51 using namespace std; 50 52 51 53 // ------------------------------------------------------------------------- … … 217 219 Float_t MHMcEnergy::CalcThresholdErr(TF1 *gauss) 218 220 { 219 const Float_t lg10 = log(10 );221 const Float_t lg10 = log(10.); 220 222 const Float_t p1 = gauss->GetParameter(1); 221 223 const Float_t p1err = gauss->GetParError(1); -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
r2111 r2173 50 50 ClassImp(MHMcEnergyMigration); 51 51 52 using namespace std; 52 53 53 54 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhistmc/MHMcIntRate.cc
r1974 r2173 44 44 45 45 ClassImp(MHMcIntRate); 46 47 using namespace std; 46 48 47 49 // ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhistmc/MHMcRate.cc
r2017 r2173 40 40 ClassImp(MHMcRate); 41 41 42 using namespace std; 43 42 44 void MHMcRate::Init(const char *name, const char *title) 43 45 { … … 196 198 const Double_t specidx = 1.0-fSpecIndex; 197 199 198 const Double_t epowmax = pow( fEnergyMax, specidx);199 const Double_t epowmin = pow( fEnergyMin, specidx);200 const Double_t epowmax = pow((double)fEnergyMax, specidx); 201 const Double_t epowmin = pow((double)fEnergyMin, specidx); 200 202 201 203 if (fShowerRate <= 0) -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc
r2043 r2173 51 51 #include "MBinning.h" 52 52 53 using namespace std; 54 53 55 /* 54 56 Please, DON'T USE IFDEFS IN SUCH A CONTEXT, Thomas.
Note:
See TracChangeset
for help on using the changeset viewer.