Changeset 8864 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 02/17/08 22:39:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MCosy.cc
r8862 r8864 143 143 // Get the values (FIXME!) 144 144 // 145 int p1 = (fZd1->GetPos()/*+8192*/)%fZd1->GetPhysRes(); 146 int p2 = -(fZd2->GetPos()/*+8192*/)%fZd2->GetPhysRes(); 145 //int p1 = (fZd1->GetPos()+fZd1->GetPhysRes()/2)%fZd1->GetPhysRes(); 146 //int p2 = -(fZd2->GetPos()+fZd2->GetPhysRes()/2)%fZd2->GetPhysRes(); 147 148 int p1 = fZd1->GetPos();//+fZd1->GetPhysRes()/2)%fZd1->GetPhysRes(); 149 int p2 = -fZd2->GetPos();//+fZd2->GetPhysRes()/2)%fZd2->GetPhysRes(); 147 150 148 151 if (fZd1->IsZombieNode()) … … 562 565 fMac1->HandleError(); 563 566 fMac2->HandleError(); 564 fMac3->HandleError(); 567 if (fMac3) 568 fMac3->HandleError(); 565 569 if (HasError() || HasZombie()) 566 570 return false; … … 948 952 gLog << " * Max: " << zmax << "deg " << amax << "deg" << endl; 949 953 950 fMin = fBending.AddOffsets(fMin /TMath::RadToDeg());951 fMax = fBending.AddOffsets(fMax /TMath::RadToDeg());954 fMin = fBending.AddOffsets(fMin*TMath::DegToRad()); 955 fMax = fBending.AddOffsets(fMax*TMath::DegToRad()); 952 956 953 957 gLog << " * Min': " << fMin.Zd()*TMath::RadToDeg() << "deg " << fMin.Az()*TMath::RadToDeg() << "deg" << endl; … … 1628 1632 gLog << inf << "Open Repfile: " << name << endl; 1629 1633 fOutRep = new MLog(name, kTRUE); 1630 *fOutRep << "[Drive Report File]" << endl;1634 *fOutRep << all << "[Drive Report File]" << endl; 1631 1635 *fOutRep << "Version <cvs>" << endl; 1632 1636 *fOutRep << "Date " << MTime(-1) << endl;
Note:
See TracChangeset
for help on using the changeset viewer.