Changeset 2173 for trunk/MagicSoft/Mars/mdata
- Timestamp:
- 06/13/03 16:42:37 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mdata
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdata/DataIncl.h
r1287 r2173 1 1 #ifndef __CINT__ 2 2 3 #include <fstream.h>3 //#include <fstream> 4 4 5 5 #include <TFile.h> -
trunk/MagicSoft/Mars/mdata/MData.cc
r1574 r2173 63 63 #include "MData.h" 64 64 65 #include <fstream .h>65 #include <fstream> 66 66 67 67 #include "MLog.h" 68 68 69 69 ClassImp(MData); 70 71 using namespace std; 70 72 71 73 Bool_t MData::AsciiWrite(ostream &out) const -
trunk/MagicSoft/Mars/mdata/MDataArray.cc
r2114 r2173 33 33 #include "MDataArray.h" 34 34 35 #include <fstream .h>35 #include <fstream> 36 36 37 37 #include <TVector.h> … … 43 43 44 44 ClassImp(MDataArray); 45 46 using namespace std; 45 47 46 48 static const TString gsDefName = "MDataArray"; … … 194 196 void MDataArray::GetData(TVector &v) const 195 197 { 196 Double_t ncols = GetNumEntries();198 Int_t ncols = GetNumEntries(); 197 199 198 200 v.ResizeTo(ncols); -
trunk/MagicSoft/Mars/mdata/MDataChain.cc
r2117 r2173 126 126 127 127 ClassImp(MDataChain); 128 129 using namespace std; 128 130 129 131 // -------------------------------------------------------------------------- … … 543 545 case kERad2Deg: return val*180/TMath::Pi(); 544 546 case kEDeg2Rad: return val*TMath::Pi()/180; 545 case kERandom: return gRandom ? gRandom->Uniform(val) : 0;546 case kERandomP: return gRandom ? gRandom->Poisson(val) : 0;547 case kERandomE: return gRandom ? gRandom->Exp(val) : 0;548 case kERandomI: return gRandom ? gRandom->Integer( val): 0;547 case kERandom: return gRandom ? gRandom->Uniform(val) : 0; 548 case kERandomP: return gRandom ? gRandom->Poisson(val) : 0; 549 case kERandomE: return gRandom ? gRandom->Exp(val) : 0; 550 case kERandomI: return gRandom ? gRandom->Integer((int)val) : 0; 549 551 case kERandomG: return gRandom ? gRandom->Gaus(0, val) : 0; 550 552 case kERandomL: return gRandom ? gRandom->Landau(0, val) : 0; -
trunk/MagicSoft/Mars/mdata/MDataElement.cc
r2098 r2173 38 38 #include "MDataElement.h" 39 39 40 #include <fstream .h>40 #include <fstream> 41 41 42 42 #include "MHMatrix.h" … … 48 48 49 49 ClassImp(MDataElement); 50 51 using namespace std; 50 52 51 53 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mdata/MDataList.cc
r1574 r2173 36 36 ClassImp(MDataList); 37 37 38 using namespace std; 39 38 40 // -------------------------------------------------------------------------- 39 41 // -
trunk/MagicSoft/Mars/mdata/MDataMember.cc
r1709 r2173 38 38 #include "MDataMember.h" 39 39 40 #include <fstream .h>40 #include <fstream> 41 41 42 42 #include <TMethodCall.h> … … 48 48 49 49 ClassImp(MDataMember); 50 51 using namespace std; 50 52 51 53 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mdata/MDataValue.cc
r1474 r2173 38 38 ClassImp(MDataValue); 39 39 40 using namespace std; 41 40 42 // -------------------------------------------------------------------------- 41 43 //
Note:
See TracChangeset
for help on using the changeset viewer.