tbreitne [Wed, 28 May 2014 07:25:53 +0000 (09:25 +0200)]
consolidate zero-length arrays (aka struct hack)
HLT uses a lot of structs with zero-length arrays, using #ifdef for
platforms not supporting those (setting array_t array[1] instead of
array[0]). These ifdef were inconsistent. Sometimes also array[] instead
of array[0] was used. Moreover, for some structs clang was excluded
(defined(__clang__)), which lead to inconsistencies when calculating sizes
with sizeof() and ultimately runtime errors (output buffer too small in
TPC cluster transformation component). This patch tries to make all
zero-length array structs consistent and removes exceptions for clang.
Whether or not the __SUNPRO et al. defines are still needed is unclear,
maybe they can be removed in the future.
mivanov [Mon, 26 May 2014 10:02:02 +0000 (12:02 +0200)]
ATO-37 - STEER/CDB/AliOCDBtoolkit.cx - catch exception in case not valid OCDB entries for OCDB dump
PWGPP/CalibMacros/AliOCDBtoolkit.sh enable core dumps by default
mivanov [Mon, 26 May 2014 06:18:53 +0000 (08:18 +0200)]
PWGPP-55, ATO-36, ATO-35 Process ITS standalone tracks find match with chi2 closest TPC(or combined tracks) tracks
Adding print in AliLog in case of enabled core dumps
mivanov [Sun, 18 May 2014 20:23:47 +0000 (22:23 +0200)]
ATO-17 ATO-34 Modification of code before implementing of Ion tail and Crosstalk
Adding pseudo code to implement
Change of the nmae of local variale, making code more readable.
sec,row ->sector,padRow
nrows,ncols ->nTimeBins,nPads
rows,col ->iTimeBin,iPad
mivanov [Wed, 14 May 2014 20:54:37 +0000 (22:54 +0200)]
ATO-15 STEER/CDB/AliOCDBtoolkit.{h,cxx} - implementing LoadOCDB functions + reordering functions
STEER/CDB/AliCDBManager.{h.cxx} AliCDBManager::DumpToSnapshotFile -
a.) always dump also simple list
b.) Do not exit after MakeSnapshot
c.) Optionaly catch mising entry exception in the AliCDBManage::Get
mivanov [Sat, 10 May 2014 21:12:02 +0000 (23:12 +0200)]
PWGPP-4 Functionality to make a program snapshot -core file
// gcore - Generate a core file for a running process
// gcore dmake a current snapshot, program can continue further
// We assum that gcore is installed
// for details see: man gcore
// Example use - make default core file for current process: AliLog::MakeCoreDump(0)
// Automatic core dump creation in case of the AliFatal can be specified using
// static void EnableCoreDump(Bool_t enabled);
// Core dump is created in addition to the stack trace ()
// marian.ivanov@cern.ch
STEER/STEERBase/AliLog.cxx STEER/STEERBase/AliLog.h - functionality to make a core file
shahoian [Sat, 3 May 2014 15:52:16 +0000 (17:52 +0200)]
Fixes from Marian:
AliTRDseedV1.cxx - adding correction for pad crossing 0 with effective factor for incoplete model
AliTRDtrackerV1.cxx - adding chi2 to the streamer
AliTRDrecoParam.h AliTRDrecoParam.cxx AliTRDtrackerV1.cxx - parameterised chi2 cut /tracklet to track
AliTRDseedV1.cxx - increase error estimate for crossing tracklets -taking incount unisochronity, and crosscorelation of errors
mkrzewic [Sun, 25 May 2014 16:08:08 +0000 (18:08 +0200)]
this contains the fixes by Dario to workaround some of the quirks of EOS
and condor:
- never make any file directly on eos, always work in tmp, then copy
- condor does not work well with absolute paths of dependency files -
just create them in the local working dir for makeflow, make an
additional copy to the meta/ dir on the output storage
propagate those changes to running on SGE: done
switch the output structure to the: year/period/run/pass/ structure as
it is required for the QA script.