marian [Thu, 3 May 2007 14:17:58 +0000 (14:17 +0000)]
AliTPCSensorTemp: sensor positions updated according to ALICE-EN-2005-001
AliTPCSensorTempArray: GetSensor method to access sensor by
"TPC coordinates" (i.e. type, side, sector, number)
Interface versions of other GetSensor methods to avoid that these methods
from AliDCSSensorArray get hidden by the overloaded method.
AliTPCcalibDB: updated to include pressure.
Dummy copy constructor and operator= to avoid warnings
agheata [Thu, 3 May 2007 11:52:02 +0000 (11:52 +0000)]
This method has to be called INSIDE the user redefined CreateOutputObjects
method, before creating each object corresponding to the output containers
that are to be written to a file. This need to be done in general for the big output
objects that may not fit memory during processing.
- 'option' is the file opening option.
========================================================================
NOTE !: The method call will be ignored in PROOF mode, in which case the
results have to be streamed back to the client and written just before Terminate()
========================================================================
Example:
void MyAnaTask::CreateOutputObjects() {
OpenFile(0); // Will open the file for the object to be written at output #0
fAOD = new TTree("AOD for D0toKPi");
OpenFile(1);
// now some histos that should go in the file of the second output container
fHist1 = new TH1F("my quality check hist1",...);
fHist2 = new TH2F("my quality check hist2",...);
}
arcelli [Wed, 2 May 2007 16:30:37 +0000 (16:30 +0000)]
Add methods to handle single event reconstruction, and retrieve Calib info in the constructor (only once). HasLocalreconstruction is set to true as a default
ivana [Wed, 2 May 2007 14:19:19 +0000 (14:19 +0000)]
- Updated for separation of simulation and reconstruction classes
(namely AliMUONData class)
- Now generating two files galice files: galice_sim.root, galice.root
ivana [Wed, 2 May 2007 14:15:43 +0000 (14:15 +0000)]
- Updated for separation of simulation and reconstruction classes
(namely AliMUONData class)
- Function DrawHits(); disabled (to remove depndence in code from
simulation) - shoud be moved in some class in sim
ivana [Wed, 2 May 2007 14:12:46 +0000 (14:12 +0000)]
- Moving class from base to sim
- Updated for separation of simulation and reconstruction classes
(namely AliMUONData class)
- Removing obsolete functions operating on raw clusters
agheata [Wed, 2 May 2007 12:13:59 +0000 (12:13 +0000)]
The method LocalInit() may be implemented to call locally (on the client)
all initialization methods of the class. It is not mandatory and was created
in order to minimize the complexity and readability of the analysis macro.
DO NOT create in this method the histigrams or task output objects that will
go in the task output containers. Use CreateOutputObjects() method for that.
agheata [Wed, 2 May 2007 08:26:22 +0000 (08:26 +0000)]
- New class AliAnalysisDataWrapper used for streaming output results from PROOF to
local client. The class is just a data wrapper that implements Merge() method.
Wrappers have the same name as the data containers exporting the data, which is then
imported by the corresponding container on the client. Used only on PROOF mode
does not provide any user API (framework utility). This fixes current streaming
in PROOF mode.
- All input tree branches are disabled. Analysis tasks should connect to needed
branches inside MyTask::ConnectInputData() by testing first if the branch address
is already taken, then calling SetBranchAddress():
char ** address = (char **)GetBranchAddress(0, "ESD");
if (address)
{
fESD = (AliESD*)(*address);
}
else
{
fESD = new AliESD();
SetBranchAddress(0, "ESD", &fESD); // first task taking the branch enables it
}
- virtual AliAnalysisTask::Notify() implemented. This method should be implemented
by the derived user task only if current chain file changes need to be treated.
Used currently by AliAnalysisTaskRL class to handle correclty AliRunLoader pointer.
- Methods: MyTask::CreateOutputObjects() and MyTask::Terminate() now called also
for non-event loop tasks (e.g. fitting).