#include <Riostream.h>
+using std::endl;
/// \cond CLASSIMP
ClassImp(AliMpDetElement)
/// \endcond
{
/// Return the index-th bus patch
- if ( index < 0 || index > GetNofBusPatches() ) {
+ if ( index < 0 || index >= GetNofBusPatches() ) {
AliErrorStream()
<< "In DE = " << fId << ": Index " << index << " outside limits." << endl;
return 0;
if ( stationType == AliMp::kStationTrigger ) return;
- AliCodeTimerAuto("")
+ AliCodeTimerAuto("",0)
AliDebug(1,Form("DE %4d Manu %4d",fId,manuId));
for ( Int_t i = 0; i < AliMpConstants::ManuNofChannels(); ++i )
{
- if ( seg->PadByLocation(AliMpIntPair(manuId,i),kFALSE).IsValid() )
+ if ( seg->PadByLocation(manuId,i,kFALSE).IsValid() )
{
++n;
fTrackerChannels.Add((Long_t)AliMpPadUID::BuildUniqueID(fId,manuId,i),