215 {
217 Gaudi::svcLocator() -> service(
"MessageSvc",
msgSvc);
218 MsgStream log(
msgSvc,
"MdcCalib");
219 log << MSG::INFO << "MdcCalib::initialize()" << endreq;
220
221 m_hlist = hlist;
222 m_mdcGeomSvc = mdcGeomSvc;
223 m_mdcFunSvc = mdcFunSvc;
224 m_mdcUtilitySvc = mdcUtilitySvc;
225
226 int lay;
227 int iEntr;
228 int lr;
230 char hname[200];
231
232 int nbinMom = 2400;
233
234 m_nlayer = m_mdcGeomSvc -> getLayerSize();
235
236 for(lay=0; lay<m_nlayer; lay++){
238 }
239 ofstream fwpc("wirelog.txt");
244 m_xw[wir] = m_mdcGeomSvc->
Wire(wir)->
Forward().x();
245 m_yw[wir] = m_mdcGeomSvc->
Wire(wir)->
Forward().y();
246 m_zw[wir] = m_mdcGeomSvc->
Wire(wir)->
Forward().z();
247 fwpc << setw(6) << wir << setw(15) << m_xe[wir] << setw(15) << m_ye[wir]
248 << setw(15) << m_ze[wir] << setw(15) << m_xw[wir]
249 << setw(15) << m_yw[wir] << setw(15) << m_zw[wir] << endl;
250 }
251 fwpc.close();
252
253 m_fdcom = new TFolder("common", "common");
254 m_hlist ->
Add(m_fdcom);
255
256 m_effNtrk = new TH1F("effNtrk", "", 43, -0.5, 42.5);
257 m_fdcom->Add(m_effNtrk);
258
259 m_effNtrkRecHit = new TH1F("effNtrkRecHit", "", 43, -0.5, 42.5);
260 m_fdcom->Add(m_effNtrkRecHit);
261
262 m_hresAllInc = new TH1F("HResAllInc", "", 200, -1.0, 1.0);
263 m_fdcom ->
Add(m_hresAllInc);
264
265 m_hresAllExc = new TH1F("HResAllExc", "", 200, -1.0, 1.0);
266 m_fdcom ->
Add(m_hresAllExc);
267
268 m_hresAllAve = new TH1F("HResAllAve", "", 200, -1.0, 1.0);
269 m_fdcom ->
Add(m_hresAllAve);
270
271 m_hresInnInc = new TH1F("HResInnInc", "", 200, -1.0, 1.0);
272 m_fdcom ->
Add(m_hresInnInc);
273
274 m_hresInnExc = new TH1F("HResInnExc", "", 200, -1.0, 1.0);
275 m_fdcom ->
Add(m_hresInnExc);
276
277 m_hresStpInc = new TH1F("HResStpInc", "", 200, -1.0, 1.0);
278 m_fdcom ->
Add(m_hresStpInc);
279
280 m_hresStpExc = new TH1F("HResStpExc", "", 200, -1.0, 1.0);
281 m_fdcom ->
Add(m_hresStpExc);
282
283 m_hresOutInc = new TH1F("HResOutInc", "", 200, -1.0, 1.0);
284 m_fdcom ->
Add(m_hresOutInc);
285
286 m_hresOutExc = new TH1F("HResOutExc", "", 200, -1.0, 1.0);
287 m_fdcom ->
Add(m_hresOutExc);
288
289 m_hresAllExcUp = new TH1F("HResAllExcUp", "", 200, -1.0, 1.0);
290 m_fdcom ->
Add(m_hresAllExcUp);
291
292 m_hresAllExcDw = new TH1F("HResAllExcDw", "", 200, -1.0, 1.0);
293 m_fdcom ->
Add(m_hresAllExcDw);
294
295 m_hresInnExcUp = new TH1F("HResInnExcUp", "", 200, -1.0, 1.0);
296 m_fdcom ->
Add(m_hresInnExcUp);
297
298 m_hresInnExcDw = new TH1F("HResInnExcDw", "", 200, -1.0, 1.0);
299 m_fdcom ->
Add(m_hresInnExcDw);
300
301 m_hresStpExcUp = new TH1F("HResStpExcUp", "", 200, -1.0, 1.0);
302 m_fdcom ->
Add(m_hresStpExcUp);
303
304 m_hresStpExcDw = new TH1F("HResStpExcDw", "", 200, -1.0, 1.0);
305 m_fdcom ->
Add(m_hresStpExcDw);
306
307 m_hresOutExcUp = new TH1F("HResOutExcUp", "", 200, -1.0, 1.0);
308 m_fdcom ->
Add(m_hresOutExcUp);
309
310 m_hresOutExcDw = new TH1F("HResOutExcDw", "", 200, -1.0, 1.0);
311 m_fdcom ->
Add(m_hresOutExcDw);
312
313 m_fdResQ = new TFolder("ResQ", "ResQ");
314 m_hlist->Add(m_fdResQ);
315 for(int i=0; i<14; i++){
316 sprintf(hname,
"resoAll_qbin%02d", i);
317 m_hresAveAllQ[i] = new TH1F(hname, "", 200, -1, 1);
318 m_fdResQ->Add(m_hresAveAllQ[i]);
319
320 sprintf(hname,
"resoOut_qbin%02d", i);
321 m_hresAveOutQ[i] = new TH1F(hname, "", 200, -1, 1);
322 m_fdResQ->Add(m_hresAveOutQ[i]);
323 }
324 for(lay=0; lay<43; lay++){
325 for(int i=0; i<14; i++){
326 sprintf(hname,
"resoLay%02d_qbin%02d", lay, i);
327 m_hresAveLayQ[lay][i] = new TH1F(hname, "", 200, -1, 1);
328 m_fdResQ->Add(m_hresAveLayQ[lay][i]);
329 }
330 }
331
332 for(
int iEs=0; iEs<m_param.
nEsFlag; iEs++){
334 m_hTes[iEs] = new TH1F(hname, "", 750, 0, 1500);
335 m_fdcom->Add(m_hTes[iEs]);
336 }
337
338 m_hbbTrkFlg = new TH1F("BbTrkFlg", "", 100, 0, 6);
339 m_fdcom ->
Add(m_hbbTrkFlg);
340
341 m_hTesAll = new TH1F("TesAll", "", 2000, 0, 2000);
342 m_fdcom ->
Add(m_hTesAll);
343
344 m_hTesGood = new TH1F("TesGood", "", 2000, 0, 2000);
345 m_fdcom ->
Add(m_hTesGood);
346
347 m_hTesAllFlag = new TH1F("TesAllFlag", "", 300, -0.5, 299.5);
348 m_fdcom ->
Add(m_hTesAllFlag);
349
350 m_hTesRec = new TH1F("TesRec", "", 2000, 0, 2000);
351 m_fdcom ->
Add(m_hTesRec);
352
353 m_hTesCalFlag = new TH1F("TesCalFlag", "", 2000, 0, 2000);
354 m_fdcom ->
Add(m_hTesCalFlag);
355
356 m_hTesCalUse = new TH1F("TesCalUse", "", 2000, 0, 2000);
357 m_fdcom ->
Add(m_hTesCalUse);
358
359 m_hnRawHit = new TH1F("nRawHit", "", 6797, -0.5, 6796.5);
360 m_fdcom ->
Add(m_hnRawHit);
361
362 m_hpt = new TH1F("HPt", "", nbinMom, 0, 3);
363 m_fdcom ->
Add(m_hpt);
364
365 m_hptPos = new TH1F("HPtPos", "", nbinMom, 0, 3);
366 m_fdcom ->
Add(m_hptPos);
367
368 m_hptNeg = new TH1F("HPtNeg", "", nbinMom, 0, 3);
369 m_fdcom ->
Add(m_hptNeg);
370
371 m_hp = new TH1F("HP", "", nbinMom, 0, 3);
372 m_fdcom ->
Add(m_hp);
373
374 m_hp_cms = new TH1F("HPCMS", "", nbinMom, 0, 3);
375 m_fdcom ->
Add(m_hp_cms);
376
377 m_hpMax = new TH1F("HPMax", "", nbinMom, 0, 3);
378 m_fdcom ->
Add(m_hpMax);
379
380 m_hpMaxCms = new TH1F("HPMax_Cms", "", nbinMom, 0, 3);
381 m_fdcom ->
Add(m_hpMaxCms);
382
383 m_hpPos = new TH1F("HP_Pos", "", nbinMom, 0, 3);
384 m_fdcom ->
Add(m_hpPos);
385
386 m_hpNeg = new TH1F("HP_Neg", "", nbinMom, 0, 3);
387 m_fdcom ->
Add(m_hpNeg);
388
389 m_hpPoscms = new TH1F("HP_Pos_cms", "", nbinMom, 0, 3);
390 m_fdcom ->
Add(m_hpPoscms);
391
392 m_hpNegcms = new TH1F("HP_Neg_cms", "", nbinMom, 0, 3);
393 m_fdcom ->
Add(m_hpNegcms);
394
395 m_hp_cut = new TH1F("HPCut", "", nbinMom, 0, 3);
396 m_fdcom ->
Add(m_hp_cut);
397
398 m_hchisq = new TH1F("Chisq", "", 10, 0, 100);
399 m_fdcom ->
Add(m_hchisq);
400
401 m_hnTrk = new TH1F("HNtrack", "HNtrack", 10, -0.5, 9.5);
402 m_fdcom ->
Add(m_hnTrk);
403
404 m_hnTrkCal = new TH1F("HNtrackCal", "HNtrackCal", 10, -0.5, 9.5);
405 m_fdcom ->
Add(m_hnTrkCal);
406
407 m_hnhitsRec = new TH1F("HNhitsRec", "", 100, -0.5, 99.5);
408 m_fdcom ->
Add(m_hnhitsRec);
409
410 m_hnhitsRecInn = new TH1F("HNhitsInnRec", "", 60, 0.5, 60.5);
411 m_fdcom ->
Add(m_hnhitsRecInn);
412
413 m_hnhitsRecStp = new TH1F("HNhitsStpRec", "", 60, 0.5, 60.5);
414 m_fdcom ->
Add(m_hnhitsRecStp);
415
416 m_hnhitsRecOut = new TH1F("HNhitsOutRec", "", 60, 0.5, 60.5);
417 m_fdcom ->
Add(m_hnhitsRecOut);
418
419 m_hnhitsCal = new TH1F("HNhitsCal", "", 100, -0.5, 99.5);
420 m_fdcom ->
Add(m_hnhitsCal);
421
422 m_hnhitsCalInn = new TH1F("HNhitsCalInn", "", 60, 0.5, 60.5);
423 m_fdcom ->
Add(m_hnhitsCalInn);
424
425 m_hnhitsCalStp = new TH1F("HNhitsCalStp", "", 60, 0.5, 60.5);
426 m_fdcom ->
Add(m_hnhitsCalStp);
427
428 m_hnhitsCalOut = new TH1F("HNhitsCalOut", "", 60, 0.5, 60.5);
429 m_fdcom ->
Add(m_hnhitsCalOut);
430
431 m_wirehitmap = new TH1F("Wire_HitMap", "Wire_HitMap", 6796, -0.5, 6795.5);
432 m_fdcom ->
Add(m_wirehitmap);
433
434 m_layerhitmap = new TH1F("Layer_HitMap", "Layer_HitMap", 43, -0.5, 42.5);
435 m_fdcom ->
Add(m_layerhitmap);
436
437 m_hnoisephi = new TH1F("phi_noise", "", 100, 0, 6.284);
438 m_fdcom ->
Add(m_hnoisephi);
439
440 m_hnoiselay = new TH1F("Layer_noise", "Layer_noise", 43, -0.5, 42.5);
441 m_fdcom ->
Add(m_hnoiselay);
442
443 m_hnoisenhits = new TH1F("nhits_noise", "nhits_noise", 6796, -0.5, 6795.5);
444 m_fdcom ->
Add(m_hnoisenhits);
445
446 m_hratio = new TH1F("ratio", "", 100, 0, 1);
447 m_fdcom ->
Add(m_hratio);
448
449 m_hdr = new TH1F("dr", "", 2000, -100, 100);
450 m_fdcom ->
Add(m_hdr);
451
452 m_hphi0 = new TH1F("phi0", "", 100, 0, 6.284);
453 m_fdcom ->
Add(m_hphi0);
454
455 m_hkap = new TH1F("kappa", "", 400, -50, 50);
456 m_fdcom ->
Add(m_hkap);
457
458 m_hdz = new TH1F("dz", "", 2000, -500, 500);
459 m_fdcom ->
Add(m_hdz);
460
461 m_htanl = new TH1F("tanl", "", 200, -5, 5);
462 m_fdcom ->
Add(m_htanl);
463
464 m_hcosthe = new TH1F("costheta", "", 200, -1, 1);
465 m_fdcom ->
Add(m_hcosthe);
466
467 m_hcostheNeg = new TH1F("costhetaNeg", "", 200, -1, 1);
468 m_fdcom ->
Add(m_hcostheNeg);
469
470 m_hcosthePos = new TH1F("costhetaPos", "", 200, -1, 1);
471 m_fdcom ->
Add(m_hcosthePos);
472
473 m_hx0 = new TH1F("x0", "", 100, -10, 10);
474 m_fdcom ->
Add(m_hx0);
475
476 m_hy0 = new TH1F("y0", "", 100, -10, 10);
477 m_fdcom ->
Add(m_hy0);
478
479 m_hdelZ0 = new TH1F("delta_z0", "", 100, -50, 50);
480 m_fdcom ->
Add(m_hdelZ0);
481
482 m_grX0Y0 = new TGraph();
483 m_grX0Y0->SetName("x0y0");
484 m_fdcom ->
Add(m_grX0Y0);
485
486 m_hitEffAll = new TH1F("hitEffAll", "", 6800, -0.5, 6799.5);
487 m_fdcom ->
Add(m_hitEffAll);
488
489 m_hitEffRaw = new TH1F("hitEffRaw", "", 6800, -0.5, 6799.5);
490 m_fdcom ->
Add(m_hitEffRaw);
491
492 m_hitEffRec = new TH1F("hitEffRec", "", 6800, -0.5, 6799.5);
493 m_fdcom ->
Add(m_hitEffRec);
494
495
496 m_fdTime = new TFolder("time", "time");
497 m_hlist ->
Add(m_fdTime);
498
499 for(lay=0; lay<m_nlayer; lay++){
500 sprintf(hname,
"Traw%02d", lay);
501 m_htraw[lay] = new TH1F(hname, "", 1000, 0, 2000);
502 m_fdTime ->
Add(m_htraw[lay]);
503
504 sprintf(hname,
"Tdr%02d", lay);
505 m_htdr[lay] = new TH1F(hname, "", 510, -10, 500);
506 m_fdTime ->
Add(m_htdr[lay]);
507
508 for (lr=0; lr<2; lr++){
509 sprintf(hname,
"Tdr%02d_lr%01d", lay, lr);
510 m_htdrlr[lay][lr] = new TH1F(hname, "", 510, -10, 500);
511 m_fdTime ->
Add(m_htdrlr[lay][lr]);
512 }
513 }
514
515
516 m_fdAdc = new TFolder("adc", "adc");
517 m_hlist ->
Add(m_fdAdc);
518
519 for(lay=0; lay<m_nlayer; lay++){
520 sprintf(hname,
"adc%02d", lay);
521 m_hadc[lay] = new TH1F(hname, "", 1500, 0, 3000);
522 m_fdAdc ->
Add(m_hadc[lay]);
523 }
524
525 m_fdres = new TFolder("resolution", "resolution");
526 m_hlist ->
Add(m_fdres);
527
528 m_fdresAve = new TFolder("resAve", "resAve");
529 m_hlist ->
Add(m_fdresAve);
530
531 for(lay=0; lay<m_nlayer; lay++){
532 sprintf(hname,
"Reso%02dInc", lay);
533 m_hresInc[lay] = new TH1F(hname, "", 1000, -5, 5);
534 m_fdres ->
Add(m_hresInc[lay]);
535
536 sprintf(hname,
"Reso%02dExc", lay);
537 m_hresExc[lay] = new TH1F(hname, "", 1000, -5, 5);
538 m_fdres ->
Add(m_hresExc[lay]);
539
540 sprintf(hname,
"Reso%02d", lay);
541 m_hresAve[lay] = new TH1F(hname, "", 1000, -5, 5);
542 m_fdresAve ->
Add(m_hresAve[lay]);
543
544 for (lr=0; lr<2; lr++){
545 sprintf(hname,
"Reso%02dInc_lr%01d", lay, lr);
546
547 m_hreslrInc[lay][lr] = new TH1F(hname, "", 1000, -5, 5);
548 m_fdres->Add(m_hreslrInc[lay][lr]);
549
550 sprintf(hname,
"Reso%02dExc_lr%01d", lay, lr);
551
552 m_hreslrExc[lay][lr] = new TH1F(hname, "", 1000, -5, 5);
553 m_fdres->Add(m_hreslrExc[lay][lr]);
554
555 sprintf(hname,
"Reso%02d_lr%01d", lay, lr);
556
557 m_hreslrAve[lay][lr] = new TH1F(hname, "", 1000, -5, 5);
558 m_fdresAve->Add(m_hreslrAve[lay][lr]);
559 }
560 for(int phi=0; phi<20; phi++){
561 sprintf(hname,
"ResoPhi%02d_phi%02d", lay, phi);
562 m_hresphi[lay][phi] = new TH1F(hname, "", 200, -1, 1);
563 m_fdres->Add(m_hresphi[lay][phi]);
564 }
565 }
566
567
568 m_fdmomPhi = new TFolder("momPhi", "momPhi");
569 m_hlist ->
Add(m_fdmomPhi);
570
571 int thbin;
574 m_ppPhi[
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
575 m_fdmomPhi->Add(m_ppPhi[
bin]);
576
578 m_pnPhi[
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
579 m_fdmomPhi->Add(m_pnPhi[
bin]);
580
582 m_ppPhiCms[
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
583 m_fdmomPhi->Add(m_ppPhiCms[
bin]);
584
586 m_pnPhiCms[
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
587 m_fdmomPhi->Add(m_pnPhiCms[
bin]);
588
589 for(thbin=0; thbin<NThetaBin; thbin++){
590 sprintf(hname,
"hPpos_theta%02d_phi%02d", thbin,
bin);
591 m_ppThePhi[thbin][
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
592 m_fdmomPhi->Add(m_ppThePhi[thbin][
bin]);
593
594 sprintf(hname,
"hPneg_theta%02d_phi%02d", thbin,
bin);
595 m_pnThePhi[thbin][
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
596 m_fdmomPhi->Add(m_pnThePhi[thbin][
bin]);
597
598 sprintf(hname,
"hPposCms_theta%02d_phi%02d", thbin,
bin);
599 m_ppThePhiCms[thbin][
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
600 m_fdmomPhi->Add(m_ppThePhiCms[thbin][
bin]);
601
602 sprintf(hname,
"hPnegCms_theta%02d_phi%02d", thbin,
bin);
603 m_pnThePhiCms[thbin][
bin] =
new TH1F(hname,
"", nbinMom, 0.0, 3.0);
604 m_fdmomPhi->Add(m_pnThePhiCms[thbin][
bin]);
605 }
606 }
607 for(thbin=0; thbin<NThetaBin; thbin++){
608 sprintf(hname,
"hPpos_the%02d", thbin);
609 m_ppThe[thbin] = new TH1F(hname, "", nbinMom, 0.0, 3.0);
610 m_fdmomPhi->Add(m_ppThe[thbin]);
611
612 sprintf(hname,
"hPneg_the%02d", thbin);
613 m_pnThe[thbin] = new TH1F(hname, "", nbinMom, 0.0, 3.0);
614 m_fdmomPhi->Add(m_pnThe[thbin]);
615
616 sprintf(hname,
"hPposCms_the%02d", thbin);
617 m_ppTheCms[thbin] = new TH1F(hname, "", nbinMom, 0.0, 3.0);
618 m_fdmomPhi->Add(m_ppTheCms[thbin]);
619
620 sprintf(hname,
"hPnegCms_the%02d", thbin);
621 m_pnTheCms[thbin] = new TH1F(hname, "", nbinMom, 0.0, 3.0);
622 m_fdmomPhi->Add(m_pnTheCms[thbin]);
623 }
624
625
626 m_fdres2d = new TFolder("res2d", "res2d");
627 m_hlist ->
Add(m_fdres2d);
628
629 int hid = 0;
631 TH1F* hist;
632 for(lay=0; lay<m_nlayer; lay++){
634 for(lr=0; lr<2; lr++){
636 sprintf(hname,
"r2d%02d_%02d_%01d_%02dInc", lay, iEntr, lr,
bin);
637 hist = new TH1F(hname, "", 200, -1, 1);
638 m_hr2dInc.push_back(hist);
639 m_fdres2d ->
Add(hist);
640
641 sprintf(hname,
"r2d%02d_%02d_%01d_%02dExc", lay, iEntr, lr,
bin);
642 hist = new TH1F(hname, "", 200, -1, 1);
643 m_hr2dExc.push_back(hist);
644 m_fdres2d ->
Add(hist);
645
646 key = getHresId(lay, iEntr, lr,
bin);
648 hid++;
649 }
650 }
651 }
652 }
653
654 m_fdres2t = new TFolder("res2t", "res2t");
655
656
657 for(lay=0; lay<m_nlayer; lay++){
659 for(lr=0; lr<2; lr++){
661 sprintf(hname,
"r2t%02d_%02d_%01d_%02d", lay, iEntr, lr,
bin);
662 m_hr2t[lay][iEntr][lr][
bin] =
new TH1F(hname,
"", 600, -3, 3);
663 m_fdres2t ->
Add(m_hr2t[lay][iEntr][lr][
bin]);
664 }
665 }
666 }
667 }
668
670 Gaudi::svcLocator() -> service(
"NTupleSvc",
ntupleSvc);
671 for(lay=0; lay<m_nlayer; lay++){
672 sprintf(hname,
"FILE136/xt%02d", lay);
674 if ( nt ) m_xtTuple[lay] = nt;
675 else{
676 m_xtTuple[lay] =
ntupleSvc->book(hname, CLID_ColumnWiseTuple,
"MdcXtNtuple");
677 if( m_xtTuple[lay] ){
678 m_xtTuple[lay]->addItem("cel", m_cel[lay]);
679 m_xtTuple[lay]->addItem("lr", m_lr[lay]);
680 m_xtTuple[lay]->addItem("run", m_run[lay]);
681 m_xtTuple[lay]->addItem("evt", m_evt[lay]);
682 m_xtTuple[lay]->addItem("doca", m_doca[lay]);
683 m_xtTuple[lay]->addItem("dm", m_dm[lay]);
684 m_xtTuple[lay]->addItem("tdr", m_tdr[lay]);
685 m_xtTuple[lay]->addItem("tdc", m_tdc[lay]);
686 m_xtTuple[lay]->addItem("entr", m_entr[lay]);
687 m_xtTuple[lay]->addItem("zhit", m_zhit[lay]);
688 m_xtTuple[lay]->addItem("qhit", m_qhit[lay]);
689 m_xtTuple[lay]->addItem("p", m_p[lay]);
690 m_xtTuple[lay]->addItem("pt", m_pt[lay]);
691 m_xtTuple[lay]->addItem("phi0", m_phi0[lay]);
692 m_xtTuple[lay]->addItem("tanl", m_tanl[lay]);
693 m_xtTuple[lay]->addItem("hitphi", m_hitphi[lay]);
694 } else{
695 log << MSG::FATAL << "Cannot book Xt N-tuple:"
696 << long(m_xtTuple[lay]) << endreq;
697 }
698 }
699 }
700
702 sprintf(hname,
"FILE136/cosmic");
704 if ( nt ) m_cosmic = nt;
705 else{
706 m_cosmic =
ntupleSvc->book(hname, CLID_ColumnWiseTuple,
"MdcXtNtuple");
707 if( m_cosmic ){
708 m_cosmic->addItem("pUp", m_pUpcos);
709 m_cosmic->addItem("pDw", m_pDwcos);
710 m_cosmic->addItem("ptUp", m_ptUpcos);
711 m_cosmic->addItem("ptDw", m_ptDwcos);
712 m_cosmic->addItem("phiUp", m_phiUpcos);
713 m_cosmic->addItem("phiDw", m_phiDwcos);
714 m_cosmic->addItem("drUp", m_drUpcos);
715 m_cosmic->addItem("drDw", m_drDwcos);
716 m_cosmic->addItem("dzUp", m_dzUpcos);
717 m_cosmic->addItem("dzDw", m_dzDwcos);
718 m_cosmic->addItem("ctheUp", m_ctheUpcos);
719 m_cosmic->addItem("ctheDw", m_ctheDwcos);
720 m_cosmic->addItem("nhitUp", m_nhitUpcos);
721 m_cosmic->addItem("nhitDw", m_nhitDwcos);
722 m_cosmic->addItem("char", m_chargecos);
723 m_cosmic->addItem("tesfg", m_tesFlagcos);
724 m_cosmic->addItem("tes", m_tescos);
725 }
726 }
727 }
728}
sprintf(cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=2", j, j)
map< int, int >::value_type valType3
double Radius(void) const