]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpBusPatch.cxx
updates in Kaon Train
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpBusPatch.cxx
index e001cff4fb54c4461058607ae788b486f201ef8d..88941a2351f5a90aab7045ed95a69a096fd3c8be 100644 (file)
@@ -37,6 +37,8 @@
 
 #include <Riostream.h>
 
+using std::cout;
+using std::endl;
 /// \cond CLASSIMP
 ClassImp(AliMpBusPatch)
 /// \endcond
@@ -130,7 +132,7 @@ Bool_t AliMpBusPatch::SetNofManusPerModule(Int_t manuNumber)
 /// - for stations 2 there maximum two PCBs per buspatch,
 /// - for slat stations there are maximum three PCBs per buspatch
 
-  if ( AliMpDEManager::GetStationType(fDEId) == AliMp::kStation1) {
+  if ( AliMpDEManager::GetStation12Type(fDEId) == AliMq::kStation1) {
 
     // simply fill the number of manus, no bridge for station 1
        
@@ -138,7 +140,7 @@ Bool_t AliMpBusPatch::SetNofManusPerModule(Int_t manuNumber)
     return true;
   }
 
- if ( AliMpDEManager::GetStationType(fDEId) == AliMp::kStation2) {
+ if ( AliMpDEManager::GetStation12Type(fDEId) == AliMq::kStation2) {
 
     // there is max two patch modules per buspatch
        
@@ -179,11 +181,11 @@ Bool_t AliMpBusPatch::SetNofManusPerModule(Int_t manuNumber)
 
       // find PCB id
       if ( motifPos0 ) {
-        x = motifPos0->Position().X();
+        x = motifPos0->GetPositionX();
         length = kSlat0->GetPCB(0)->DX()*2.;
       }
       if ( motifPos1 ) {
-        x = motifPos1->Position().X();
+        x = motifPos1->GetPositionX();
         length = kSlat1->GetPCB(0)->DX()*2.;
       }