Made necessary changes in EMCAL and PHOS to facilitate change. PHOS is still reliant on old constant namespace, now defined in AliHLTPHOSConstant.h
#ifndef ALIHLTCALOCHANNELDATASTRUCT_H
#define ALIHLTCALOCHANNELDATASTRUCT_H
-
-
/**************************************************************************
* Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. *
* *
* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-//#include "AliHLTPHOSCommonDefs.h"
-
#include "Rtypes.h"
-//#include "AliHLTPHOSConstants.h"
-//using namespace PhosHLTConst;
-
struct AliHLTCaloChannelDataStruct
{
Float_t fEnergy;
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt\r
\r
#include "AliHLTCaloClusterizer.h"\r
-//#include "AliHLTCaloBase.h"\r
#include "AliHLTLogging.h"\r
#include "TMath.h"\r
#include "AliHLTCaloRecPointContainerStruct.h"\r
#include "AliHLTCaloDigitDataStruct.h"\r
#include "AliHLTCaloDigitContainerDataStruct.h"\r
#include "TClonesArray.h"\r
-#include "AliHLTCaloConstants.h"\r
-\r
-\r
+#include "AliHLTCaloConstantsHandler.h"\r
//#ifndef HAVENOT__PHOSRECOPARAMEMC // set from configure if EMC functionality not available in AliPHOSRecoParam\r
//#include "AliPHOSRecoParam.h"\r
//#else\r
//#include "AliPHOSRecoParamEmc.h"\r
//ff#endif\r
#include <iostream>\r
+using namespace std;\r
\r
\r
-using namespace std;\r
\r
ClassImp(AliHLTCaloClusterizer);\r
\r
AliHLTCaloClusterizer::AliHLTCaloClusterizer(TString det):\r
+ AliHLTCaloConstantsHandler(det),\r
fRecPointDataPtr(0),\r
fDigitDataPtr(0),\r
fEmcClusteringThreshold(0),\r
fEmcTimeGate(0),\r
fDigitsInCluster(0),\r
fDigitContainerPtr(0),\r
- fMaxDigitIndexDiff(0),\r
- fCaloConstants(NULL)\r
+ fMaxDigitIndexDiff(0)\r
{\r
//See header file for documentation\r
fEmcClusteringThreshold = 0.2;\r
\r
fMaxDigitIndexDiff = 2*fCaloConstants->GetNZROWSMOD();\r
\r
- fCaloConstants = new AliHLTCaloConstants(det);\r
}//end\r
\r
+\r
+//BALLE how do you set the right detector?\r
AliHLTCaloClusterizer::AliHLTCaloClusterizer(const AliHLTCaloClusterizer &) :\r
+ AliHLTCaloConstantsHandler("BALLE"),\r
fRecPointDataPtr(0),\r
fDigitDataPtr(0),\r
fEmcClusteringThreshold(0),\r
fEmcTimeGate(0),\r
fDigitsInCluster(0),\r
fDigitContainerPtr(0),\r
- fMaxDigitIndexDiff(0),\r
- fCaloConstants(NULL)\r
+ fMaxDigitIndexDiff(0)\r
{\r
// dummy copy constructor\r
}//end\r
#include "AliHLTCaloDigitContainerDataStruct.h"\r
#include "AliHLTCaloDigitDataStruct.h"\r
#include "TString.h"\r
-#include "AliHLTCaloConstants.h"\r
+#include "AliHLTCaloConstantsHandler.h"\r
\r
//#include "AliPHOSGeometry.h"\r
\r
*\r
* @ingroup alihlt_calo\r
*/\r
-//class AliHLTCaloClusterizer : public AliHLTCaloBase\r
\r
\r
-\r
-class AliHLTCaloClusterizer\r
+class AliHLTCaloClusterizer : public AliHLTCaloConstantsHandler\r
{\r
\r
public:\r
/** Maximum difference in index to be a neighbour */\r
Int_t fMaxDigitIndexDiff; //COMMENT\r
\r
- /** Instance of calorimeter constants */\r
- AliHLTCaloConstants* fCaloConstants;\r
-\r
private:\r
\r
AliHLTCaloClusterizer();\r
// return *this;\r
// }\r
\r
-\r
ClassDef(AliHLTCaloClusterizer, 0);\r
\r
\r
/// @date 2009-11-12
/// @brief Class containing constants for EMCAL and PHOS
/// loaded libraries
+
#include "AliHLTCaloConstants.h"
-#include "TString.h"
-AliHLTCaloConstants::AliHLTCaloConstants(TString det) :
- fkMAXHOSTS(20),
- fkDEFAULTEVENTPORT(42001),
- fkMAXBINVALUE(1023),
- fkHIGHGAIN(0),
- fkLOWGAIN(1),
- fkALTROMAXSAMPLES(1008),
- fkALTROMAXPRESAMPLES(15),
- fkNZROWSRCU(56),
- fkNXCOLUMNSRCU(16),
- fkNZROWSMOD((det == "EMCAL") ? 48 : 56),
- fkNXCOLUMNSMOD((det == "EMCAL") ? 24 : 64 ),
- fkNGAINS(2),
- fkNDATATYPES(10),
- fkPFMAXPATHLENGTH(256),
- fkPFDEFAULTNSAMPLES(70),
- fkPFDEFAULTSTARTINDEX(0),
- fkDEFAULTTAU((det == "EMCAL") ? 0.2 : 2),
- fkDEFAULTFS(10),
- fkMODULE0(0),
- fkMODULE1(1),
- fkMODULE2(2),
- fkMODULE3(3),
- fkMODULE4(4),
- fkCSPSPERFEE(32),
- fkRCU0(0),
- fkRCU1(1),
- fkRCU2(2),
- fkRCU3(3),
- fkZ0(0),
- fkZ1(1),
- fkX0(0),
- fkX1(1),
- fkNMODULES((det == "EMCAL") ? 13 : 5),
- fkNRCUS(4),
- fkNRCUSPERMODULE((det == "EMCAL") ? 2 : 4 ),
- fkNRCUSPERTOTAL(fkNMODULES*fkNRCUSPERMODULE),
- fkNFEECS((det == "EMCAL") ? 9 : 14),
- fkNALTROS(4),
- fkNALTROCHANNELS(16),
- fkNBRANCHES(2),
- fkCELLSTEP((det == "EMCAL") ? -9999999.9 : 2.2 ), ///XXX right value?
- fkNRCUSPERSECTOR(4)
+ClassImp(AliHLTCaloConstants);
+
+AliHLTCaloConstants::AliHLTCaloConstants()
{
//Default constructor
}
/// loaded libraries
#include "Rtypes.h"
+#include "TString.h"
#ifndef ALIHLTCALOCONSTANTS_H
#define ALIHLTCALOCONSTANTS_H
-class TString;
+
class AliHLTCaloConstants
{
+
public:
-
- AliHLTCaloConstants(TString det);
+
+ AliHLTCaloConstants();
virtual ~AliHLTCaloConstants();
- Int_t GetMAXHOSTS() const {return fkMAXHOSTS; }
- Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; }
- Int_t GetMAXBINVALUE() const { return fkMAXBINVALUE; }
- Int_t GetHIGHGAIN() const { return fkHIGHGAIN; }
- Int_t GetLOWGAIN() const { return fkLOWGAIN; }
- Int_t GetALTROMAXSAMPLES() const { return fkALTROMAXSAMPLES; }
- Int_t GetALTROMAXPRESAMPLES() const { return fkALTROMAXPRESAMPLES; }
- Int_t GetNZROWSRCU() const { return fkNZROWSRCU; }
- Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU; }
- Int_t GetNZROWSMOD() const { return fkNZROWSMOD; }
- Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD; }
- Int_t GetNGAINS() const{ return fkNGAINS; }
- Int_t GetNDATATYPES() const { return fkNDATATYPES; }
- Int_t GetPFMAXPATHLENGTH() const { return fkPFMAXPATHLENGTH; }
- Int_t GetPFDEFAULTNSAMPLES() const { return fkPFDEFAULTNSAMPLES; }
- Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX; }
- Double_t GetDEFAULTTAU() const { return fkDEFAULTTAU; }
- Int_t GetDEFAULTFS() const { return fkDEFAULTFS; }
- Int_t GetMODULE0() const { return fkMODULE0; }
- Int_t GetMODULE1() const { return fkMODULE1; }
- Int_t GetMODULE2() const { return fkMODULE2; }
- Int_t GetMODULE3() const { return fkMODULE3; }
- Int_t GetMODULE4() const { return fkMODULE4; }
- Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE; }
- Int_t GetRCU0() const { return fkRCU0; }
- Int_t GetRCU1() const { return fkRCU1; }
- Int_t GetRCU2() const { return fkRCU2; }
- Int_t GetRCU3() const { return fkRCU3; }
- Int_t GetZ0() const { return fkZ0; }
- Int_t GetZ1() const { return fkZ1; }
- Int_t GetX0() const { return fkX0; }
- Int_t GetX1() const { return fkX1; }
- Int_t GetNMODULES() const { return fkNMODULES; }
- Int_t GetNRCUS() const { return fkNRCUS; }
- Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE; }
- Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL; }
- Int_t GetNFEECS() const { return fkNFEECS; }
- Int_t GetNALTROS() const { return fkNALTROS; }
- Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS; }
- Int_t GetNBRANCHES() const { return fkNBRANCHES; }
- Float_t GetCELLSTEP() const {return fkCELLSTEP; }
- Int_t GetNRCUSPERSECTOR() const {return fkNRCUSPERSECTOR; }
-
+ virtual Int_t GetMAXHOSTS() const = 0;
+ virtual Int_t GetDEFAULTEVENTPORT() const = 0;
+ virtual Int_t GetMAXBINVALUE() const = 0;
+ virtual Int_t GetHIGHGAIN() const = 0;
+ virtual Int_t GetLOWGAIN() const = 0;
+
+ virtual Int_t GetALTROMAXSAMPLES() const = 0;
+ virtual Int_t GetALTROMAXPRESAMPLES() const = 0;
+
+ virtual Int_t GetNZROWSRCU() const = 0;
+ virtual Int_t GetNXCOLUMNSRCU() const = 0;
+ virtual Int_t GetNZROWSMOD() const = 0;
+ virtual Int_t GetNXCOLUMNSMOD() const = 0;
+ virtual Int_t GetNGAINS() const = 0;
+ virtual Int_t GetNDATATYPES() const = 0;
+
+ virtual Int_t GetPFMAXPATHLENGTH() const = 0;
+
+ virtual Int_t GetPFDEFAULTNSAMPLES() const = 0;
+ virtual Int_t GetPFDEFAULTSTARTINDEX() const = 0;
+
+ virtual Double_t GetDEFAULTTAU() const = 0;
+ virtual Int_t GetDEFAULTFS() const = 0;
+
+ virtual Int_t GetMODULE0() const = 0;
+ virtual Int_t GetMODULE1() const = 0;
+ virtual Int_t GetMODULE2() const = 0;
+ virtual Int_t GetMODULE3() const = 0;
+ virtual Int_t GetMODULE4() const = 0;
+
+ virtual Int_t GetCSPSPERFEE() const = 0;
+ virtual Int_t GetRCU0() const = 0;
+ virtual Int_t GetRCU1() const = 0;
+ virtual Int_t GetRCU2() const = 0;
+ virtual Int_t GetRCU3() const = 0;
+
+ virtual Int_t GetZ0() const = 0;
+ virtual Int_t GetZ1() const = 0;
+ virtual Int_t GetX0() const = 0;
+ virtual Int_t GetX1() const = 0;
+
+ virtual Int_t GetNMODULES() const = 0;
+ virtual Int_t GetNRCUS() const = 0;
+
+ virtual Int_t GetNRCUSPERMODULE() const = 0;
+ virtual Int_t GetNRCUSPERTOTAL() const = 0;
+ virtual Int_t GetNFEECS() const = 0;
+ virtual Int_t GetNALTROS() const = 0;
+ virtual Int_t GetNALTROCHANNELS() const = 0;
+ virtual Int_t GetNBRANCHES() const = 0;
+
+ virtual Float_t GetCELLSTEP() const = 0;
+ virtual Int_t GetNRCUSPERSECTOR() const = 0;
+
private:
-
- AliHLTCaloConstants();
-
- const Int_t fkMAXHOSTS; // soon to be obsolete
- const Int_t fkDEFAULTEVENTPORT; // soon to be obsolete
- const Int_t fkMAXBINVALUE; // 1023;
- const Int_t fkHIGHGAIN; // 1;
- const Int_t fkLOWGAIN; // 0;
- const Int_t fkALTROMAXSAMPLES; // 1008; /**<The maximum number of samples of the ALTRO*/
- const Int_t fkALTROMAXPRESAMPLES; // 15;
- const Int_t fkNZROWSRCU; // 56; /**<Number of rows per module*/
- const Int_t fkNXCOLUMNSRCU; // 16;
- const Int_t fkNZROWSMOD; // 48; /**<Number of rows per module*/
- const Int_t fkNXCOLUMNSMOD; // 24; /**<Number of columns per module*/
- const Int_t fkNGAINS; // 2; /**<Number of gains per ALTRO channel*/
- const Int_t fkNDATATYPES; // 10;
- const Int_t fkPFMAXPATHLENGTH; // 256;
- const Int_t fkPFDEFAULTNSAMPLES; // 70;
- const Int_t fkPFDEFAULTSTARTINDEX; // 0;
- const Double_t fkDEFAULTTAU; // 0.2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
- const Int_t fkDEFAULTFS; // 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
- const Int_t fkMODULE0; // 0;
- const Int_t fkMODULE1; // 1;
- const Int_t fkMODULE2; // 2;
- const Int_t fkMODULE3; // 3;
- const Int_t fkMODULE4; // 4;
- const Int_t fkCSPSPERFEE; // 32;
- const Int_t fkRCU0; // 0;
- const Int_t fkRCU1; // 1;
- const Int_t fkRCU2; // 2;
- const Int_t fkRCU3; // 3;
- const Int_t fkZ0; // 0;
- const Int_t fkZ1; // 1;
- const Int_t fkX0; // 0;
- const Int_t fkX1; // 1;
- const Int_t fkNMODULES; // 13; /**<Number of modules of the EMCAL detector*/
- const Int_t fkNRCUS; // 4; /**<Number of RCUs per Module*/
- const Int_t fkNRCUSPERMODULE; // 2; /**<Number of RCUs per Module*/
- const Int_t fkNRCUSPERTOTAL; // NMODULES*NRCUSPERMODULE; /**<Total number of RCUs for EMCAL*/
- const Int_t fkNFEECS; // 9; /**<Number of frontend cards per branch*/
- const Int_t fkNALTROS; // 4; /**<Number of ALTROs per fkrontend card*/
- const Int_t fkNALTROCHANNELS; // 16;
- const Int_t fkNBRANCHES; // 2;
- const Float_t fkCELLSTEP; // Obsolete variable? Called in Calomapper!
- const Int_t fkNRCUSPERSECTOR; // 4;
+ ClassDef(AliHLTCaloConstants, 1);
};
#endif
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* *
-//* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
+//* Primary Authors: Svein Lindal <slindal@fys.uio.no>
//* for The ALICE HLT Project. *
//* *
//* Permission to use, copy, modify and distribute this software and its *
#include "AliHLTCaloConstants.h"
#include "AliHLTMisc.h"
+ClassImp(AliHLTCaloConstantsHandler);
+
AliHLTCaloConstantsHandler::AliHLTCaloConstantsHandler(TString det):
- fCaloConstants(NULL)
+ fCaloConstants(NULL)
{
if (det.CompareTo("PHOS") == 0) {
- fCaloConstants = AliHLTMisc::LoadInstance( (AliHLTCaloConstants*) NULL, "AliHLTPHOSConstants", "PHOS");
+ fCaloConstants = AliHLTMisc::LoadInstance( (AliHLTCaloConstants*) NULL, "AliHLTPHOSConstants", "libAliHLTPHOS.so");
} else {
- fCaloConstants = AliHLTMisc::LoadInstance( (AliHLTCaloConstants*) NULL, "AliHLTEMCALConstants", "EMCAL");
+ fCaloConstants = AliHLTMisc::LoadInstance( (AliHLTCaloConstants*) NULL, "AliHLTEMCALConstants", "libAliHLTEMCAL.so");
}
}
#ifndef ALIHLTCALOCONSTANTSHANDLER_H
#define ALIHLTCALOCONSTANTSHANDLER_H
-class AliHLTCaloConstants;
-class TString;
+#include "AliHLTCaloConstants.h"
+#include "TString.h"
class AliHLTCaloConstantsHandler
{
AliHLTCaloConstantsHandler(TString det);
virtual ~AliHLTCaloConstantsHandler();
+
protected:
AliHLTCaloConstants* fCaloConstants;
private:
+
+
/** Keep the standard constructor private, since we must alway initialize by specific calorimeter**/
AliHLTCaloConstantsHandler();
-
+
/** Keep the copy constructor private since it should not be used */
AliHLTCaloConstantsHandler(const AliHLTCaloConstantsHandler & );
-
+
/** Keep the assignement operator private since it should not be used */
- AliHLTCaloConstantsHandler & operator = (const AliHLTCaloConstantsHandler &);
-
-
- void Initialize(TString det);
+ AliHLTCaloConstantsHandler & operator = (const AliHLTCaloConstantsHandler &);
+
+ ClassDef(AliHLTCaloConstantsHandler, 1);
};
#include "AliHLTDataTypes.h"
+ClassImp(AliHLTCaloDecoderWrapper);
+
AliHLTCaloDecoderWrapper::AliHLTCaloDecoderWrapper() : fAltroRawStream(0),
// fCaloRawStream(0),
fReaderMemory(0)
AliAltroRawStreamV3 *fAltroRawStream;
// AliCaloRawStreamV3 *fCaloRawStream;
AliRawReaderMemory *fReaderMemory;
+
+ ClassDef(AliHLTCaloDecoderWrapper, 1);
};
#endif
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt\r
\r
#include "AliHLTCaloDigitMaker.h"\r
-\r
-#include "AliHLTCaloConstants.h"\r
+#include "AliHLTCaloConstantsHandler.h"\r
#include "AliHLTCaloMapper.h"\r
-\r
#include "AliHLTCaloChannelDataStruct.h"\r
#include "AliHLTCaloChannelDataHeaderStruct.h"\r
#include "AliHLTCaloDigitDataStruct.h"\r
//using namespace CaloHLTConst;\r
\r
AliHLTCaloDigitMaker::AliHLTCaloDigitMaker(TString det) :\r
+ AliHLTCaloConstantsHandler(det),\r
fShmPtr(0),\r
fDigitStructPtr(0),\r
fDigitCount(0),\r
fHighGainFactors(0),\r
fLowGainFactors(0),\r
fBadChannelMask(0),\r
- fChannelBook(0),\r
- fCaloConstants(NULL)\r
+ fChannelBook(0)\r
{\r
// See header file for documentation\r
\r
- fShmPtr = new AliHLTCaloSharedMemoryInterfacev2();\r
+ fShmPtr = new AliHLTCaloSharedMemoryInterfacev2(det);\r
\r
fHighGainFactors = new Float_t*[fCaloConstants->GetNXCOLUMNSMOD()];\r
fLowGainFactors = new Float_t*[fCaloConstants->GetNXCOLUMNSMOD()];\r
-\r
+ \r
fBadChannelMask = new Float_t**[fCaloConstants->GetNXCOLUMNSMOD()];\r
-\r
+ \r
fChannelBook= new AliHLTCaloDigitDataStruct**[fCaloConstants->GetNXCOLUMNSMOD()];\r
-\r
+ \r
for(int x = 0; x < fCaloConstants->GetNXCOLUMNSMOD(); x++)\r
{\r
fHighGainFactors[x] = new Float_t[fCaloConstants->GetNZROWSMOD()];\r
\r
//Must be set in child instance\r
//fMapperPtr = new AliHLTCaloMapper(det);\r
- fCaloConstants = new AliHLTCaloConstants(det);\r
\r
}\r
\r
AliHLTCaloDigitMaker::AliHLTCaloDigitMaker(const AliHLTCaloDigitMaker &) :\r
+ AliHLTCaloConstantsHandler(""),\r
fShmPtr(0),\r
fDigitStructPtr(0),\r
fDigitCount(0),\r
fHighGainFactors(0),\r
fLowGainFactors(0),\r
fBadChannelMask(0),\r
- fChannelBook(0),\r
- fCaloConstants(NULL)\r
+ fChannelBook(0)\r
{\r
// Dummy copy constructor\r
-\r
}\r
\r
AliHLTCaloDigitMaker::~AliHLTCaloDigitMaker() \r
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt\r
\r
//#include "AliHLTCaloBase.h"\r
-#include "AliHLTCaloConstants.h"\r
+#include "AliHLTCaloConstantsHandler.h"\r
#include "AliHLTCaloDigitDataStruct.h"\r
#include "AliHLTCaloChannelDataStruct.h"\r
#include "AliHLTDataTypes.h"\r
\r
\r
\r
-class AliHLTCaloDigitMaker\r
+class AliHLTCaloDigitMaker : AliHLTCaloConstantsHandler\r
{\r
\r
public:\r
/** Channel book keeping variable */\r
AliHLTCaloDigitDataStruct ***fChannelBook; //! transient\r
\r
- /** Constants class */\r
- AliHLTCaloConstants* fCaloConstants;\r
\r
AliHLTCaloDigitMaker(const AliHLTCaloDigitMaker &);\r
// AliHLTCaloDigitMaker & operator = (const AliHLTCaloDigitMaker &);\r
//#include "AliHLTCaloRcuFFTDataStruct.h"
+ClassImp(AliHLTCaloFourier);
+
AliHLTCaloFourier::AliHLTCaloFourier() : fFFT_own(0),
fFFTInputArray(0),
fFFTOutputArray(0),
#include "Rtypes.h"
#include "TVirtualFFT.h"
#include "TMath.h"
-#include "AliHLTCaloConstants.h"
+#include "AliHLTCaloConstant.h"
#include <iostream>
#include "AliHLTCaloRcuFFTDataStruct.h"
AliHLTCaloFourier(const AliHLTCaloFourier&);
AliHLTCaloFourier & operator=(const AliHLTCaloFourier&){return *this;};
+
+
+ ClassDef(AliHLTCaloFourier, 1);
};
#endif
#include "unistd.h"
#include <iostream>
#include "AliHLTCaloCoordinate.h"
+#include "AliHLTCaloConstantsHandler.h"
#include "AliHLTCaloConstants.h"
-//ClassImp(AliHLTCaloMapper)
+ClassImp(AliHLTCaloMapper);
AliHLTCaloMapper::AliHLTCaloMapper( const unsigned long specification , TString det) :
AliHLTLogging(),
+ AliHLTCaloConstantsHandler(det),
fHw2geomapPtr(0),
fCellSize(0),
fSpecification(specification),
fIsInitializedMapping(false),
- fSpecificationMapPtr(0),
- fCaloConstants(NULL)
+ fSpecificationMapPtr(0)
{
//see header file for class documentation
-
- fCaloConstants = new AliHLTCaloConstants(det);
}
#include "AliHLTCaloConstants.h"
#include "Rtypes.h"
#include "AliHLTLogging.h"
-#include "AliHLTCaloConstants.h"
+#include "AliHLTCaloConstantsHandler.h"
class AliHLTCaloCoordinate;
-class AliHLTCaloConstants;
-class AliHLTCaloMapper : public AliHLTLogging
+class AliHLTCaloMapper : public AliHLTCaloConstantsHandler, public AliHLTLogging
{
public:
-
+
AliHLTCaloMapper(const unsigned long specification, TString det);
virtual ~AliHLTCaloMapper();
virtual void InitAltroMapping( const unsigned long specification ) = 0;
int fSpecification;
bool fIsInitializedMapping;
fDDLSpecificationMap* fSpecificationMapPtr;
- AliHLTCaloConstants* fCaloConstants;
-
+
private:
AliHLTCaloMapper();
AliHLTCaloMapper(const AliHLTCaloMapper & );
AliHLTCaloMapper & operator = (const AliHLTCaloMapper &);
+
+ ClassDef(AliHLTCaloMapper, 1);
+
};
#endif
private:
- // ClassDef(AliHLTCaloRawAnalyzerChiSquareFit, 2)
+ ClassDef(AliHLTCaloRawAnalyzerChiSquareFit, 2)
};
#include "AliRawReaderMemory.h"
#include "AliAltroRawStreamV3.h"
#include "AliCaloRawStreamV3.h"
+#include "AliHLTCaloConstantsHandler.h"
#include "AliHLTCaloConstants.h"
#include "AliHLTCaloRcuProcessor.h"
+ClassImp(AliHLTCaloRawAnalyzerComponentv3);
+
AliHLTCaloRawAnalyzerComponentv3::AliHLTCaloRawAnalyzerComponentv3(TString det):
+ AliHLTCaloConstantsHandler(det),
AliHLTCaloRcuProcessor(),
fCaloEventCount(0),
fAnalyzerPtr(0),
fBunchSizeCut(0),
fMinPeakPosition(0),
fMaxPeakPosition(100),
- fCaloConstants(NULL),
fRawDataWriter(0)
{
//comment
// fMapperPtr = new AliHLTCaloMapper();
-
- fCaloConstants = new AliHLTCaloConstants(det);
-
+
fRawReaderMemoryPtr = new AliRawReaderMemory();
-
+
fAltroRawStreamPtr = new AliAltroRawStreamV3(fRawReaderMemoryPtr);
-
+
fSanityInspectorPtr = new AliHLTCaloSanityInspector();
if( fkDoPushRawData == true )
#include "AliHLTProcessor.h"
#include "AliHLTCaloDefinitions.h"
-#include "AliHLTCaloConstants.h"
+#include "AliHLTCaloConstantsHandler.h"
#include "AliHLTCaloRcuProcessor.h"
-class AliHLTCaloConstants;
class AliHLTCaloMapper;
-//class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloRcuProcessor
-class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloRcuProcessor
+class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloConstantsHandler, public AliHLTCaloRcuProcessor
{
public:
/** Pointer to an analyzer object used for raw data anlysis */
AliHLTCaloRawAnalyzer *fAnalyzerPtr; //COMMENT
- AliHLTCaloMapper *fMapperPtr;
+ //** Pointer to a mapper opbject */
+ AliHLTCaloMapper *fMapperPtr; //COMMENT
private:
// AliHLTCaloMapper *fMapperPtr;
- /** Constants class instance */
- AliHLTCaloConstants *fCaloConstants;
-
-
-
class RawDataWriter
{
public:
RawDataWriter *fRawDataWriter;
+ ClassDef(AliHLTCaloRawAnalyzerComponentv3, 1)
+
};
#endif
using namespace std;
+ClassImp(AliHLTCaloRawAnalyzerCrude);
AliHLTCaloRawAnalyzerCrude::AliHLTCaloRawAnalyzerCrude():AliHLTCaloRawAnalyzer()
{
class AliHLTCaloRawAnalyzerCrude : public AliHLTCaloRawAnalyzer
{
+
public:
AliHLTCaloRawAnalyzerCrude();
virtual ~AliHLTCaloRawAnalyzerCrude();
virtual void Evaluate(int start = 0, int lenght = 100);
+
private:
+
+ ClassDef(AliHLTCaloRawAnalyzerCrude, 1);
+
};
#endif
#include "AliHLTCaloRawAnalyzerCrudeComponent.h"
#include "AliHLTCaloRawAnalyzerCrude.h"
-//AliHLTCaloRawAnalyzerCrudeComponent gAliHLTCaloRawAnalyzerCrudeComponent;
+ClassImp(AliHLTCaloRawAnalyzerCrudeComponent);
//___________________________________________________________________________
AliHLTCaloRawAnalyzerCrudeComponent::AliHLTCaloRawAnalyzerCrudeComponent(TString det) :
private:
AliHLTCaloRawAnalyzerCrudeComponent();
+
+ ClassDef(AliHLTCaloRawAnalyzerCrudeComponent, 1);
};
#endif
using std::cout;
using std::endl;
-//ClassImp(AliHLTCaloRawAnalyzerPeakFinder)
+ClassImp(AliHLTCaloRawAnalyzerPeakFinder)
/**
- * The AliHLTCaloPeakfinder class is the class for extracting the basic signal parameters
+ * The AliHLTCaloRawAnalyzerPeakfinder class is the class for extracting the basic signal parameters
* "timing" and "energy" from the Calorimeter's raw data. Physical data will for a given readout channel be
* a sequense of ADC digitized 10 bit integer values, however for performance reasons all values used in
* calculation is of type double.
**/
+
AliHLTCaloRawAnalyzerPeakFinder::AliHLTCaloRawAnalyzerPeakFinder():AliHLTCaloRawAnalyzer(),
fTVectorPtr(0),
fAVectorPtr(0),
// AliHLTCaloUtilities *fUtilitiesPtr;
- // ClassDef(AliHLTCaloRawAnalyzerPeakFinder, 2)
-
- };
+ ClassDef(AliHLTCaloRawAnalyzerPeakFinder, 2)
+
+};
#endif
#include "AliHLTCaloRawAnalyzerPeakFinderComponent.h"
#include "AliHLTCaloRawAnalyzerPeakFinder.h"
-//#include <cstdlib>
-//#include "AliHLTCaloCommonDefs.h"
-
-
-//AliHLTCaloRawAnalyzerPeakFinderComponent gAliHLTCaloRawAnalyzerPeakFinderComponent;
+ClassImp(AliHLTCaloRawAnalyzerPeakFinderComponent);
//___________________________________________________________________________________________________________
AliHLTCaloRawAnalyzerPeakFinderComponent::AliHLTCaloRawAnalyzerPeakFinderComponent(TString det) :
private:
AliHLTCaloRawAnalyzerPeakFinderComponent();
+
+ ClassDef(AliHLTCaloRawAnalyzerPeakFinderComponent, 1);
};
**************************************************************************/
#include "AliHLTCaloRcuProcessor.h"
+
+ClassImp(AliHLTCaloRcuProcessor);
+
AliHLTCaloRcuProcessor::AliHLTCaloRcuProcessor():AliHLTCaloProcessor()
{
AliHLTCaloRcuProcessor (const AliHLTCaloRcuProcessor & );
AliHLTCaloRcuProcessor & operator = (const AliHLTCaloRcuProcessor &);
+ ClassDef(AliHLTCaloRcuProcessor, 1);
};
#endif
#include "AliHLTCaloSanityInspector.h"
#include "Rtypes.h"
-//ClassImp(AliHLTCaloSanityInspector);
+ClassImp(AliHLTCaloSanityInspector);
AliHLTCaloSanityInspector::AliHLTCaloSanityInspector() :
/** The max difference between 2 samples */
Int_t fMaxDifference; //COMMENT
- // ClassDef(AliHLTCaloySanityInspector, 1);
+ ClassDef(AliHLTCaloSanityInspector, 1);
};
#endif
#include "AliHLTCaloMapper.h"
#include "AliHLTCaloConstants.h"
+ClassImp(AliHLTCaloSharedMemoryInterfacev2);
-AliHLTCaloSharedMemoryInterfacev2::AliHLTCaloSharedMemoryInterfacev2(): fCurrentChannel(0),
- fChannelDataPtr(0),
- fIsSetMemory(false),
- fHasRawData(false),
- fMaxCnt(0),
- fCurrentCnt(0),
- fRawDataPtr(0),
- fRawData()
- // fSpecification(0)
+AliHLTCaloSharedMemoryInterfacev2::AliHLTCaloSharedMemoryInterfacev2(TString det):
+ AliHLTCaloConstantsHandler(det),
+ fCurrentChannel(0),
+ fChannelDataPtr(0),
+ fIsSetMemory(false),
+ fHasRawData(false),
+ fMaxCnt(0),
+ fCurrentCnt(0),
+ fRawDataPtr(0),
+ fRawData()
+ // fSpecification(0)
{
// GetSpecFromDDLIndex
// AliHLTCaloMapper *fMapperPtr[32];
void
AliHLTCaloSharedMemoryInterfacev2::Reset(AliHLTCaloChannelRawDataStruct &str)
{
- for(int i=0; i< ALTROMAXSAMPLES; i++ )
+ for(int i=0; i< fCaloConstants->GetALTROMAXSAMPLES(); i++ )
{
str.fDataPtr[i] = 0;
}
#include "AliHLTCaloChannelRawDataStruct.h"
#include "AliHLTDataTypes.h"
-
+#include "AliHLTCaloConstantsHandler.h"
class AliHLTCaloChannelDataHeaderStruct;
//class AliHLTCaloChannelRawDataStruct;
-class AliHLTCaloSharedMemoryInterfacev2
+class AliHLTCaloSharedMemoryInterfacev2 : public AliHLTCaloConstantsHandler
{
public:
- AliHLTCaloSharedMemoryInterfacev2();
+ AliHLTCaloSharedMemoryInterfacev2(TString det);
virtual ~AliHLTCaloSharedMemoryInterfacev2();
AliHLTCaloChannelDataStruct* NextChannel();
void NextRawChannel();
AliHLTCaloMapper *fMapperPtr[32];
private:
+ AliHLTCaloSharedMemoryInterfacev2();
AliHLTCaloSharedMemoryInterfacev2(const AliHLTCaloSharedMemoryInterfacev2 & );
AliHLTCaloSharedMemoryInterfacev2 & operator = (const AliHLTCaloSharedMemoryInterfacev2 &);
void Reset(AliHLTCaloChannelRawDataStruct &str);
UShort_t *fRawDataPtr;
AliHLTCaloChannelRawDataStruct fRawData;
// unsigned long fSpecification;
+
+ ClassDef(AliHLTCaloSharedMemoryInterfacev2, 1);
};
#endif
--- /dev/null
+//-*- Mode: C++ -*-
+// $Id: AliHLTPHOSConstants.h 34622 2009-09-04 13:22:01Z odjuvsla $
+
+/**************************************************************************
+ * This file is property of and copyright by the Experimental Nuclear *
+ * Physics Group, Dep. of Physics *
+ * University of Oslo, Norway, 2006 *
+ * *
+ * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * Please report bugs to perthi@fys.uio.no *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+
+#ifndef ALIHLTEMCALCONSTANT_H
+#define ALIHLTEMCALCONSTANT_H
+
+namespace EmcalHLTConst
+{
+ // const int NZROWSRCU = 56; /**<Number of rows per RCU*/
+ // const int NXCOLUMNSRCU = 16;
+ const int NZROWSMOD = 48; /**<Number of rows per module*/
+ const int NXCOLUMNSMOD = 24; /**<Number of columns per module*/
+
+ const int NRCUSPERSECTOR = 4;
+
+ /*
+ const int MIN_DDL_NUMBER = 4608;
+ const int MAX_DDL_NUMBER = 4631;
+ const int N_DDLS = MAX_DDL_NUMBER - MIN_DDL_NUMBER +1;
+ */
+
+#ifndef __CINT__
+ const unsigned char PFVECTORDIR[] = "/HLT/PHOS/PFVectors";
+#endif
+ const int PFDEFAULTNSAMPLES = 70;
+ const int PFDEFAULTSTARTINDEX = 0;
+ const double DEFAULTTAU = 0.2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
+ const int DEFAULTFS = 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
+ const int NMODULES = 13; /**<Number of modules of the EMCAL detector*/
+ // const int NRCUS = 2; /**<Number of RCUs per Module*/
+ const int NRCUSPERMODULE = 2 ; /**<Number of RCUs per Module*/
+ const int NFEECS = 9; /**<Number of Frontend cards per branch*/
+}
+
+
+#endif
+
+
--- /dev/null
+//-*- Mode: C++ -*-
+// $Id: AliHLTEMCALConstants.cxx $
+//**************************************************************************
+//* This file is property of and copyright by the ALICE HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Svein Lindal <slindal@fys.uio.no> *
+//* for The ALICE HLT Project. *
+//* *
+//* Permission to use, copy, modify and distribute this software and its *
+//* documentation strictly for non-commercial purposes is hereby granted *
+//* without fee, provided that the above copyright notice appears in all *
+//* copies and that both the copyright notice and this permission notice *
+//* appear in the supporting documentation. The authors make no claims *
+//* about the suitability of this software for any purpose. It is *
+//* provided "as is" without express or implied warranty. *
+//**************************************************************************
+
+/// @file AliHLTEMCALConstants.cxx
+/// @author Svein Lindal
+/// @date 2009-11-12
+/// @brief Class containing constants for EMCAL and EMCAL
+/// loaded libraries
+#include "AliHLTEMCALConstants.h"
+
+ClassImp(AliHLTEMCALConstants);
+
+AliHLTEMCALConstants::AliHLTEMCALConstants() :
+ AliHLTCaloConstants(),
+ fkMAXHOSTS(20),
+ fkDEFAULTEVENTPORT(42001),
+ fkMAXBINVALUE(1023),
+ fkHIGHGAIN(1),
+ fkLOWGAIN(0),
+ fkALTROMAXSAMPLES(1008),
+ fkALTROMAXPRESAMPLES(15),
+ fkNZROWSRCU(56),
+ fkNXCOLUMNSRCU(16),
+ fkNZROWSMOD(48),
+ fkNXCOLUMNSMOD(24),
+ fkNGAINS(2),
+ fkNDATATYPES(10),
+ fkPFMAXPATHLENGTH(256),
+ fkPFDEFAULTNSAMPLES(70),
+ fkPFDEFAULTSTARTINDEX(0),
+ fkDEFAULTTAU(0.2),
+ fkDEFAULTFS(10),
+ fkMODULE0(0),
+ fkMODULE1(1),
+ fkMODULE2(2),
+ fkMODULE3(3),
+ fkMODULE4(4),
+ fkCSPSPERFEE(32),
+ fkRCU0(0),
+ fkRCU1(1),
+ fkRCU2(2),
+ fkRCU3(3),
+ fkZ0(0),
+ fkZ1(1),
+ fkX0(0),
+ fkX1(1),
+ fkNMODULES(13),
+ fkNRCUS(4),
+ fkNRCUSPERMODULE(2),
+ fkNRCUSPERTOTAL(fkNMODULES*fkNRCUSPERMODULE),
+ fkNFEECS(9),
+ fkNALTROS(4),
+ fkNALTROCHANNELS(16),
+ fkNBRANCHES(2),
+ fkCELLSTEP(-999999999.9),
+ fkNRCUSPERSECTOR(4)
+{
+ //Default constructor
+}
+
+AliHLTEMCALConstants::~AliHLTEMCALConstants()
+{
+ //Default destructor
+}
+
//-*- Mode: C++ -*-
-// $Id: AliHLTPHOSConstants.h 34622 2009-09-04 13:22:01Z odjuvsla $
+// $Id: AliHLTEMCALConstants.h 35357 2009-10-08 13:24:38Z phille $
/**************************************************************************
* This file is property of and copyright by the Experimental Nuclear *
* Physics Group, Dep. of Physics *
* University of Oslo, Norway, 2006 *
* *
- * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
+ * Author: Svein Lindal slindal@fys.uio.no for the ALICE DCS Project. *
* Contributors are mentioned in the code where appropriate. *
- * Please report bugs to perthi@fys.uio.no *
+ * Please report bugs to slindal@fys.uio.no *
* *
* Permission to use, copy, modify and distribute this software and its *
* documentation strictly for non-commercial purposes is hereby granted *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
#ifndef ALIHLTEMCALCONSTANTS_H
#define ALIHLTEMCALCONSTANTS_H
-namespace EmcalHLTConst
+#include "Rtypes.h"
+#include "AliHLTCaloConstants.h"
+
+
+class AliHLTEMCALConstants : public AliHLTCaloConstants
{
- // const int NZROWSRCU = 56; /**<Number of rows per RCU*/
- // const int NXCOLUMNSRCU = 16;
- const int NZROWSMOD = 48; /**<Number of rows per module*/
- const int NXCOLUMNSMOD = 24; /**<Number of columns per module*/
- const int NRCUSPERSECTOR = 4;
+public:
+
+ AliHLTEMCALConstants();
+ ~AliHLTEMCALConstants();
- /*
- const int MIN_DDL_NUMBER = 4608;
- const int MAX_DDL_NUMBER = 4631;
- const int N_DDLS = MAX_DDL_NUMBER - MIN_DDL_NUMBER +1;
- */
+ Int_t GetMAXHOSTS() const { return fkMAXHOSTS;}
+ Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; }
+ Int_t GetMAXBINVALUE() const { return fkMAXBINVALUE; }
+ Int_t GetHIGHGAIN() const { return fkHIGHGAIN;}
+ Int_t GetLOWGAIN() const { return fkLOWGAIN;}
+
+ Int_t GetALTROMAXSAMPLES() const {return fkALTROMAXSAMPLES;}
+ Int_t GetALTROMAXPRESAMPLES() const { return fkALTROMAXPRESAMPLES;}
+
+ Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}
+ Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;}
+ Int_t GetNZROWSMOD() const { return fkNZROWSMOD;}
+ Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;}
+ Int_t GetNGAINS() const { return fkNGAINS;}
+ Int_t GetNDATATYPES() const { return fkNDATATYPES;}
+
+ Int_t GetPFMAXPATHLENGTH() const { return fkPFMAXPATHLENGTH;}
+
+ Int_t GetPFDEFAULTNSAMPLES() const{ return fkPFDEFAULTNSAMPLES;}
+ Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX;}
+
+ Double_t GetDEFAULTTAU() const { return fkDEFAULTTAU;}
+ Int_t GetDEFAULTFS() const { return fkDEFAULTFS;}
+
+ Int_t GetMODULE0() const { return fkMODULE0;}
+ Int_t GetMODULE1() const { return fkMODULE1;}
+ Int_t GetMODULE2() const { return fkMODULE2;}
+ Int_t GetMODULE3() const { return fkMODULE3;}
+ Int_t GetMODULE4() const { return fkMODULE4;}
+
+ Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE;}
+ Int_t GetRCU0() const { return fkRCU0;}
+ Int_t GetRCU1() const { return fkRCU1;}
+ Int_t GetRCU2() const { return fkRCU2;}
+ Int_t GetRCU3() const { return fkRCU3;}
+
+ Int_t GetZ0() const { return fkZ0;}
+ Int_t GetZ1() const { return fkZ1;}
+ Int_t GetX0() const { return fkX0;}
+ Int_t GetX1() const { return fkX1;}
+
+ Int_t GetNMODULES() const { return fkNMODULES;}
+ Int_t GetNRCUS() const { return fkNRCUS;}
-#ifndef __CINT__
- const unsigned char PFVECTORDIR[] = "/HLT/PHOS/PFVectors";
-#endif
- const int PFDEFAULTNSAMPLES = 70;
- const int PFDEFAULTSTARTINDEX = 0;
- const double DEFAULTTAU = 0.2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
- const int DEFAULTFS = 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
- const int NMODULES = 13; /**<Number of modules of the EMCAL detector*/
- // const int NRCUS = 2; /**<Number of RCUs per Module*/
- const int NRCUSPERMODULE = 2 ; /**<Number of RCUs per Module*/
- const int NFEECS = 9; /**<Number of Frontend cards per branch*/
-}
+ Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;}
+ Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;}
+ Int_t GetNFEECS() const { return fkNFEECS;}
+ Int_t GetNALTROS() const { return fkNALTROS;}
+ Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS;}
+ Int_t GetNBRANCHES() const { return fkNBRANCHES;}
+ Float_t GetCELLSTEP() const { return fkCELLSTEP; } //BALLE must be set correctly
+ Int_t GetNRCUSPERSECTOR() const { return fkNRCUSPERSECTOR; }
-#endif
+private:
+
+ /** Constant members */
+
+ const Int_t fkMAXHOSTS;
+ const Int_t fkDEFAULTEVENTPORT;
+ const Int_t fkMAXBINVALUE;
+ const Int_t fkHIGHGAIN;
+ const Int_t fkLOWGAIN;
+
+ const Int_t fkALTROMAXSAMPLES; /**<The maximum number of samples of the ALTRO*/
+ const Int_t fkALTROMAXPRESAMPLES;
+
+ const Int_t fkNZROWSRCU; /**<Number of rows per module*/
+ const Int_t fkNXCOLUMNSRCU;
+ const Int_t fkNZROWSMOD; /**<Number of rows per module*/
+ const Int_t fkNXCOLUMNSMOD; /**<Number of columns per module*/
+ const Int_t fkNGAINS; /**<Number of gains per ALTRO channel*/
+ const Int_t fkNDATATYPES;
+ const Int_t fkPFMAXPATHLENGTH;
+
+ const Int_t fkPFDEFAULTNSAMPLES;
+ const Int_t fkPFDEFAULTSTARTINDEX;
+
+ const Double_t fkDEFAULTTAU; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
+ const Int_t fkDEFAULTFS; /**<Assume that the signal is samples with 10 MHZ samle rate*/
+
+ const Int_t fkMODULE0;
+ const Int_t fkMODULE1;
+ const Int_t fkMODULE2;
+ const Int_t fkMODULE3;
+ const Int_t fkMODULE4;
+
+ const Int_t fkCSPSPERFEE;
+ const Int_t fkRCU0;
+ const Int_t fkRCU1;
+ const Int_t fkRCU2;
+ const Int_t fkRCU3;
+
+ const Int_t fkZ0;
+ const Int_t fkZ1;
+ const Int_t fkX0;
+ const Int_t fkX1;
+
+ const Int_t fkNMODULES; /**<Number of modules of the EMCAL detector*/
+ const Int_t fkNRCUS; /**<Number of RCUs per Module*/
+
+ const Int_t fkNRCUSPERMODULE; /**<Number of RCUs per Module*/
+ const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for EMCAL*/
+ const Int_t fkNFEECS; /**<Number of Frontend cards per branch*/
+ const Int_t fkNALTROS; /**<Number of ALTROs per frontend card*/
+ const Int_t fkNALTROCHANNELS;
+ const Int_t fkNBRANCHES;
+
+ const Float_t fkCELLSTEP;
+ const Int_t fkNRCUSPERSECTOR;
+
+ ClassDef(AliHLTEMCALConstants, 1)
+
+};
+#endif
**************************************************************************/
#include "AliHLTEMCALMapper.h"
-#include "AliHLTEMCALConstants.h"
+#include "AliHLTEMCALConstant.h"
#include "assert.h"
using namespace EmcalHLTConst;
//#include "AliHLTPHOSCommonDefs.h"
-#include "AliHLTCaloConstants.h"
+#include "AliHLTCaloConstant.h"
// using namespace PhosHLTConst;
using namespace CaloHLTConst;
#include "AliHLTEMCALMapper.h"
-AliHLTEMCALSharedMemoryInterface::AliHLTEMCALSharedMemoryInterface() : AliHLTCaloSharedMemoryInterfacev2()
+AliHLTEMCALSharedMemoryInterface::AliHLTEMCALSharedMemoryInterface() : AliHLTCaloSharedMemoryInterfacev2("EMCAL")
{
for(int i=0; i < 32; i++ )
{
#include "AliRunLoader.h"
#include "AliCDBManager.h"
#include "AliCDBEntry.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
#include "AliHLTPHOSMapper.h"
/** global instance for agent registration */
#include "AliHLTPHOSCalibrationComponent.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
#include "AliHLTPHOSDefinitions.h"
#include "AliHLTPHOSEmcCalibData.h"
#include "AliHLTPHOSChannelDataStruct.h"
#include "AliHLTPHOSCoordinate.h"
#include "Rtypes.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
--- /dev/null
+//-*- Mode: C++ -*-
+// $Id: AliHLTPHOSConstant.h -1 $
+
+/**************************************************************************
+ * This file is property of and copyright by the Experimental Nuclear *
+ * Physics Group, Dep. of Physics *
+ * University of Oslo, Norway, 2006 *
+ * *
+ * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * Please report bugs to perthi@fys.uio.no *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+#ifndef ALIHLTPHOSCONSTANT_H
+#define ALIHLTPHOSCONSTANT_H
+
+namespace PhosHLTConst
+{
+ const int MAXHOSTS = 20;
+ const int DEFAULTEVENTPORT = 42001;
+ const int MAXBINVALUE = 1023;
+ const int HIGHGAIN = 0;
+ const int LOWGAIN = 1;
+
+ const int ALTROMAXSAMPLES = 1008; /**<The maximum number of samples of the ALTRO*/
+ const int ALTROMAXPRESAMPLES = 15;
+ // const int ALTROMAXTRALERSIZE = 7;
+ // const int DDLBLOCKSIZE = 5;
+
+ const int NZROWSRCU = 56; /**<Number of rows per module*/
+ const int NXCOLUMNSRCU = 16;
+ const int NZROWSMOD = 56; /**<Number of rows per module*/
+ const int NXCOLUMNSMOD = 64; /**<Number of columns per module*/
+ const int NGAINS = 2; /**<Number of gains per ALTRO channel*/
+ const int NDATATYPES = 10;
+
+ const int PFMAXPATHLENGTH = 256;
+
+#ifndef __CINT__
+ const unsigned char PFVECTORDIR[] = "/HLT/PHOS/PFVectors";
+#endif
+
+ const int PFDEFAULTNSAMPLES = 70;
+ const int PFDEFAULTSTARTINDEX = 0;
+
+ const int DEFAULTTAU = 2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
+ const int DEFAULTFS = 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
+
+ const int MODULE0 = 0;
+ const int MODULE1 = 1;
+ const int MODULE2 = 2;
+ const int MODULE3 = 3;
+ const int MODULE4 = 4;
+
+ const int CSPSPERFEE = 32;
+ const int RCU0 = 0;
+ const int RCU1 = 1;
+ const int RCU2 = 2;
+ const int RCU3 = 3;
+
+ const int Z0 = 0;
+ const int Z1 = 1;
+ const int X0 = 0;
+ const int X1 = 1;
+
+ const int NMODULES = 5; /**<Number of modules of the PHOS detector*/
+ const int NRCUS = 4; /**<Number of RCUs per Module*/
+
+ // NRCUSPERMODULE
+ const int NRCUSPERMODULE = 4 ; /**<Number of RCUs per Module*/
+ const int NRCUSPERTOTAL = NMODULES*NRCUSPERMODULE; /**<Total number of RCUs for PHOS*/
+ const int NFEECS = 14; /**<Number of Frontend cards per branch*/
+ const int NALTROS = 4; /**<Number of ALTROs per frontend card*/
+ const int NALTROCHANNELS = 16;
+ const int NBRANCHES = 2;
+}
+
+
+#endif
+
+
--- /dev/null
+//-*- Mode: C++ -*-
+// $Id: AliHLTPHOSConstants.cxx $
+//**************************************************************************
+//* This file is property of and copyright by the ALICE HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* *
+//* Primary Authors: Svein Lindal <slindal@fys.uio.no> *
+//* for The ALICE HLT Project. *
+//* *
+//* Permission to use, copy, modify and distribute this software and its *
+//* documentation strictly for non-commercial purposes is hereby granted *
+//* without fee, provided that the above copyright notice appears in all *
+//* copies and that both the copyright notice and this permission notice *
+//* appear in the supporting documentation. The authors make no claims *
+//* about the suitability of this software for any purpose. It is *
+//* provided "as is" without express or implied warranty. *
+//**************************************************************************
+
+/// @file AliHLTPHOSConstants.cxx
+/// @author Svein Lindal
+/// @date 2009-11-12
+/// @brief Class containing constants for PHOS
+/// loaded libraries
+
+#include "AliHLTPHOSConstants.h"
+#include "AliHLTCaloConstants.h"
+
+ClassImp(AliHLTPHOSConstants);
+
+AliHLTPHOSConstants::AliHLTPHOSConstants() :
+ AliHLTCaloConstants(),
+ fkMAXHOSTS(20),
+ fkDEFAULTEVENTPORT(42001),
+ fkMAXBINVALUE(1023),
+ fkHIGHGAIN(0),
+ fkLOWGAIN(1),
+ fkALTROMAXSAMPLES(1008),
+ fkALTROMAXPRESAMPLES(15),
+ fkNZROWSRCU(56),
+ fkNXCOLUMNSRCU(16),
+ fkNZROWSMOD(56),
+ fkNXCOLUMNSMOD(64),
+ fkNGAINS(2),
+ fkNDATATYPES(10),
+ fkPFMAXPATHLENGTH(256),
+ fkPFDEFAULTNSAMPLES(70),
+ fkPFDEFAULTSTARTINDEX(0),
+ fkDEFAULTTAU(2.),
+ fkDEFAULTFS(10),
+ fkMODULE0(0),
+ fkMODULE1(1),
+ fkMODULE2(2),
+ fkMODULE3(3),
+ fkMODULE4(4),
+ fkCSPSPERFEE(32),
+ fkRCU0(0),
+ fkRCU1(1),
+ fkRCU2(2),
+ fkRCU3(3),
+ fkZ0(0),
+ fkZ1(1),
+ fkX0(0),
+ fkX1(1),
+ fkNMODULES(5),
+ fkNRCUS(4),
+ fkNRCUSPERMODULE(4),
+ fkNRCUSPERTOTAL(fkNMODULES*fkNRCUSPERMODULE),
+ fkNFEECS(14),
+ fkNALTROS(4),
+ fkNALTROCHANNELS(16),
+ fkNBRANCHES(2),
+ fkCELLSTEP(-99999.9),
+ fkNRCUSPERSECTOR(-9999)
+{
+ //Default constructor
+}
+
+AliHLTPHOSConstants::~AliHLTPHOSConstants()
+{
+ //Default destructor
+}
+
//-*- Mode: C++ -*-
// $Id$
-/**************************************************************************
- * This file is property of and copyright by the Experimental Nuclear *
- * Physics Group, Dep. of Physics *
- * University of Oslo, Norway, 2006 *
- * *
- * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
- * Contributors are mentioned in the code where appropriate. *
- * Please report bugs to perthi@fys.uio.no *
- * *
- * Permission to use, copy, modify and distribute this software and its *
- * documentation strictly for non-commercial purposes is hereby granted *
- * without fee, provided that the above copyright notice appears in all *
- * copies and that both the copyright notice and this permission notice *
- * appear in the supporting documentation. The authors make no claims *
- * about the suitability of this software for any purpose. It is *
- * provided "as is" without express or implied warranty. *
- **************************************************************************/
+//* This file is property of and copyright by the ALICE HLT Project *
+//* ALICE Experiment at CERN, All rights reserved. *
+//* See cxx source for full Copyright notice */
+
+/// @file AliHLTPHOSConstants.h
+/// @author Svein Lindal
+/// @date
+/// @brief Class containing constants for PHOS libraries.
#ifndef ALIHLTPHOSCONSTANTS_H
#define ALIHLTPHOSCONSTANTS_H
-namespace PhosHLTConst
-{
- const int MAXHOSTS = 20;
- const int DEFAULTEVENTPORT = 42001;
- const int MAXBINVALUE = 1023;
- const int HIGHGAIN = 0;
- const int LOWGAIN = 1;
-
- const int ALTROMAXSAMPLES = 1008; /**<The maximum number of samples of the ALTRO*/
- const int ALTROMAXPRESAMPLES = 15;
- // const int ALTROMAXTRALERSIZE = 7;
- // const int DDLBLOCKSIZE = 5;
-
- const int NZROWSRCU = 56; /**<Number of rows per module*/
- const int NXCOLUMNSRCU = 16;
- const int NZROWSMOD = 56; /**<Number of rows per module*/
- const int NXCOLUMNSMOD = 64; /**<Number of columns per module*/
- const int NGAINS = 2; /**<Number of gains per ALTRO channel*/
- const int NDATATYPES = 10;
-
- const int PFMAXPATHLENGTH = 256;
-
-#ifndef __CINT__
- const unsigned char PFVECTORDIR[] = "/HLT/PHOS/PFVectors";
-#endif
+#include "Rtypes.h"
+#include "AliHLTCaloConstants.h"
- const int PFDEFAULTNSAMPLES = 70;
- const int PFDEFAULTSTARTINDEX = 0;
-
- const int DEFAULTTAU = 2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
- const int DEFAULTFS = 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
+class AliHLTPHOSConstants : public AliHLTCaloConstants
+{
- const int MODULE0 = 0;
- const int MODULE1 = 1;
- const int MODULE2 = 2;
- const int MODULE3 = 3;
- const int MODULE4 = 4;
+public:
+
+ AliHLTPHOSConstants();
+ ~AliHLTPHOSConstants();
+
+ Int_t GetMAXHOSTS() const { return fkMAXHOSTS;}
+ Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; }
+ Int_t GetMAXBINVALUE() const { return fkMAXBINVALUE; }
+ Int_t GetHIGHGAIN() const { return fkHIGHGAIN;}
+ Int_t GetLOWGAIN() const { return fkLOWGAIN;}
+
+ Int_t GetALTROMAXSAMPLES() const {return fkALTROMAXSAMPLES;}
+ Int_t GetALTROMAXPRESAMPLES() const { return fkALTROMAXPRESAMPLES;}
+
+ Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}
+ Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;}
+ Int_t GetNZROWSMOD() const { return fkNZROWSMOD;}
+ Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;}
+ Int_t GetNGAINS() const { return fkNGAINS;}
+ Int_t GetNDATATYPES() const { return fkNDATATYPES;}
+
+ Int_t GetPFMAXPATHLENGTH() const { return fkPFMAXPATHLENGTH;}
+
+ Int_t GetPFDEFAULTNSAMPLES() const{ return fkPFDEFAULTNSAMPLES;}
+ Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX;}
+
+ Double_t GetDEFAULTTAU() const { return fkDEFAULTTAU;}
+ Int_t GetDEFAULTFS() const { return fkDEFAULTFS;}
+
+ Int_t GetMODULE0() const { return fkMODULE0;}
+ Int_t GetMODULE1() const { return fkMODULE1;}
+ Int_t GetMODULE2() const { return fkMODULE2;}
+ Int_t GetMODULE3() const { return fkMODULE3;}
+ Int_t GetMODULE4() const { return fkMODULE4;}
+
+ Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE;}
+ Int_t GetRCU0() const { return fkRCU0;}
+ Int_t GetRCU1() const { return fkRCU1;}
+ Int_t GetRCU2() const { return fkRCU2;}
+ Int_t GetRCU3() const { return fkRCU3;}
+
+ Int_t GetZ0() const { return fkZ0;}
+ Int_t GetZ1() const { return fkZ1;}
+ Int_t GetX0() const { return fkX0;}
+ Int_t GetX1() const { return fkX1;}
+
+ Int_t GetNMODULES() const { return fkNMODULES;}
+ Int_t GetNRCUS() const { return fkNRCUS;}
+
+ Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;}
+ Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;}
+ Int_t GetNFEECS() const { return fkNFEECS;}
+ Int_t GetNALTROS() const { return fkNALTROS;}
+ Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS;}
+ Int_t GetNBRANCHES() const { return fkNBRANCHES;}
+
+ Float_t GetCELLSTEP() const { return fkCELLSTEP; }
+ Int_t GetNRCUSPERSECTOR() const { return fkNRCUSPERSECTOR; }
+
+private:
+
+ /** Constant members */
+ const Int_t fkMAXHOSTS;
+ const Int_t fkDEFAULTEVENTPORT;
+ const Int_t fkMAXBINVALUE;
+ const Int_t fkHIGHGAIN;
+ const Int_t fkLOWGAIN;
+
+ const Int_t fkALTROMAXSAMPLES; /**<The maximum number of samples of the ALTRO*/
+ const Int_t fkALTROMAXPRESAMPLES;
+
+ const Int_t fkNZROWSRCU; /**<Number of rows per module*/
+ const Int_t fkNXCOLUMNSRCU;
+ const Int_t fkNZROWSMOD; /**<Number of rows per module*/
+ const Int_t fkNXCOLUMNSMOD; /**<Number of columns per module*/
+ const Int_t fkNGAINS; /**<Number of gains per ALTRO channel*/
+ const Int_t fkNDATATYPES;
+
+ const Int_t fkPFMAXPATHLENGTH;
+
+ const Int_t fkPFDEFAULTNSAMPLES;
+ const Int_t fkPFDEFAULTSTARTINDEX;
+
+ const Double_t fkDEFAULTTAU; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
+ const Int_t fkDEFAULTFS; /**<Assume that the signal is samples with 10 MHZ samle rate*/
+
+ const Int_t fkMODULE0;
+ const Int_t fkMODULE1;
+ const Int_t fkMODULE2;
+ const Int_t fkMODULE3;
+ const Int_t fkMODULE4;
+
+ const Int_t fkCSPSPERFEE;
+ const Int_t fkRCU0;
+ const Int_t fkRCU1;
+ const Int_t fkRCU2;
+ const Int_t fkRCU3;
+
+ const Int_t fkZ0;
+ const Int_t fkZ1;
+ const Int_t fkX0;
+ const Int_t fkX1;
+
+ const Int_t fkNMODULES; /**<Number of modules of the PHOS detector*/
+ const Int_t fkNRCUS; /**<Number of RCUs per Module*/
+
+ const Int_t fkNRCUSPERMODULE; /**<Number of RCUs per Module*/
+ const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for PHOS*/
+ const Int_t fkNFEECS; /**<Number of Frontend cards per branch*/
+ const Int_t fkNALTROS; /**<Number of ALTROs per frontend card*/
+ const Int_t fkNALTROCHANNELS;
+ const Int_t fkNBRANCHES;
- const int CSPSPERFEE = 32;
- const int RCU0 = 0;
- const int RCU1 = 1;
- const int RCU2 = 2;
- const int RCU3 = 3;
+ const Float_t fkCELLSTEP;
+ const Int_t fkNRCUSPERSECTOR;
- const int Z0 = 0;
- const int Z1 = 1;
- const int X0 = 0;
- const int X1 = 1;
- const int NMODULES = 5; /**<Number of modules of the PHOS detector*/
- const int NRCUS = 4; /**<Number of RCUs per Module*/
-
- // NRCUSPERMODULE
- const int NRCUSPERMODULE = 4 ; /**<Number of RCUs per Module*/
- const int NRCUSPERTOTAL = NMODULES*NRCUSPERMODULE; /**<Total number of RCUs for PHOS*/
- const int NFEECS = 14; /**<Number of Frontend cards per branch*/
- const int NALTROS = 4; /**<Number of ALTROs per frontend card*/
- const int NALTROCHANNELS = 16;
- const int NBRANCHES = 2;
-}
+ ClassDef(AliHLTPHOSConstants, 1);
+};
#endif
-
-
#include "Rtypes.h"
#include "AliHLTPHOSDigitDataStruct.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "AliHLTPHOSDigitMaker.h"
#include "AliHLTLogging.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
#include "AliHLTPHOSMapper.h"
#include "AliHLTPHOSChannelDataStruct.h"
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
//#include "AliHLTPHOSBase.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
#include "AliHLTPHOSDigitDataStruct.h"
#include "AliHLTPHOSChannelDataStruct.h"
#include "AliHLTDataTypes.h"
#include "TNamed.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "Rtypes.h"
#include "TVirtualFFT.h"
#include "TMath.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
#include <iostream>
#include "AliHLTPHOSRcuFFTDataStruct.h"
//#include "AliHLTPHOSBase.h"
#include "Rtypes.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
class TObjArray;
class TH1F;
//#include "AliHLTPHOSBase.h"
#include "Rtypes.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
class TObjArray;
class TH1F;
#include "Rtypes.h"
// #include "TClonesArray.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "AliPHOSEMCAGeometry.h"
#include "AliHLTPHOSMapper.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
#include "AliHLTLogging.h"
#include "Rtypes.h"
#include "unistd.h"
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
#include "Rtypes.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "Rtypes.h"
#include "TClonesArray.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
//#include "AliHLTPHOSBase.h"
#include "AliHLTPHOSDefinitions.h"
#include "AliHLTDataTypes.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "AliCaloRawStreamV3.h"
#include "AliRawReaderMemory.h"
+#include "AliHLTPHOSConstant.h"
#include "AliHLTPHOSUtilities.h"
+
+using namespace PhosHLTConst;
+
AliHLTPHOSRawAnalyzerComponentv3::AliHLTPHOSRawAnalyzerComponentv3():
AliHLTPHOSRcuProcessor(),
fAnalyzerPtr(0),
#include "AliHLTPHOSRawAnalyzerPeakFinder.h"
//#include <cstdlib>
//#include "AliHLTPHOSCommonDefs.h"
+#include "AliHLTPHOSConstant.h"
+using namespace PhosHLTConst;
AliHLTPHOSRawAnalyzerPeakFinderComponent gAliHLTPHOSRawAnalyzerPeakFinderComponent;
//-*- Mode: C++ -*-
-// $Id$
+// $Id: AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h 31490 2009-03-15 16:27:11Z odjuvsla $
#ifndef ALIHLTPHOSRCUCELLACCUMULATEDENERGYDATASTRUCT_H
#define ALIHLTPHOSRCUCELLACCUMULATEDENERGYDATASTRUCT_H
//#include "AliHLTPHOSCommonDefs.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "AliHLTPHOSSharedMemoryInterfacev2.h"
#include "AliHLTPHOSRcuDAComponent.h"
#include "AliHLTPHOSDefinitions.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
//#include "AliHLTPHOSRcuCellEnergyDataStruct.h"
#include "TObjArray.h"
#include "AliHLTPHOSUtilities.h"
AliHLTPHOSRcuDAComponent gAliHLTPHOSRcuDAComponent;
-AliHLTPHOSRcuDAComponent::AliHLTPHOSRcuDAComponent() : //AliHLTPHOSRcuProperties(),
- AliHLTCalibrationProcessor(),
- fPhosEventCount(0),
- fPHOSDAPtr(0),
- fShmPtr(0)
- // fTest(-2)
+AliHLTPHOSRcuDAComponent::AliHLTPHOSRcuDAComponent() :
+ //AliHLTPHOSRcuProperties(),
+ AliHLTCalibrationProcessor(),
+ fPhosEventCount(0),
+ fPHOSDAPtr(0),
+ fShmPtr(0)
+ // fTest(-2)
{
fShmPtr = new AliHLTPHOSSharedMemoryInterfacev2();
}
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
#include "AliHLTCalibrationProcessor.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
//#include "AliHLTPHOSRcuProperties.h"
using namespace PhosHLTConst;
//class AliHLTPHOSRcuDAComponent: public AliHLTCalibrationProcessor, public AliHLTPHOSRcuProcessor
//class AliHLTPHOSRcuDAComponent: public AliHLTPHOSRcuProperties, public AliHLTCalibrationProcessor
-class AliHLTPHOSRcuDAComponent: public AliHLTCalibrationProcessor
+class AliHLTPHOSRcuDAComponent: public AliHLTCalibrationProcessor
{
public:
/** constructor */
#include "Rtypes.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
using namespace PhosHLTConst;
#include "AliHLTPHOSChannelDataStruct.h"
#include "AliHLTLogging.h"
#include "AliHLTPHOSMapper.h"
-#include "AliHLTPHOSConstants.h"
+#include "AliHLTPHOSConstant.h"
AliHLTPHOSSharedMemoryInterfacev2::AliHLTPHOSSharedMemoryInterfacev2():
AliHLTCaloSanityInspector.h \
AliHLTCaloSharedMemoryInterfacev2.h \
AliHLTCaloFourier.h \
-AliHLTCaloConstants.h \
+AliHLTCaloConstantsHandler.h \
AliHLTCaloClusterizer.h \
AliHLTCaloDigitMaker.h \
AliHLTCaloClusterAnalyser.h \
AliHLTCaloRcuProcessor.h \
+AliHLTCaloConstants.h \
AliHLTCaloProcessor.h
## all source files of this module
AliHLTEMCALRawAnalyzerComponent.h \
AliHLTEMCALMapper.h \
AliHLTEMCALRawAnalyzerCrudeComponent.h \
- AliHLTEMCALSharedMemoryInterface.h
-
+ AliHLTEMCALSharedMemoryInterface.h \
+ AliHLTEMCALConstants.h
# library sources
MODULE_SRCS= \
$(CLASS_HDRS:.h=.cxx)
# the CLASS_HDRS variable. So we just use the content of this. You
# can simply add more header files which don't contain classes with
# ROOT dictionary support
-MODULE_HDRS:= $(CLASS_HDRS)
+MODULE_HDRS:= $(CLASS_HDRS) \
+ AliHLTEMCALConstant.h
+
# The LinkDef file required by the ROOT dictionary generation can be
# generated automatically. For the all header files specified in
AliHLTPHOSESDEntriesMakerComponent.h \
AliHLTPHOSESDCaloClusterWriterComponent.h \
AliHLTPHOSFourier.h \
- AliHLTPHOSDigitReader.h
+ AliHLTPHOSDigitReader.h \
+ AliHLTPHOSConstants.h
MODULE_SRCS:= $(CLASS_HDRS:.h=.cxx)
MODULE_HDRS:= $(CLASS_HDRS) \
AliHLTPHOSCommonDefs.h \
- AliHLTPHOSConstants.h \
+ AliHLTPHOSConstant.h \
AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \
AliHLTPHOSRecPointDataStruct.h \
AliHLTPHOSRecPointContainerStruct.h \
##Left empty for auto generation:
MODULE_DHDR:=
-EINCLUDE := HLT/BASE HLT/BASE/util HLT/PHOS STEER RAW PHOS
+EINCLUDE := HLT/BASE HLT/BASE/util HLT/CALO HLT/PHOS STEER RAW PHOS
LIBRARY_DEP := -lHLTbase -lPHOSbase -lPHOSshuttle -lESD \
- -lSTEER -lRAWDatarec
+ -lSTEER -lRAWDatarec
###############################################################################
#