Changeset 1668 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 11/25/02 09:12:47 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MF.cc
r1666 r1668 244 244 if (isrule) 245 245 { 246 Int_t lvl = gLog.GetDebugLevel(); 247 gLog.SetDebugLevel(1); 246 248 newfilter = new MFDataChain(text.Data(), c, num); 247 249 newfilter->SetName(Form("Chain%02d%c%f", level, c, num)); 250 gLog.SetDebugLevel(lvl); 248 251 } 249 252 else … … 407 410 } 408 411 409 if (!fFilter-> PreProcess(plist))412 if (!fFilter->CallPreProcess(plist)) 410 413 { 411 414 *fLog << err << dbginf << "PreProcessing filters in "; … … 423 426 Bool_t MF::Process() 424 427 { 425 return fFilter-> Process();428 return fFilter->CallProcess(); 426 429 } 427 430 … … 432 435 Bool_t MF::PostProcess() 433 436 { 434 return fFilter-> PostProcess();437 return fFilter->CallPostProcess(); 435 438 } 436 439 -
trunk/MagicSoft/Mars/mfilter/MFDataChain.cc
r1666 r1668 58 58 // 59 59 MFDataChain::MFDataChain(const char *member, const char type, const Double_t val, 60 60 const char *name, const char *title) 61 61 : fData(member), fValue(val) 62 62 { -
trunk/MagicSoft/Mars/mfilter/MFEventSelector.cc
r1600 r1668 147 147 Bool_t MFEventSelector::Process() 148 148 { 149 Float_t evt = gRandom->Uniform();149 const Float_t evt = gRandom->Uniform(); 150 150 151 151 if (fNumSelectEvts>0) -
trunk/MagicSoft/Mars/mfilter/MFEventSelector.h
r1600 r1668 27 27 void StreamPrimitive(ofstream &out) const; 28 28 29 Bool_t PreProcess(MParList *pList); 30 Bool_t Process(); 31 Bool_t PostProcess(); 32 29 33 enum { kNumTotalFromFile = BIT(14) }; 30 34 /* … … 47 51 */ 48 52 49 Bool_t PreProcess(MParList *pList);50 Bool_t Process();51 Bool_t PostProcess();52 53 53 ClassDef(MFEventSelector, 0) // A Filter to select events from files 54 54 }; -
trunk/MagicSoft/Mars/mfilter/MFilterList.cc
r1493 r1668 188 188 // 189 189 while ((filter=(MFilter*)Next())) 190 if (!filter-> PreProcess(pList))190 if (!filter->CallPreProcess(pList)) 191 191 { 192 192 *fLog << err << "Error - Preprocessing Filter "; … … 212 212 // 213 213 while ((filter=(MFilter*)Next())) 214 if (!filter-> Process())214 if (!filter->CallProcess()) 215 215 return kFALSE; 216 216 … … 232 232 // 233 233 while ((filter=(MFilter*)Next())) 234 if (!filter-> PostProcess())234 if (!filter->CallPostProcess()) 235 235 return kFALSE; 236 236
Note:
See TracChangeset
for help on using the changeset viewer.