+// $Id$
//**************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
AliHLTOUTHandlerDesc& desc) const
{
// see header file for class documentation
-
+
+ // FIXME: there is memory allocated in the mapper, this happens for every event
+ // and is time consuming, think about initializing the mappers only once, or make
+ // the mapper class more flexible to handle more than one specification
AliHLTEMCALMapper mapper(spec);
- mapper.InitDDLSpecificationMapping();
// raw data blocks to be fed into offline reconstruction
if (dt==(kAliHLTDataTypeDDLRaw|kAliHLTDataOriginEMCAL))
+// $Id$
+
/**************************************************************************
* This file is property of and copyright by the Experimental Nuclear *
* Physics Group, Dep. of Physics *
void
AliHLTEMCALMapper::InitDDLSpecificationMapping()
{
+ if (fSpecificationMapPtr) delete [] fSpecificationMapPtr;
fSpecificationMapPtr = new fDDLSpecificationMap[NMODULES*NRCUSPERMODULE];
for(Int_t ddl = 0; ddl < NMODULES*NRCUSPERMODULE; ddl++)