Changeset 5803 for trunk/MagicSoft
- Timestamp:
- 01/11/05 16:46:58 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5802 r5803 20 20 21 21 -*-*- END OF LINE -*-*- 22 2005/01/11 Thomas Bretz 23 24 * callisto.cc, callisto.rc: 25 - changed such, that all three kinds of pedestals are calcualted 26 (usefull for studies) 27 28 * manalysis/MMatrixLoop.[h,cc]: 29 - derived from MRead 30 - implemented some basic functions from MRead 31 32 * mfilter/MFCosmics.[h,cc]: 33 - allow setting of name of MPedestalCam 34 35 * mhbase/MBinning.[h,cc]: 36 - added SetEdges taking MParList as input 37 38 * mhflux/MHAlpha.cc: 39 - use new function from MBinning 40 41 * mjobs/MJCalibrateSignal.[h,cc]: 42 - changed to calculate all three kinds of pedestals 43 - added filters for trigger pattern and illuminated events 44 45 * mjobs/MJPedestal.cc: 46 - give different names to tabs with different pedestals 47 48 * mjobs/MJStar.cc: 49 - on request changed used pedestal from "FromExtractor" to 50 "FromExtractorRndm" 51 52 * mtrigger/MTriggerPattern.h: 53 - added Reset function 54 55 * mtrigger/MTriggerPatternDecode.[h,cc]: 56 - added using file format version number 57 58 59 22 60 2005/01/11 Markus Gaug 23 61 … … 34 72 - added pointer to MRawEvtHeader to deny cosmics events in case 35 73 of 'interlaced' flag is set. No changes for 'normal' calibration 74 36 75 37 76 … … 93 132 94 133 134 95 135 2005/01/10 Thomas Bretz 96 136 -
trunk/MagicSoft/Mars/callisto.cc
r5760 r5803 439 439 return 1; 440 440 } 441 /* 441 442 442 // 443 443 // Calculate pedestal and pedestal resolution … … 472 472 return 1; 473 473 } 474 */ 474 475 475 // 476 476 // Extract signal and calibrate it … … 487 487 488 488 // Where to search for calibration files 489 if (!job4.ProcessFile(job1.GetPedestalCam(), job2.GetPedestalCam() /*, job3.GetPedestalCam()*/))489 if (!job4.ProcessFile(job1.GetPedestalCam(), job2.GetPedestalCam(), job3.GetPedestalCam())) 490 490 return -1; 491 491 -
trunk/MagicSoft/Mars/callisto.rc
r5760 r5803 59 59 MJPedetslaC2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat 60 60 MJPedetslaY2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat 61 MJPedetslaY3.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat 61 62 MJCalibration.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat 62 63 MJCalibrateSignal.ExtractSignal.WeightsFile: msignal/cosmics_weights.dat … … 200 201 #MJPedestalY1.PathOut: . 201 202 #MJPedestalY2.PathOut: . 203 #MJPedestalY3.PathOut: . 202 204 #MJPedestalY1.PathData: /data/MAGIC/Period016/ 203 205 #MJPedestalY2.PathData: /data/MAGIC/Period016/ 206 #MJPedestalY3.PathData: /data/MAGIC/Period016/ 204 207 #MJCalibrateSignal.PathData: /data/MAGIC/Period016/ 205 208 #MJCalibrateSignal.PathIn: . … … 210 213 #MJPedestalY1.UseData: Yes 211 214 #MJPedestalY2.UseData: Yes 215 #MJPedestalY3.UseData: Yes 212 216 MJPedestalY1.MaxEvents: 500 213 217 MJPedestalY2.MaxEvents: 500 218 MJPedestalY3.MaxEvents: 500 214 219 215 220 #MJPedestalY.ExtractPedestal: MPedCalcFromLoGain … … 244 249 # Setup level for determining of bad pixels 245 250 # ------------------------------------------------------------------------- 246 #MJCalibrateSignal.MBadPixelsCalc.PedestalLevel: 3.0 251 MJCalibrateSignal.MBadPixelsCalc.PedestalLevel: 3.0 252 MJCalibrateSignal.MBadPixelsCalc.PedestalLevelVariance: 3.0 247 253 #MJCalibrateSignal.MBadPixelsTreat.NumMinNeighbors: 2 248 254 #MJCalibrateSignal.MBadPixelsTreat.UseInterpolation: yes -
trunk/MagicSoft/Mars/manalysis/MMatrixLoop.cc
r2421 r5803 54 54 // -------------------------------------------------------------------------- 55 55 // 56 // Return the number of events (rows) in the matrix 57 // 58 UInt_t MMatrixLoop::GetEntries() 59 { 60 return fMatrix ? fMatrix->GetNumRows() : 0; 61 } 62 63 // -------------------------------------------------------------------------- 64 // 65 // Return name of MHMatrix, <n/a> if not available 66 // 67 TString MMatrixLoop::GetFileName() const 68 { 69 return fMatrix ? fMatrix->GetName() : "<n/a>"; 70 } 71 72 // -------------------------------------------------------------------------- 73 // 56 74 Int_t MMatrixLoop::PreProcess(MParList *plist) 57 75 { -
trunk/MagicSoft/Mars/manalysis/MMatrixLoop.h
r2419 r5803 2 2 #define MARS_MMatrixLoop 3 3 4 #ifndef MARS_M Task5 #include "M Task.h"4 #ifndef MARS_MRead 5 #include "MRead.h" 6 6 #endif 7 8 7 9 8 class MHMatrix; 10 9 11 class MMatrixLoop : public M Task10 class MMatrixLoop : public MRead 12 11 { 13 12 private: 13 // MMatrixLoop 14 14 static const TString gsDefName; 15 15 static const TString gsDefTitle; 16 16 17 protected:18 17 MHMatrix *fMatrix; 19 18 Int_t fNumRow; //! Number of dimensions of histogram 20 19 20 // MRead 21 UInt_t GetEntries(); 22 TString GetFileName() const; 23 Bool_t Rewind() { fNumRow=0; return kTRUE; } 24 25 virtual Int_t AddFile(const char *fname, Int_t entries=-1) { return 0; } 26 Int_t AddFiles(MDirIter &dir) { return 0; } 27 28 // MTask 29 Int_t PreProcess(MParList *plist); 30 Int_t Process(); 31 21 32 public: 22 33 MMatrixLoop(MHMatrix *mat, const char *name=NULL, const char *title=NULL); 23 24 Int_t PreProcess(MParList *plist);25 Int_t Process();26 34 27 35 ClassDef(MMatrixLoop, 0) // Task 'reading' events from a MHMatrix -
trunk/MagicSoft/Mars/mfilter/MFCosmics.cc
r3822 r5803 61 61 62 62 using namespace std; 63 64 const TString MFCosmics::fgNamePedestalCam = "MPedestalCam"; 65 63 66 // -------------------------------------------------------------------------- 64 67 // … … 66 69 // 67 70 MFCosmics::MFCosmics(const char *name, const char *title) 68 : fPedestals(NULL), fSignals(NULL), 69 fRawEvt(NULL), fMaxEmptyPixels(0.2)71 : fPedestals(NULL), fSignals(NULL), fRawEvt(NULL), 72 fNamePedestalCam(fgNamePedestalCam), fMaxEmptyPixels(0.2) 70 73 { 71 74 fName = name ? name : "MFCosmics"; … … 89 92 } 90 93 91 fPedestals = (MPedestalCam*)pList->FindObject( "MPedestalCam");94 fPedestals = (MPedestalCam*)pList->FindObject(fNamePedestalCam, "MPedestalCam"); 92 95 if (!fPedestals) 93 96 { 94 *fLog << err << "MPedestalCamnot found... aborting." << endl;97 *fLog << err << fNamePedestalCam << " [MPedestalCam] not found... aborting." << endl; 95 98 return kFALSE; 96 99 } -
trunk/MagicSoft/Mars/mfilter/MFCosmics.h
r3262 r5803 14 14 { 15 15 private: 16 static const TString fgNamePedestalCam; 17 16 18 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 17 19 MExtractedSignalCam *fSignals; // Calibration events of all pixels in the camera 18 20 19 21 MRawEvtData *fRawEvt; // raw event data (time slices) 22 23 TString fNamePedestalCam; 20 24 21 25 Int_t fCut[2]; … … 40 44 Float_t GetMaxEmptyPixels() const { return fMaxEmptyPixels; } 41 45 46 void SetNamePedestalCam(const char *name) { fNamePedestalCam = name; } 47 42 48 ClassDef(MFCosmics, 0) // Filter to perform a cosmics rejection 43 49 }; -
trunk/MagicSoft/Mars/mhbase/MBinning.cc
r4966 r5803 48 48 #include "MLogManip.h" 49 49 50 #include "MParList.h" 51 50 52 #include "MH.h" 51 53 … … 85 87 86 88 SetEdges(nbins, lo, hi, opt); 89 } 90 91 // -------------------------------------------------------------------------- 92 // 93 // Search in the parameter list for the binning with name "name". If found, 94 // set the edges and title accordingly. Default is name of object. 95 // return kTRUE if object found, kFALSE otherwise. 96 // 97 Bool_t MBinning::SetEdges(const MParList &list, const char *name) 98 { 99 MBinning *bins = (MBinning*)list.FindObject(name ? name : fName.Data(), "MBinning"); 100 if (!bins) 101 return kFALSE; 102 103 SetEdges(*bins); 104 return kTRUE; 87 105 } 88 106 -
trunk/MagicSoft/Mars/mhbase/MBinning.h
r5692 r5803 12 12 class TH1; 13 13 class TAxis; 14 15 class MParList; 14 16 15 17 class MBinning : public MParContainer … … 52 54 } 53 55 56 Bool_t SetEdges(const MParList &list, const char *name=0); 54 57 void SetEdges(const TAxis &axe); 55 void SetEdges(const MBinning &bins) { SetEdges(bins.fEdges); fType = bins.fType; }58 void SetEdges(const MBinning &bins) { SetEdges(bins.fEdges); fType = bins.fType; fTitle = bins.fTitle; } 56 59 void SetEdges(const TH1 &h, const Char_t axis='x'); 57 60 void SetEdges(const Int_t nbins, const Axis_t lo, Axis_t up); -
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r5776 r5803 306 306 if (!fOffData) 307 307 { 308 MBinning *bins = (MBinning*)pl->FindObject("BinningTheta", "MBinning");309 if (fPointPos && bins)310 binst.SetEdges(*bins);311 308 if (!fPointPos) 312 309 binst.SetEdges(1, 0, 60); 313 314 bins = (MBinning*)pl->FindObject("BinningEnergyEst", "MBinning"); 315 if ((fEnergy||fHillas) && bins) 316 binse.SetEdges(*bins); 310 else 311 binst.SetEdges(*pl, "BinningTheta"); 312 317 313 if (!fEnergy && !fHillas) 318 314 binse.SetEdges(1, 10, 100000); 319 320 bins = (MBinning*)pl->FindObject("BinningAlpha", "MBinning");321 if (bins) 322 binsa.SetEdges(*bins);315 else 316 binse.SetEdges(*pl, "BinningEnergyEst"); 317 318 binsa.SetEdges(*pl, "BinningAlpha"); 323 319 } 324 320 -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r5760 r5803 64 64 #include "MReadMarsFile.h" 65 65 #include "MRawFileRead.h" 66 #include "MContinue.h" 67 #include "MTriggerPatternDecode.h" 68 #include "MFTriggerPattern.h" 66 69 #include "MGeomApply.h" 67 70 #include "MMcPedestalCopy.h" … … 69 72 #include "MPedCalcFromLoGain.h" 70 73 #include "MExtractor.h" 74 #include "MFCosmics.h" 71 75 #include "MTaskEnv.h" 72 76 #include "MCalibrateData.h" … … 180 184 } 181 185 182 Bool_t MJCalibrateSignal::ProcessFile(MPedestalCam &pedcamab, MPedestalCam &pedcam2 /*, MPedestalCam &pedcam*/)186 Bool_t MJCalibrateSignal::ProcessFile(MPedestalCam &pedcamab, MPedestalCam &pedcam2, MPedestalCam &pedcam) 183 187 { 184 188 if (!fSequence.IsValid()) … … 324 328 // Make sure that pedcamab has the correct name 325 329 pedcamab.SetName("MPedestalFundamental"); 326 //pedcam.SetName("MPedestalFromExtractorRndm");330 pedcam.SetName("MPedestalFromExtractorRndm"); 327 331 pedcam2.SetName("MPedestalFromExtractor"); 328 //plist.AddToList(&pedcam);332 plist.AddToList(&pedcam); 329 333 plist.AddToList(&pedcam2); 330 334 plist.AddToList(&pedcamab); 331 335 336 // Check for interleaved events 337 MTriggerPatternDecode decode; 338 339 MFTriggerPattern ftp; 340 ftp.DenyCalibration(); 341 ftp.DenyPedestal(); 342 ftp.DenyPinDiode(); 343 344 MContinue conttp(&ftp, "ContTrigPattern"); 345 // --> tlist2 346 347 // Do signal and pedestal calculation 332 348 MPedCalcFromLoGain pedlo1("MPedCalcFundamental"); 333 349 pedlo1.SetPedestalUpdate(kTRUE); 334 350 pedlo1.SetNamePedestalCamOut("MPedestalFundamental"); 335 /* 336 MPedCalcFromLoGain pedlo2("MPedCalcWithExtractorRndm"); 337 pedlo2.SetPedestalUpdate(kTRUE); 338 pedlo2.SetRandomCalculation(kTRUE); 339 pedlo2.SetNamePedestalCamIn("MPedestalFundamental"); 340 pedlo2.SetNamePedestalCamOut("MPedestalFromExtractorRndm"); 341 */ 351 352 MPedCalcFromLoGain pedlo2("MPedCalcWithExtractorRndm"); 353 pedlo2.SetPedestalUpdate(kTRUE); 354 pedlo2.SetRandomCalculation(kTRUE); 355 pedlo2.SetNamePedestalCamIn("MPedestalFundamental"); 356 pedlo2.SetNamePedestalCamOut("MPedestalFromExtractorRndm"); 342 357 343 358 MPedCalcFromLoGain pedlo3("MPedCalcWithExtractor"); … … 352 367 const Float_t win = extractor1->GetNumHiGainSamples(); 353 368 pedlo1.SetExtractWindow(15, (UShort_t)TMath::Nint(win)); 354 //pedlo2.SetExtractWindow(15, (UShort_t)TMath::Nint(win));369 pedlo2.SetExtractWindow(15, (UShort_t)TMath::Nint(win)); 355 370 pedlo3.SetExtractWindow(15, (UShort_t)TMath::Nint(win)); 356 371 357 372 if (extractor1->InheritsFrom("MExtractTimeAndCharge")) 358 373 { 359 //pedlo2.SetExtractor((MExtractTimeAndCharge*)extractor1);374 pedlo2.SetExtractor((MExtractTimeAndCharge*)extractor1); 360 375 pedlo3.SetExtractor((MExtractTimeAndCharge*)extractor1); 361 376 extractor1->SetPedestals(&pedcamab); … … 363 378 } 364 379 365 MMcPedestalCopy pcopy; 380 MFCosmics fcosmics; 381 fcosmics.SetNamePedestalCam("MPedestalFundamental"); 382 MContinue contcos(&fcosmics, "ContTrigEvts"); 383 contcos.SetInverted(); 384 385 MMcPedestalCopy pcopy; 366 386 MTaskEnv taskenv1("ExtractSignal"); 367 387 MTaskEnv taskenv2("ExtractTime"); … … 376 396 calib.AddPedestal("MPedestalCam", "MPedPhotFundamental"); 377 397 calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractor"); 378 //calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractorRndm");398 calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractorRndm"); 379 399 } 380 400 else … … 382 402 calib.AddPedestal("Fundamental"); 383 403 calib.AddPedestal("FromExtractor"); 384 //calib.AddPedestal("FromExtractorRndm");404 calib.AddPedestal("FromExtractorRndm"); 385 405 calib.SetPedestalFlag(MCalibrateData::kEvent); 386 406 } … … 393 413 treat.AddNamePedPhotCam("MPedPhotFundamental"); 394 414 treat.AddNamePedPhotCam("MPedPhotFromExtractor"); 395 //treat.AddNamePedPhotCam("MPedPhotFromExtractorRndm");415 treat.AddNamePedPhotCam("MPedPhotFromExtractorRndm"); 396 416 397 417 … … 438 458 write.AddContainer("MPedPhotFundamental", "Events"); 439 459 write.AddContainer("MPedPhotFromExtractor", "Events"); 440 //write.AddContainer("MPedPhotFromExtractorRndm", "Events");460 write.AddContainer("MPedPhotFromExtractorRndm", "Events"); 441 461 write.AddContainer("MTime", "Events", kFALSE); 442 462 write.AddContainer("MRawEvtHeader", "Events"); … … 468 488 // Now setup tasklist for events 469 489 MTaskList tlist2; 490 tlist2.AddToList(&decode); 491 tlist2.AddToList(&conttp); 470 492 tlist2.AddToList(&apply); 471 493 tlist2.AddToList(&merge); … … 475 497 { 476 498 tlist2.AddToList(&pedlo1); 477 //tlist2.AddToList(&pedlo2);499 tlist2.AddToList(&pedlo2); 478 500 tlist2.AddToList(&pedlo3); 479 501 } … … 484 506 if (extractor2) 485 507 tlist2.AddToList(&taskenv2); 508 tlist2.AddToList(&contcos); 486 509 tlist2.AddToList(&fill2); 487 510 tlist2.AddToList(&calib); -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.h
r5760 r5803 34 34 MJCalibrateSignal(const char *name=NULL, const char *title=NULL); 35 35 36 Bool_t ProcessFile(MPedestalCam &camab, MPedestalCam &cam 2/*, MPedestalCam &cam2*/);36 Bool_t ProcessFile(MPedestalCam &camab, MPedestalCam &cam1, MPedestalCam &cam2); 37 37 38 38 ClassDef(MJCalibrateSignal, 0) // Tool to create a pedestal file (MPedestalCam) -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r5760 r5803 537 537 { 538 538 539 TCanvas &c3 = fDisplay->AddTab("PedExtrd");540 c3.Divide(2,3);541 542 disp0.CamDraw(c3, 1, 2, 1);543 disp1.CamDraw(c3, 2, 2, 6);544 545 TCanvas &c13 = fDisplay->AddTab("PedDiff");546 c13.Divide(2,3);547 548 disp9.CamDraw(c13, 1, 2, 5);549 disp10.CamDraw(c13, 2, 2, 5);550 return;539 TCanvas &c3 = fDisplay->AddTab(fExtractionType==kWithExtractor?"PedExtrd":"PedRndm"); 540 c3.Divide(2,3); 541 542 disp0.CamDraw(c3, 1, 2, 1); 543 disp1.CamDraw(c3, 2, 2, 6); 544 545 TCanvas &c13 = fDisplay->AddTab(fExtractionType==kWithExtractor?"PedDiff":"DiffRndm"); 546 c13.Divide(2,3); 547 548 disp9.CamDraw(c13, 1, 2, 5); 549 disp10.CamDraw(c13, 2, 2, 5); 550 return; 551 551 } 552 552 } -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r5760 r5803 186 186 //MBadPixelsMerge merge(&badpix); 187 187 MImgCleanStd clean; 188 clean.SetNamePedPhotCam("MPedPhotFromExtractor ");188 clean.SetNamePedPhotCam("MPedPhotFromExtractorRndm"); 189 189 190 190 MHillasCalc hcalc; -
trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.h
r5725 r5803 27 27 28 28 public: 29 MTriggerPattern(const char *name, const char *title); 29 MTriggerPattern(const char *name=0, const char *title=0); 30 31 void Reset() { fPrescaled=0; fUnprescaled=0; } 30 32 31 33 Byte_t GetPrescaled() const { return fPrescaled; } -
trunk/MagicSoft/Mars/mtrigger/MTriggerPatternDecode.cc
r5725 r5803 17 17 ! 18 18 ! Author(s): Nicola Galante 12/2004 <mailto:nicola.galante@pi.infn.it> 19 ! Author(s): Nicola Galante12/2004 <mailto:tbretz@astro.uni-wuerzburg.de>19 ! Author(s): Thomas Bretz 12/2004 <mailto:tbretz@astro.uni-wuerzburg.de> 20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2004 … … 43 43 #include "MParList.h" 44 44 #include "MRawEvtHeader.h" 45 #include "MRawRunHeader.h" 45 46 #include "MTriggerPattern.h" 46 47 … … 54 55 // 55 56 MTriggerPatternDecode::MTriggerPatternDecode(const char *name, const char *title) 57 : fRunHeader(0), fEvtHeader(0), fPattern(0) 56 58 { 57 59 fName = name ? name : "MTriggerPatternDecode"; … … 63 65 Int_t MTriggerPatternDecode::PreProcess(MParList *pList) 64 66 { 67 fRunHeader = (MRawRunHeader*)pList->FindCreateObj("MRawRunHeader"); 68 if (!fRunHeader) 69 { 70 *fLog << err << "MRawRunHeader not found... abort." << endl; 71 return kFALSE; 72 } 73 65 74 fEvtHeader = (MRawEvtHeader *)pList->FindObject("MRawEvtHeader"); 66 75 if (!fEvtHeader) … … 84 93 Int_t MTriggerPatternDecode::Process() 85 94 { 95 if (fRunHeader->GetFormatVersion()<5) 96 return kTRUE; 97 86 98 UInt_t pattern = ~fEvtHeader->GetTriggerID(); 87 99 -
trunk/MagicSoft/Mars/mtrigger/MTriggerPatternDecode.h
r5725 r5803 2 2 #define MARS_MTriggerPatternDecode 3 3 4 ///////////////////////////////////////////////////////////////////////////// 5 // // 6 // MTriggerPatternDecode 7 // 8 // auth. N.Galante 9 // created 17.11.04 // 10 // // 11 ///////////////////////////////////////////////////////////////////////////// 12 13 #ifndef MARS_MFilter 14 #include "MFilter.h" 4 #ifndef MARS_MTask 5 #include "MTask.h" 15 6 #endif 16 7 17 8 class MParList; 18 9 class MRawEvtHeader; 10 class MRawRunHeader; 19 11 class MTriggerPattern; 20 12 21 class MTriggerPatternDecode : public M Filter13 class MTriggerPatternDecode : public MTask 22 14 { 23 15 private: 24 // enum pattern {PLT1=1, PCAL=2, PLT2=4, PPED=8, PPIND=16, 25 // ULT1=256, UCAL=512, ULT2=1024, UPED=2048, UPIND=4096}; 16 MRawRunHeader *fRunHeader; 17 MRawEvtHeader *fEvtHeader; 18 MTriggerPattern *fPattern; 26 19 27 MRawEvtHeader *fEvtHeader; 28 MTriggerPattern *fPattern; 29 30 // UInt_t fMaskAllowed; // Mask for filtering Trigger Pattern allowed 31 // UInt_t fMaskDenied; // Mask for filtering Trigger Pattern denied 32 // UInt_t fPattern; // Trigger Pattern stored into event 33 // UInt_t fMachArch; 34 35 // Bool_t fBitInv; // Flag to invert bits of Pattern (1=yes,0=no) 36 // default 1=yes 37 //Bool_t fPrescaled; // Flag to set if using prescaled (=1) or 38 // unprescaled (=0) pattern. Default 1 39 // Bool_t fResult; 40 41 Int_t PreProcess(MParList *pList); 42 Int_t Process(); 20 Int_t PreProcess(MParList *pList); 21 Int_t Process(); 43 22 44 23 public: 24 MTriggerPatternDecode(const char *name=0, const char *title=0); 45 25 46 MTriggerPatternDecode(const char *name, const char *title); 47 MTriggerPatternDecode(MTriggerPatternDecode &trigpatt); 48 49 // Bool_t IsExpressionTrue() const; 50 51 // void AllowPresTrigger(TString patt); 52 // void DenyPresTrigger(TString patt); 53 // void AllowUnpresTrigger(TString patt); 54 // void DenyUnpresTrigger(TString patt); 55 // 56 //// UInt_t GetMaskAllowed() const { return fMaskAllowed; }; 57 // UInt_t GetMaskDenied() const { return fMaskDenied; }; 58 //Bool_t GetPrescaled() const { return fPrescaled; }; 59 // Bool_t GetBitInv() const { return fBitInv; } 60 61 // void SetBitInv(const Bool_t inv) { fBitInv = inv; } 62 //void SetPrescaled() { fPrescaled = kTRUE; }; 63 //void SetUnprescaled() { fPrescaled = kFALSE; }; 64 65 // Low level settings. USE THESE ONLY IF YOU ARE AN EXPERT! 66 // void SetMaskAllowed(const UInt_t mask) { fMaskAllowed = mask; } 67 // void SetMaskDenied(const UInt_t mask) { fMaskDenied = mask; } 68 69 ClassDef(MTriggerPatternDecode, 1) // Task to decode the Trigger Pattern 26 ClassDef(MTriggerPatternDecode, 1) // Task to decode the Trigger Pattern 70 27 }; 71 28
Note:
See TracChangeset
for help on using the changeset viewer.