Changeset 2173 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 06/13/03 16:42:37 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MF.cc
r2123 r2173 83 83 #include <ctype.h> // isalnum, ... 84 84 #include <stdlib.h> // strtod, ... 85 #include <fstream .h> // ofstream, ...85 #include <fstream> // ofstream, ... 86 86 87 87 #include <TMethodCall.h> … … 97 97 98 98 ClassImp(MF); 99 100 using namespace std; 99 101 100 102 const TString MF::gsDefName = "MF"; -
trunk/MagicSoft/Mars/mfilter/MFAlpha.cc
r1483 r2173 31 31 32 32 #include <math.h> 33 #include <fstream .h>33 #include <fstream> 34 34 35 35 #include "MLog.h" … … 42 42 ClassImp(MFAlpha); 43 43 44 using namespace std; 44 45 45 46 // -------------------------------------------------------------------------- … … 62 63 // -------------------------------------------------------------------------- 63 64 // 64 void MFAlpha::Init(const char type, const Int_t val,65 void MFAlpha::Init(const char type, const Float_t val, 65 66 const char *name, const char *title) 66 67 { -
trunk/MagicSoft/Mars/mfilter/MFAlpha.h
r1481 r2173 27 27 Float_t fValue; // [deg] 28 28 29 void Init(const char type, const Int_t val,29 void Init(const char type, const Float_t val, 30 30 const char *name, const char *title); 31 31 -
trunk/MagicSoft/Mars/mfilter/MFCT1SelBasic.cc
r2037 r2173 57 57 ClassImp(MFCT1SelBasic); 58 58 59 using namespace std; 60 59 61 // -------------------------------------------------------------------------- 60 62 // -
trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.cc
r2076 r2173 57 57 58 58 ClassImp(MFCT1SelFinal); 59 60 using namespace std; 59 61 60 62 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFCT1SelStandard.cc
r2059 r2173 58 58 ClassImp(MFCT1SelStandard); 59 59 60 using namespace std; 61 60 62 // -------------------------------------------------------------------------- 61 63 // -
trunk/MagicSoft/Mars/mfilter/MFDataChain.cc
r2098 r2173 44 44 #include "MFDataChain.h" 45 45 46 #include <fstream .h>46 #include <fstream> 47 47 48 48 #include <TMethodCall.h> … … 54 54 55 55 ClassImp(MFDataChain); 56 57 using namespace std; 56 58 57 59 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFDataMember.cc
r1661 r2173 44 44 #include "MFDataMember.h" 45 45 46 #include <fstream .h>46 #include <fstream> 47 47 48 48 #include <TMethodCall.h> … … 54 54 55 55 ClassImp(MFDataMember); 56 57 using namespace std; 56 58 57 59 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc
r2010 r2173 48 48 #include "MFEnergySlope.h" 49 49 50 #include <fstream .h>50 #include <fstream> 51 51 #include <TRandom.h> 52 52 … … 60 60 61 61 ClassImp(MFEnergySlope); 62 63 using namespace std; 62 64 63 65 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc
r2118 r2173 74 74 ClassImp(MFEventSelector); 75 75 76 using namespace std; 77 76 78 static const TString gsDefName = "MFEventSelector"; 77 79 static const TString gsDefTitle = "Filter to select events"; -
trunk/MagicSoft/Mars/mfilter/MFEventSelector2.cc
r2118 r2173 112 112 113 113 ClassImp(MFEventSelector2); 114 115 using namespace std; 114 116 115 117 const TString MFEventSelector2::gsDefName = "MFEventSelector2"; … … 133 135 // would result in redistributing cos(Theta). 134 136 // 135 MFEventSelector2::MFEventSelector2(MH3 &hist, const char *name =NULL, const char *title=NULL)137 MFEventSelector2::MFEventSelector2(MH3 &hist, const char *name, const char *title) 136 138 : fHistOrig(NULL), fHistNom(&hist), fHistRes(NULL), 137 139 fDataX(hist.GetRule('x')), fDataY(hist.GetRule('y')), … … 178 180 // Reading task of the present loop is used in a new eventloop. 179 181 // 180 Bool_t MFEventSelector2::Read (MRead &read)182 Bool_t MFEventSelector2::ReadDistribution(MRead &read) 181 183 { 182 184 if (read.GetEntries() > INT_MAX) // FIXME: LONG_MAX ??? … … 355 357 356 358 // Read primary distribution 357 if (!Read (*read))359 if (!ReadDistribution(*read)) 358 360 return kFALSE; 359 361 -
trunk/MagicSoft/Mars/mfilter/MFEventSelector2.h
r2118 r2173 44 44 45 45 TH1 &InitHistogram(MH3* &hist); 46 Bool_t Read (MRead &read);46 Bool_t ReadDistribution(MRead &read); 47 47 void PrepareHistograms(); 48 48 Bool_t PreProcessData(MParList *parlist); -
trunk/MagicSoft/Mars/mfilter/MFParticleId.cc
r1483 r2173 34 34 #include "MFParticleId.h" 35 35 36 #include <fstream .h>36 #include <fstream> 37 37 38 38 #include "MLog.h" … … 45 45 ClassImp(MFParticleId); 46 46 47 using namespace std; 47 48 48 49 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.cc
r1483 r2173 30 30 #include "MFTriggerLvl1.h" 31 31 32 #include <fstream .h>32 #include <fstream> 33 33 34 34 #include "MLog.h" … … 41 41 ClassImp(MFTriggerLvl1); 42 42 43 using namespace std; 43 44 44 45 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl2.cc
r1777 r2173 20 20 ! Copyright: MAGIC Software Development, 2000-2003 21 21 ! 22 ! Filter for L2Trigger. 02/200323 !24 22 \* ======================================================================== */ 25 23 … … 33 31 #include "MFTriggerLvl2.h" 34 32 35 #include <fstream .h>33 #include <fstream> 36 34 37 35 #include "MLog.h" … … 44 42 ClassImp(MFTriggerLvl2); 45 43 44 using namespace std; 46 45 47 46 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mfilter/MFilterList.cc
r1936 r2173 30 30 #include "MFilterList.h" 31 31 32 #include <fstream .h>32 #include <fstream> 33 33 34 34 #include <TString.h> … … 40 40 41 41 ClassImp(MFilterList); 42 43 using namespace std; 42 44 43 45 static const TString gsDefName = "MFilterList"; -
trunk/MagicSoft/Mars/mfilter/MFilterList.h
r1486 r2173 50 50 51 51 void Print(Option_t *opt = "") const; 52 TString GetRule(Option_t *opt="") const; 52 TString GetRule() const { return GetRule(""); } 53 TString GetRule(Option_t *opt) const; 53 54 54 55 ClassDef(MFilterList, 1) // List to combine several filters logically
Note:
See TracChangeset
for help on using the changeset viewer.