00001 { 00002 TScanDef thresh; 00003 00004 thresh.trigsPerBurst = 100; 00005 00006 thresh.loopCalLine = 1; 00007 thresh.trigSequence.calL1A(0x82); 00008 thresh.distSlave = 0; 00009 00010 tapi.modifyABCDVar(11, 1.0); 00011 tapi.modifyABCDVar(13, 0.0); 00012 tapi.modifyABCDVar(14, 0.0); // Send mask off 00013 00014 // response curve settings for 1.0fC 00015 Float_t lo = 0; 00016 Float_t hi = 200; 00017 thresh.configure(1, lo, hi, 5); 00018 00019 tapi.modifyABCDVar(42, 1.0); // 1fC 00020 tapi.doScan(thresh); 00021 tapi.awaitScan(); 00022 }