#include <Riostream.h>
+using std::cout;
+using std::endl;
/// \cond CLASSIMP
ClassImp(AliMpBusPatch)
/// \endcond
/// - 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
return true;
}
- if ( AliMpDEManager::GetStationType(fDEId) == AliMp::kStation2) {
+ if ( AliMpDEManager::GetStation12Type(fDEId) == AliMq::kStation2) {
// there is max two patch modules per buspatch
// 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.;
}