- Timestamp:
- Jan 14, 2009, 11:39:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/FrogUtil.cc
r171 r183 41 41 using namespace FROG_COORD; 42 42 43 const float twopi = 6.2831; 43 44 44 45 FrogDisplay::FrogDisplay() {} … … 508 509 509 510 double dphi = 6.283185307179586476925286766559 /NumPhi; 510 for(double phi=0; phi<= 6.2831/frac;phi+=dphi){511 for(double phi=0; phi<=twopi/frac;phi+=dphi){ 511 512 512 513 FROG_Element_Primitive_CustomSurface* trackerCone1 = new FROG_Element_Primitive_CustomSurface(9100000+DetIdCountTracker*10, 513 rayCone*sin(phi) ,rayCone*cos(phi) ,-Lenght_Tracker/2, 514 rayCone*sin(phi+dphi) ,rayCone*cos(phi+dphi) ,-Lenght_Tracker/2, 515 0 , 0 , 0, 516 0 , 0 , 0 517 ); 518 514 rayCone*sin(phi) ,rayCone*cos(phi) ,-Lenght_Tracker/2, 515 rayCone*sin(phi+dphi) ,rayCone*cos(phi+dphi) ,-Lenght_Tracker/2, 516 0 , 0 , 0, 517 0 , 0 , 0); 519 518 Tracker->addDaughter(trackerCone1); DetIdCountTracker++; 520 519 521 520 FROG_Element_Primitive_CustomSurface* trackerCone2 = new FROG_Element_Primitive_CustomSurface(9100000+DetIdCountTracker*10, 522 0 , 0 ,0, 523 0 , 0 ,0, 524 rayCone*sin(phi) , rayCone*cos(phi) , Lenght_Tracker/2, 525 rayCone*sin(phi+dphi) , rayCone*sin(phi+dphi) , Lenght_Tracker/2 526 ); 521 0 , 0 ,0, 522 0 , 0 ,0, 523 rayCone*sin(phi) , rayCone*cos(phi) , Lenght_Tracker/2, 524 rayCone*sin(phi+dphi) , rayCone*sin(phi+dphi) , Lenght_Tracker/2); 527 525 Tracker->addDaughter(trackerCone2); DetIdCountTracker++; 528 526 529 527 530 528 FROG_Element_Primitive_CustomSurface* trackerB = new FROG_Element_Primitive_CustomSurface(9100000+DetIdCountTracker*10, 531 ray*sin(phi) ,ray*cos(phi) ,-Lenght_Tracker*0.5, 532 ray*sin(phi+dphi) ,ray*cos(phi+dphi) ,-Lenght_Tracker*0.5, 533 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Tracker*0.5, 534 ray*sin(phi) ,ray*cos(phi) , Lenght_Tracker*0.5); 535 529 ray*sin(phi) ,ray*cos(phi) ,-Lenght_Tracker*0.5, 530 ray*sin(phi+dphi) ,ray*cos(phi+dphi) ,-Lenght_Tracker*0.5, 531 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Tracker*0.5, 532 ray*sin(phi) ,ray*cos(phi) , Lenght_Tracker*0.5); 536 533 Tracker->addDaughter(trackerB); DetIdCountTracker++; 537 534 538 535 FROG_Element_Primitive_CustomSurface* trackerEndCap1 = new FROG_Element_Primitive_CustomSurface(9100000+DetIdCountTracker*10, 539 rayCone*sin(phi) , rayCone*cos(phi) , -(Lenght_Tracker)/2, 540 rayCone*sin(phi+dphi) , rayCone*cos(phi+dphi) , -(Lenght_Tracker)/2, 541 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_Tracker)/2, 542 ray*sin(phi) , ray*cos(phi) , -(Lenght_Tracker)/2 543 ); 536 rayCone*sin(phi) , rayCone*cos(phi) , -(Lenght_Tracker)/2, 537 rayCone*sin(phi+dphi) , rayCone*cos(phi+dphi) , -(Lenght_Tracker)/2, 538 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_Tracker)/2, 539 ray*sin(phi) , ray*cos(phi) , -(Lenght_Tracker)/2); 544 540 Tracker->addDaughter(trackerEndCap1); DetIdCountTracker++; 545 541 546 542 FROG_Element_Primitive_CustomSurface* trackerEndCap2 = new FROG_Element_Primitive_CustomSurface(9100000+DetIdCountTracker*10, 547 rayCone*sin(phi) , rayCone*cos(phi) , (Lenght_Tracker)/2, 548 rayCone*sin(phi+dphi) , rayCone*cos(phi+dphi) , (Lenght_Tracker)/2, 549 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_Tracker)/2, 550 ray*sin(phi) , ray*cos(phi) , (Lenght_Tracker)/2 551 ); 543 rayCone*sin(phi) , rayCone*cos(phi) , (Lenght_Tracker)/2, 544 rayCone*sin(phi+dphi) , rayCone*cos(phi+dphi) , (Lenght_Tracker)/2, 545 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_Tracker)/2, 546 ray*sin(phi) , ray*cos(phi) , (Lenght_Tracker)/2); 552 547 Tracker->addDaughter(trackerEndCap2); DetIdCountTracker++; 553 548 … … 568 563 if(ray<rayConeF)ray=rayConeF; 569 564 570 for(double phi=0; phi<= 6.2831/frac;phi+=dphi){565 for(double phi=0; phi<=twopi/frac;phi+=dphi){ 571 566 572 567 //BARREL 573 568 FROG_Element_Primitive_CustomSurface* caloB = new FROG_Element_Primitive_CustomSurface(9100000+DetIdCountCalo*10, 574 ray*sin(phi) ,ray*cos(phi) ,-Lenght_Calo*0.5, 575 ray*sin(phi+dphi) ,ray*cos(phi+dphi) ,-Lenght_Calo*0.5, 576 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Calo*0.5, 577 ray*sin(phi) ,ray*cos(phi) , Lenght_Calo*0.5 578 ); 579 569 ray*sin(phi) ,ray*cos(phi) ,-Lenght_Calo*0.5, 570 ray*sin(phi+dphi) ,ray*cos(phi+dphi) ,-Lenght_Calo*0.5, 571 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Calo*0.5, 572 ray*sin(phi) ,ray*cos(phi) , Lenght_Calo*0.5); 580 573 CALO->addDaughter(caloB); DetIdCountCalo++; 581 574 582 575 //Partial cone + side 583 576 FROG_Element_Primitive_CustomSurface* caloEndCap1a = new FROG_Element_Primitive_CustomSurface(9200000+DetIdCountCalo*10, 584 rayConeD*sin(phi) , rayConeD*cos(phi) , (Lenght_Tracker)/2, 585 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , (Lenght_Tracker)/2, 586 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Calo)/2, 587 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Calo)/2 588 ); 577 rayConeD*sin(phi) , rayConeD*cos(phi) , (Lenght_Tracker)/2, 578 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , (Lenght_Tracker)/2, 579 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Calo)/2, 580 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Calo)/2); 589 581 CALO->addDaughter(caloEndCap1a); DetIdCountCalo++; 590 582 591 583 //Close Endcap + side 592 584 FROG_Element_Primitive_CustomSurface* caloEndCap1b = new FROG_Element_Primitive_CustomSurface(9200000+DetIdCountTracker*10, 593 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Calo)/2, 594 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Calo)/2, 595 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_Calo)/2, 596 ray*sin(phi) , ray*cos(phi) , (Lenght_Calo)/2 597 ); 585 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Calo)/2, 586 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Calo)/2, 587 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_Calo)/2, 588 ray*sin(phi) , ray*cos(phi) , (Lenght_Calo)/2); 598 589 CALO->addDaughter(caloEndCap1b); DetIdCountCalo++; 599 590 600 591 //Partial cone - side 601 592 FROG_Element_Primitive_CustomSurface* caloEndCap2a = new FROG_Element_Primitive_CustomSurface(9200000+DetIdCountCalo*10, 602 rayConeD*sin(phi) , rayConeD*cos(phi) , -(Lenght_Tracker)/2, 603 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , -(Lenght_Tracker)/2, 604 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Calo)/2, 605 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Calo)/2 606 ); 593 rayConeD*sin(phi) , rayConeD*cos(phi) , -(Lenght_Tracker)/2, 594 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , -(Lenght_Tracker)/2, 595 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Calo)/2, 596 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Calo)/2); 607 597 CALO->addDaughter(caloEndCap2a); DetIdCountCalo++; 608 598 609 599 //Close Endcap - side 610 600 FROG_Element_Primitive_CustomSurface* caloEndCap2b = new FROG_Element_Primitive_CustomSurface(9200000+DetIdCountTracker*10, 611 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Calo)/2, 612 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Calo)/2, 613 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_Calo)/2, 614 ray*sin(phi) , ray*cos(phi) , -(Lenght_Calo)/2 615 ); 601 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Calo)/2, 602 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Calo)/2, 603 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_Calo)/2, 604 ray*sin(phi) , ray*cos(phi) , -(Lenght_Calo)/2); 616 605 CALO->addDaughter(caloEndCap2b); DetIdCountCalo++; 617 606 … … 632 621 if(ray<rayConeF)ray=rayConeF; 633 622 634 for(double phi=0; phi<= 6.2831/frac;phi+=dphi){623 for(double phi=0; phi<=twopi/frac;phi+=dphi){ 635 624 636 625 //BARREL 637 626 FROG_Element_Primitive_CustomSurface* muonB = new FROG_Element_Primitive_CustomSurface(9300000+DetIdCountMuon*10, 638 ray*sin(phi) ,ray*cos(phi) ,-Lenght_Muon*0.5, 639 ray*sin(phi+dphi) ,ray*cos(phi+dphi) ,-Lenght_Muon*0.5, 640 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Muon*0.5, 641 ray*sin(phi) ,ray*cos(phi) , Lenght_Muon*0.5); 642 627 ray*sin(phi) ,ray*cos(phi) ,-Lenght_Muon*0.5, 628 ray*sin(phi+dphi) ,ray*cos(phi+dphi) ,-Lenght_Muon*0.5, 629 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Muon*0.5, 630 ray*sin(phi) ,ray*cos(phi) , Lenght_Muon*0.5); 643 631 MUON->addDaughter(muonB); DetIdCountMuon++; 644 632 645 633 //Partial cone + side 646 634 FROG_Element_Primitive_CustomSurface* muonEndCap1a = new FROG_Element_Primitive_CustomSurface(9300000+DetIdCountMuon*10, 647 rayConeD*sin(phi) , rayConeD*cos(phi) , (Lenght_Calo)/2, 648 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , (Lenght_Calo)/2, 649 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Muon)/2, 650 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Muon)/2 651 ); 635 rayConeD*sin(phi) , rayConeD*cos(phi) , (Lenght_Calo)/2, 636 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , (Lenght_Calo)/2, 637 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Muon)/2, 638 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Muon)/2); 652 639 MUON->addDaughter(muonEndCap1a); DetIdCountMuon++; 653 640 654 641 //Close Endcap + side 655 642 FROG_Element_Primitive_CustomSurface* muonEndCap1b = new FROG_Element_Primitive_CustomSurface(9300000+DetIdCountMuon*10, 656 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Muon)/2, 657 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Muon)/2, 658 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_Muon)/2, 659 ray*sin(phi) , ray*cos(phi) , (Lenght_Muon)/2 660 ); 643 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_Muon)/2, 644 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_Muon)/2, 645 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_Muon)/2, 646 ray*sin(phi) , ray*cos(phi) , (Lenght_Muon)/2); 661 647 MUON->addDaughter(muonEndCap1b); DetIdCountMuon++; 662 648 663 649 //Partial cone - side 664 650 FROG_Element_Primitive_CustomSurface* muonEndCap2a = new FROG_Element_Primitive_CustomSurface(9300000+DetIdCountMuon*10, 665 rayConeD*sin(phi) , rayConeD*cos(phi) , -(Lenght_Calo)/2, 666 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , -(Lenght_Calo)/2, 667 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Muon)/2, 668 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Muon)/2 669 ); 651 rayConeD*sin(phi) , rayConeD*cos(phi) , -(Lenght_Calo)/2, 652 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , -(Lenght_Calo)/2, 653 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Muon)/2, 654 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Muon)/2); 670 655 MUON->addDaughter(muonEndCap2a); DetIdCountMuon++; 671 656 672 657 //Close Endcap - side 673 658 FROG_Element_Primitive_CustomSurface* muonEndCap2b = new FROG_Element_Primitive_CustomSurface(9300000+DetIdCountMuon*10, 674 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Muon)/2, 675 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Muon)/2, 676 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_Muon)/2, 677 ray*sin(phi) , ray*cos(phi) , -(Lenght_Muon)/2 678 ); 659 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_Muon)/2, 660 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_Muon)/2, 661 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_Muon)/2, 662 ray*sin(phi) , ray*cos(phi) , -(Lenght_Muon)/2); 679 663 MUON->addDaughter(muonEndCap2b); DetIdCountMuon++; 680 681 664 } 682 665 … … 693 676 ray=tan(EtaToTheta(DET->CEN_max_calo_cen))*Lenght_CaloFwd; 694 677 695 for(double phi=0; phi<=6.2831/frac;phi+=dphi){ 696 678 for(double phi=0; phi<=twopi/frac;phi+=dphi){ 697 679 698 680 //Partial cone + side 699 681 FROG_Element_Primitive_CustomSurface* caloFWDEndCap1a = new FROG_Element_Primitive_CustomSurface(9400000+DetIdCountCaloFwd*10, 700 rayConeD*sin(phi) , rayConeD*cos(phi) , (Lenght_Muon)/2, 701 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , (Lenght_Muon)/2, 702 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_CaloFwd)/2, 703 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_CaloFwd)/2 704 ); 682 rayConeD*sin(phi) , rayConeD*cos(phi) , (Lenght_Muon)/2, 683 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , (Lenght_Muon)/2, 684 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_CaloFwd)/2, 685 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_CaloFwd)/2); 705 686 CALOFWD->addDaughter(caloFWDEndCap1a); DetIdCountCaloFwd++; 706 687 707 688 //Close Endcap + side 708 689 FROG_Element_Primitive_CustomSurface* caloFWDEndCap1b = new FROG_Element_Primitive_CustomSurface(9400000+DetIdCountCaloFwd*10, 709 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_CaloFwd)/2, 710 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_CaloFwd)/2, 711 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_CaloFwd)/2, 712 ray*sin(phi) , ray*cos(phi) , (Lenght_CaloFwd)/2 713 ); 690 rayConeF*sin(phi) , rayConeF*cos(phi) , (Lenght_CaloFwd)/2, 691 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , (Lenght_CaloFwd)/2, 692 ray*sin(phi+dphi) , ray*cos(phi+dphi) , (Lenght_CaloFwd)/2, 693 ray*sin(phi) , ray*cos(phi) , (Lenght_CaloFwd)/2); 714 694 CALOFWD->addDaughter(caloFWDEndCap1b); DetIdCountCaloFwd++; 715 695 716 696 //BARREL 717 697 FROG_Element_Primitive_CustomSurface* caloFWDB1 = new FROG_Element_Primitive_CustomSurface(9400000+DetIdCountMuon*10, 718 ray*sin(phi) ,ray*cos(phi) , Lenght_Muon*0.5, 719 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Muon*0.5, 720 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_CaloFwd*0.5, 721 ray*sin(phi) ,ray*cos(phi) , Lenght_CaloFwd*0.5); 722 698 ray*sin(phi) ,ray*cos(phi) , Lenght_Muon*0.5, 699 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_Muon*0.5, 700 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , Lenght_CaloFwd*0.5, 701 ray*sin(phi) ,ray*cos(phi) , Lenght_CaloFwd*0.5); 723 702 CALOFWD->addDaughter(caloFWDB1); DetIdCountCaloFwd++; 724 725 726 727 703 728 704 //Partial cone - side 729 705 FROG_Element_Primitive_CustomSurface* caloFWDEndCap2a = new FROG_Element_Primitive_CustomSurface(9400000+DetIdCountCaloFwd*10, 730 rayConeD*sin(phi) , rayConeD*cos(phi) , -(Lenght_Muon)/2, 731 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , -(Lenght_Muon)/2, 732 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_CaloFwd)/2, 733 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_CaloFwd)/2 734 ); 706 rayConeD*sin(phi) , rayConeD*cos(phi) , -(Lenght_Muon)/2, 707 rayConeD*sin(phi+dphi) , rayConeD*cos(phi+dphi) , -(Lenght_Muon)/2, 708 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_CaloFwd)/2, 709 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_CaloFwd)/2); 735 710 CALOFWD->addDaughter(caloFWDEndCap2a); DetIdCountCaloFwd++; 736 711 737 712 //Close Endcap - side 738 713 FROG_Element_Primitive_CustomSurface* caloFWDEndCap2b = new FROG_Element_Primitive_CustomSurface(9400000+DetIdCountCaloFwd*10, 739 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_CaloFwd)/2, 740 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_CaloFwd)/2, 741 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_CaloFwd)/2, 742 ray*sin(phi) , ray*cos(phi) , -(Lenght_CaloFwd)/2); 743 714 rayConeF*sin(phi) , rayConeF*cos(phi) , -(Lenght_CaloFwd)/2, 715 rayConeF*sin(phi+dphi) , rayConeF*cos(phi+dphi) , -(Lenght_CaloFwd)/2, 716 ray*sin(phi+dphi) , ray*cos(phi+dphi) , -(Lenght_CaloFwd)/2, 717 ray*sin(phi) , ray*cos(phi) , -(Lenght_CaloFwd)/2); 744 718 CALOFWD->addDaughter(caloFWDEndCap2b); DetIdCountCaloFwd++; 745 719 746 720 //BARREL 747 721 FROG_Element_Primitive_CustomSurface* caloFWDB2 = new FROG_Element_Primitive_CustomSurface(9400000+DetIdCountMuon*10, 748 ray*sin(phi) ,ray*cos(phi) , -Lenght_Muon*0.5, 749 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , -Lenght_Muon*0.5, 750 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , -Lenght_CaloFwd*0.5, 751 ray*sin(phi) ,ray*cos(phi) , -Lenght_CaloFwd*0.5); 752 722 ray*sin(phi) ,ray*cos(phi) , -Lenght_Muon*0.5, 723 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , -Lenght_Muon*0.5, 724 ray*sin(phi+dphi) ,ray*cos(phi+dphi) , -Lenght_CaloFwd*0.5, 725 ray*sin(phi) ,ray*cos(phi) , -Lenght_CaloFwd*0.5); 753 726 CALOFWD->addDaughter(caloFWDB2); DetIdCountCaloFwd++; 754 755 727 } 756 728
Note:
See TracChangeset
for help on using the changeset viewer.