/*
$Log$
+Revision 1.6 2004/06/15 15:27:59 decaro
+TOF raw data: preliminary implementation and style changes
+
Revision 1.5 2004/04/20 14:37:22 hristov
Using TMath::Abs instead of fabs, arrays of variable size created/deleted correctly (HP,Sun)
// //
///////////////////////////////////////////////////////////////////////////////
+#include "AliLog.h"
#include "AliConst.h"
#include "AliTOFGeometry.h"
Int_t isector = GetSector(pos);
if(isector == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPadX;}
Int_t iplate = GetPlate(pos);
if(iplate == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPadX;}
Int_t istrip = GetStrip(pos);
if(istrip == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPadX;}
Int_t isector = GetSector(pos);
if(isector == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPlate;}
Float_t x = pos[0];
Int_t isector = GetSector(pos);
if(isector == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iStrip;}
Int_t iplate = GetPlate(pos);
if(iplate == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iStrip;}
Int_t isector = GetSector(pos);
if(isector == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPadZ;}
Int_t iplate = GetPlate(pos);
if(iplate == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPadZ;}
Int_t istrip = GetStrip(pos);
if(istrip == -1){
- cout << "Detector Index could not be determined" << endl;
+ AliError("Detector Index could not be determined");
return iPadZ;}