Changeset 2241
- Timestamp:
- 06/26/03 20:57:18 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2240 r2241 1 1 -*-*- END OF LINE -*-*- 2 3 2003/06/26: Abelardo Moralejo 4 * macros/CT1EgyEst.C 5 - Added to the argument list of CT1EEst the binnings in theta 6 and energy. Commented out the MLog.h and MLogManip.h, headers, 7 otherwise it does not run (don't know why). Commented out filters 8 (my test file does not contain hadronness), please uncomment 9 them to run on files with hadronness info. 2 10 3 11 2003/06/26: Abelardo Moralejo -
trunk/MagicSoft/Mars/macros/CT1EgyEst.C
r2235 r2241 35 35 #include "MMatrixLoop.h" 36 36 #include "MChisqEval.h" 37 38 /* 37 39 #include "MLog.h" 38 40 #include "MLogManip.h" 41 */ 39 42 40 43 void CT1EgyEst() … … 61 64 Float_t maxdist = 1.; 62 65 66 MBinning BinningE("BinningE"); 67 MBinning BinningTheta("BinningTheta"); 68 BinningE.SetEdgesLog(50, 500, 50000.); 69 BinningTheta.SetEdges(5, 0., 50.); 70 63 71 CT1EEst(inPath, fileNameIn, 64 outPath, energyParName, 65 hilName, hilSrcName, hadronnessName, 66 howMany, maxhadronness, maxalpha, maxdist); 72 outPath, energyParName, 73 hilName, hilSrcName, hadronnessName, 74 howMany, maxhadronness, maxalpha, maxdist, 75 &BinningE, &BinningTheta); 67 76 } 68 77 … … 84 93 85 94 void CT1EEst(TString inPath, TString fileNameIn, 86 TString outPath, TString energyParName, 87 TString hilName, TString hilSrcName, TString hadronnessName, 88 Int_t howMany, 89 Float_t maxhadronness, Float_t maxalpha, Float_t maxdist) 95 TString outPath, TString energyParName, 96 TString hilName, TString hilSrcName, TString hadronnessName, 97 Int_t howMany, 98 Float_t maxhadronness, Float_t maxalpha, Float_t maxdist, 99 MBinning* binsE, MBinning* binsTheta) 90 100 { 91 101 cout << "================================================================" … … 125 135 Optimize.SetOutFile(paramout); 126 136 137 /* 127 138 MFCT1SelFinal filterhadrons; 128 139 filterhadrons.SetHadronnessName(hadronnessName); … … 130 141 filterhadrons.SetInverted(); 131 142 Optimize.SetEventFilter(&filterhadrons); 143 */ 132 144 133 145 Optimize.SetNevents(howMany); … … 223 235 // Select events 224 236 // 237 238 /* 225 239 cout << "Select events with hadronness < " << maxhadronness 226 240 << " and |alpha| < " << maxalpha << endl; … … 230 244 231 245 MContinue cont(&hcut2); 246 */ 232 247 233 248 parlist2.AddToList(&tlist2); … … 237 252 238 253 tlist2.AddToList(&read2); 239 tlist2.AddToList(&cont);254 // tlist2.AddToList(&cont); 240 255 tlist2.AddToList(&eest2); 241 256 … … 253 268 tlist2.AddToList(&migfill); 254 269 255 MBinning BinningE("BinningE"); 256 MBinning BinningTheta("BinningTheta"); 257 BinningE.SetEdgesLog(50, 500, 50000.); 258 BinningTheta.SetEdges(5, 0., 50.); 259 260 parlist2.AddToList(&BinningE); 261 parlist2.AddToList(&BinningTheta); 270 parlist2.AddToList(binsE); 271 parlist2.AddToList(binsTheta); 262 272 263 273 MBinning BinningDE("BinningDE");
Note:
See TracChangeset
for help on using the changeset viewer.