#include "AliHLTMUONClustersBlockStruct.h"
#include "AliHLTMUONChannelsBlockStruct.h"
#include "AliHLTMUONUtils.h"
-#include <cstring>
-#include <strings.h>
+#include "AliRawDataHeader.h"
+#include <cassert>
const AliHLTInt32_t AliHLTMUONHitReconstructor::fgkDetectorId = 0xA00;
}
+AliHLTInt32_t AliHLTMUONHitReconstructor::GetkNofDetElemInDDL(Int_t iDDL)
+{
+ /// Returns the number of detection elements for a DDL.
+
+ if(iDDL>=0 && iDDL<=19)
+ return fgkNofDetElemInDDL[iDDL];
+ else
+ return -1;
+}
+
+
+AliHLTInt32_t AliHLTMUONHitReconstructor::GetkMinDetElemIdInDDL(Int_t iDDL)
+{
+ /// Returns the first detection element ID for a DDL.
+
+ if(iDDL>=0 && iDDL<=19)
+ return fgkMinDetElemIdInDDL[iDDL];
+ else
+ return -1;
+}
+
+
AliHLTMUONHitReconstructor::AliHLTMUONRawDecoder::AliHLTMUONRawDecoder() :
fkBufferStart(NULL),
fBusPatchId(0),
// sukalyan.chattopadhyay@saha.ac.in
///////////////////////////////////////////////
-#include <iostream>
-#include <cstdio>
-#include <fstream>
-#include <cstring>
-#include <cmath>
#include <map>
-#include <cassert>
-#include "TString.h"
#include "AliHLTLogging.h"
#include "AliMUONTrackerDDLDecoder.h"
#include "AliMUONTrackerDDLDecoderEventHandler.h"
#include "AliHLTMUONDataTypes.h"
-#include "AliRawDataHeader.h"
-
#if __GNUC__ && __GNUC__ < 3
#define std
#endif
static AliHLTInt32_t GetkDDLOffSet() { return fgkDDLOffSet; }
static AliHLTInt32_t GetkNofDDL() { return fgkNofDDL; }
static AliHLTInt32_t GetkDDLHeaderSize() { return fgkDDLHeaderSize; }
- static AliHLTInt32_t GetkNofDetElemInDDL(Int_t iDDL)
- {
- if(iDDL>=0 && iDDL<=19)
- return fgkNofDetElemInDDL[iDDL];
- else
- return -1;
- }
- static AliHLTInt32_t GetkMinDetElemIdInDDL(Int_t iDDL)
- {
- if(iDDL>=0 && iDDL<=19)
- return fgkMinDetElemIdInDDL[iDDL];
- else
- return -1;
- }
+ static AliHLTInt32_t GetkNofDetElemInDDL(Int_t iDDL);
+ static AliHLTInt32_t GetkMinDetElemIdInDDL(Int_t iDDL);
/// The error recovery mode used for TryRecover.
enum ERecoveryMode
static const AliHLTInt32_t fgkNofDetElemInDDL[20] ; // nof Detelem in a given ddl
static const AliHLTInt32_t fgkMinDetElemIdInDDL[20] ; // the detelem which has minimum value in ddl
-protected:
-
AliHLTMUONHitReconstructor(const AliHLTMUONHitReconstructor& rhs); // copy constructor
AliHLTMUONHitReconstructor& operator=(const AliHLTMUONHitReconstructor& rhs); // assignment operator
-private:
-
struct AliHLTMUONPad
{
AliHLTInt32_t fDetElemId; // The detector element ID of the pad.