Mega commit of many changes to PWGLFforward
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Jun 2013 11:02:20 +0000 (11:02 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Jun 2013 11:02:20 +0000 (11:02 +0000)
commit8449e3e00ed52d45366d04d98f4295b58f2cf4d0
treee6fa9826b1306d989cd645d0c91dc344f02918b1
parent91c9983910c9335e13b28d0d5a1847dcecacb155
Mega commit of many changes to PWGLFforward
===========================================

This should probably all be ported to the release

- PWGLF/CMakelibPWGLFforward2.pkg
  PWGLF/PWGLFforward2LinkDef.h
   Addition of some new classes and scripts

- PWGLF/FORWARD/analysis2/scripts/SummaryAODDrawer.C
  PWGLF/FORWARD/analysis2/scripts/SummaryDrawer.C
  PWGLF/FORWARD/analysis2/DrawAODSummary.C
Various fixes for drawing and increased functionality of
base class to draw other things

- PWGLF/FORWARD/analysis2/trains/MakeAODTrain.C
  PWGLF/FORWARD/analysis2/trains/MakeFMDELossTrain.C
  PWGLF/FORWARD/analysis2/trains/MakeMCCorrTrain.C
  PWGLF/FORWARD/analysis2/corrs/CorrDrawer.C
  PWGLF/FORWARD/analysis2/corrs/CorrExtractor.C
  PWGLF/FORWARD/analysis2/corrs/DrawCorrAcc.C
  PWGLF/FORWARD/analysis2/corrs/DrawCorrELoss.C
  PWGLF/FORWARD/analysis2/corrs/DrawCorrSecMap.C
  PWGLF/FORWARD/analysis2/corrs/ExtractAcceptance.C
  PWGLF/FORWARD/analysis2/corrs/ExtractELoss.C
  PWGLF/FORWARD/analysis2/corrs/ExtractMCCorr.C
  PWGLF/FORWARD/analysis2/CentralAODConfig.C
  PWGLF/FORWARD/analysis2/ForwardAODConfig.C
  PWGLF/FORWARD/analysis2/AliFMDCorrector.cxx
  PWGLF/FORWARD/analysis2/AliFMDMCCorrector.cxx
Updates to use new OADB structure and updated corrections
   manager (see more below)

- PWGLF/FORWARD/analysis2/corrs/ForwardOADBGui.C
  PWGLF/FORWARD/analysis2/corrs/MigrateOADB.C
  PWGLF/FORWARD/analysis2/AliOADBForward.h
  PWGLF/FORWARD/analysis2/AliOADBForward.cxx
Migration of PWGLF/PWGLF/FORWARD/corrections to
        OADB/PWGLF/FORWARD/CORRECTIONS.  Corrections are now stored in
   a TTree (one tree per correction) and indexed using the run
   number, collision system, center of mass energy, L3 field, and
   simulation and satellite flag.  The class AliOADBForward
   provides an interface to that structure for both reading and
writing.

- PWGLF/FORWARD/analysis2/AliCorrectionManagerBase.h
  PWGLF/FORWARD/analysis2/AliCorrectionManagerBase.cxx
  PWGLF/FORWARD/analysis2/AliCentralCorrectionManager.cxx
  PWGLF/FORWARD/analysis2/AliCentralCorrectionManager.h
  PWGLF/FORWARD/analysis2/AliForwardCorrectionManager.h
  PWGLF/FORWARD/analysis2/AliForwardCorrectionManager.cxx
   New base class for correction managers.  Uses the new OADB
   structure. The central corrections are new handled by separate
   singleton rather than embedded class, to make the code more
   stream-lined.  Correction managers register possible
   corrections using services of the base class, and then reads
   in the requested corrections based on the run number,
   collision system, center of mass energy, L3 field, and
   simulation and satellite flags. Each registered correction
   decides how to be addressed, and the base class ensures this
   addressing

- PWGLF/FORWARD/analysis2/AddTaskCentralMult.C
  PWGLF/FORWARD/analysis2/AddTaskForwardMult.C
Fixes for new OADB structure and correction managers.  Note,
we should hardly ever force a correction set now, since we can
load based on the run number.  Still useful for tests, so
won't remove it just yet

- PWGLF/FORWARD/analysis2/tests/RingBits.C
  PWGLF/FORWARD/analysis2/tests/TestFCM.C
Some new tests

- PWGLF/FORWARD/analysis2/AliCentralMultiplicityTask.h
  PWGLF/FORWARD/analysis2/AliCentralMultiplicityTask.cxx
  PWGLF/FORWARD/analysis2/AliCentralMCMultiplicityTask.h
  PWGLF/FORWARD/analysis2/AliCentralMCMultiplicityTask.cxx
Use new singleton correction manager.  Add flag to turn on
   additional diagnostics.

- PWGLF/FORWARD/analysis2/AliForwardMultiplicityBase.h
  PWGLF/FORWARD/analysis2/AliForwardMultiplicityBase.cxx
  PWGLF/FORWARD/analysis2/AliForwardMultiplicityTask.h
  PWGLF/FORWARD/analysis2/AliForwardMultiplicityTask.cxx
  PWGLF/FORWARD/analysis2/AliForwardMCMultiplicityTask.h
  PWGLF/FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx
Moved a lot of functionality into base class.  Cleaned up
   additional diagnostics introduced by Marek - duplicate and
   broke structure of the code.  When loading the energy loss
   fits, make sure we cache where to find the good fits.  Added
   option to store one histogram per ring per event on the output
   AOD tree.

- PWGLF/FORWARD/analysis2/AliBasedNdetaTask.cxx
Code clean-up, and remove some stuff introduced by Marek which
breaks the code

- PWGLF/FORWARD/analysis2/gridAnalysis.sh
   General fixes and fixes for new OADB correction storage.

- PWGLF/FORWARD/analysis2/AliForwardMCCorrectionsTask.cxx
  PWGLF/FORWARD/analysis2/AliCentralMCCorrectionsTask.h
  PWGLF/FORWARD/analysis2/AliPoissonCalculator.cxx
   Some clean-up

- PWGLF/FORWARD/analysis2/AliFMDMultCuts.cxx
   Minor fixes

- PWGLF/FORWARD/analysis2/AliAODForwardMult.h
  PWGLF/FORWARD/analysis2/AliAODForwardMult.cxx
   Add satellite information

- PWGLF/FORWARD/analysis2/AliForwardUtil.h
  PWGLF/FORWARD/analysis2/AliForwardUtil.cxx
   Set more realistic upper limits on sigma in Delta fits -
crucial, or too many fits will fail.  Added member function to
re-initialize bins of a histogram.

- PWGLF/FORWARD/analysis2/AliForwardQATask.h
  PWGLF/FORWARD/analysis2/AliForwardQATask.cxx
   Fix for satellite usage.  Cache valid bins from Delta fits.

- PWGLF/FORWARD/analysis2/AliFMDEnergyFitter.cxx
  PWGLF/FORWARD/analysis2/AliFMDEnergyFitterTask.h
  PWGLF/FORWARD/analysis2/AliFMDEnergyFitterTask.cxx
Task does not load correction manager (not needed).  Better
   peak finding.

- PWGLF/FORWARD/analysis2/AliDisplacedVertexSelection.h
  PWGLF/FORWARD/analysis2/AliDisplacedVertexSelection.cxx
Added some diagnostics

- PWGLF/FORWARD/analysis2/AliFMDCorrAcceptance.h
  PWGLF/FORWARD/analysis2/AliFMDCorrAcceptance.cxx
Code to draw correction.  Disabled.  moved to CorrDrawer.C

- PWGLF/FORWARD/analysis2/AliFMDCorrELossFit.h
  PWGLF/FORWARD/analysis2/AliFMDCorrELossFit.cxx
Updates to drawing code.  Also added caching of good bins.

- PWGLF/FORWARD/analysis2/AliFMDEventInspector.h
  PWGLF/FORWARD/analysis2/AliFMDEventInspector.cxx
  PWGLF/FORWARD/analysis2/AliFMDMCEventInspector.h
  PWGLF/FORWARD/analysis2/AliFMDMCEventInspector.cxx
Fixed coding conventions. Added cache of run number.  Added
   additional diagnostics histograms.  Satellite analysis is not
diagonal to normal - will flag output as satellite instead.

- PWGLF/FORWARD/analysis2/AliFMDSharingFilter.h
  PWGLF/FORWARD/analysis2/AliFMDSharingFilter.cxx
  PWGLF/FORWARD/analysis2/AliFMDMCSharingFilter.h
  PWGLF/FORWARD/analysis2/AliFMDMCSharingFilter.cxx
Removed non-simple merging method (not used).  Removed useless
        diagnostics histograms.  Added option to consider kInvalidMult
        signals as zero (0) signals.  This is needed for data
    reconstructed with AliROOT prior to v4-19-Rev-09.  Before that
revision, zero-signal strips are flagged as kInvalidMult.
    This was introduced by someone who (wrongly) tried to optimize
storage.  See also comments in ForwardAODConfig.C.  Expanded
ELoss histograms to record number of kInvalidMult.

- PWGLF/FORWARD/analysis2/AliFMDDensityCalculator.cxx
  PWGLF/FORWARD/analysis2/AliFMDDensityCalculator.h
   Added flag for minimum quality of fits (should be no less then
8). Removed some useless diagnostics histograms.

- PWGLF/FORWARD/analysis2/AliFMDHistCollector.h
  PWGLF/FORWARD/analysis2/AliFMDHistCollector.cxx
   Introduced new embedded class for vertex bin information.
Added option to create summed per-vertex, per-ring histograms
of dN/deta.  Note, this can be misused to create a 1-step
analysis of the forward data and should be avoided.  Also add
possibility to create a set of 3D histograms of summed
per-centrality, per-ring histograms.  This, again should be
avoided.

- PWGLF/FORWARD/trains/ParUtilities.C
  PWGLF/FORWARD/trains/TestAuxPAR.C
Add possibility to build PAR of auxiliary files

- PWGLF/FORWARD/trains/Helper.C
Do not always rebuild

- PWGLF/FORWARD/trains/ProofHelper.C
Implement some missing -Weffc++ functions.  Add possibility to
build PAR of auxiliary files

- PWGLF/FORWARD/trains/GridHelper.C
  PWGLF/FORWARD/trains/GridTerminate.C
Allow more flexible spec of TTL
(<days>d<hours>h<minutes>m<seconds>s), and AcLic the Terminate
macro.  Also make it possible to do the final merge and
   terminate on the client (local) machine.

- PWGLF/FORWARD/trains/GridWatch.C
   Refresh token every 6th hour, and fix up batch mode

- PWGLF/FORWARD/trains/AvailableSoftware.C
Allow extra flags for automatic selection to only take
releases, analysis tags, or any of the two.

- PWGLF/FORWARD/trains/TrainSetup.C
Documentation comments and do not always rebuild

- OADB/PWGLF/FORWARD/CORRECTIONS/data/fmd_corrections.root
  OADB/PWGLF/FORWARD/CORRECTIONS/data/spd_corrections.root
Added databases used by PWGLF/FORWARD analysis.
92 files changed:
OADB/PWGLF/FORWARD/CORRECTIONS/data/fmd_corrections.root [new file with mode: 0644]
OADB/PWGLF/FORWARD/CORRECTIONS/data/spd_corrections.root [new file with mode: 0644]
PWGLF/CMakelibPWGLFforward2.pkg
PWGLF/FORWARD/analysis2/AddTaskCentralMult.C
PWGLF/FORWARD/analysis2/AddTaskForwardMult.C
PWGLF/FORWARD/analysis2/AliAODForwardMult.cxx
PWGLF/FORWARD/analysis2/AliAODForwardMult.h
PWGLF/FORWARD/analysis2/AliBasedNdetaTask.cxx
PWGLF/FORWARD/analysis2/AliCentralCorrectionManager.cxx [new file with mode: 0644]
PWGLF/FORWARD/analysis2/AliCentralCorrectionManager.h [new file with mode: 0644]
PWGLF/FORWARD/analysis2/AliCentralMCCorrectionsTask.h
PWGLF/FORWARD/analysis2/AliCentralMCMultiplicityTask.cxx
PWGLF/FORWARD/analysis2/AliCentralMCMultiplicityTask.h
PWGLF/FORWARD/analysis2/AliCentralMultiplicityTask.cxx
PWGLF/FORWARD/analysis2/AliCentralMultiplicityTask.h
PWGLF/FORWARD/analysis2/AliCorrectionManagerBase.cxx [new file with mode: 0644]
PWGLF/FORWARD/analysis2/AliCorrectionManagerBase.h [new file with mode: 0644]
PWGLF/FORWARD/analysis2/AliDisplacedVertexSelection.cxx
PWGLF/FORWARD/analysis2/AliDisplacedVertexSelection.h
PWGLF/FORWARD/analysis2/AliFMDCorrAcceptance.cxx
PWGLF/FORWARD/analysis2/AliFMDCorrAcceptance.h
PWGLF/FORWARD/analysis2/AliFMDCorrELossFit.cxx
PWGLF/FORWARD/analysis2/AliFMDCorrELossFit.h
PWGLF/FORWARD/analysis2/AliFMDCorrector.cxx
PWGLF/FORWARD/analysis2/AliFMDDensityCalculator.cxx
PWGLF/FORWARD/analysis2/AliFMDDensityCalculator.h
PWGLF/FORWARD/analysis2/AliFMDEnergyFitter.cxx
PWGLF/FORWARD/analysis2/AliFMDEnergyFitterTask.cxx
PWGLF/FORWARD/analysis2/AliFMDEnergyFitterTask.h
PWGLF/FORWARD/analysis2/AliFMDEventInspector.cxx
PWGLF/FORWARD/analysis2/AliFMDEventInspector.h
PWGLF/FORWARD/analysis2/AliFMDHistCollector.cxx
PWGLF/FORWARD/analysis2/AliFMDHistCollector.h
PWGLF/FORWARD/analysis2/AliFMDMCCorrector.cxx
PWGLF/FORWARD/analysis2/AliFMDMCEventInspector.cxx
PWGLF/FORWARD/analysis2/AliFMDMCEventInspector.h
PWGLF/FORWARD/analysis2/AliFMDMCSharingFilter.cxx
PWGLF/FORWARD/analysis2/AliFMDMCSharingFilter.h
PWGLF/FORWARD/analysis2/AliFMDMultCuts.cxx
PWGLF/FORWARD/analysis2/AliFMDSharingFilter.cxx
PWGLF/FORWARD/analysis2/AliFMDSharingFilter.h
PWGLF/FORWARD/analysis2/AliForwardCorrectionManager.cxx
PWGLF/FORWARD/analysis2/AliForwardCorrectionManager.h
PWGLF/FORWARD/analysis2/AliForwardMCCorrectionsTask.cxx
PWGLF/FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx
PWGLF/FORWARD/analysis2/AliForwardMCMultiplicityTask.h
PWGLF/FORWARD/analysis2/AliForwardMultiplicityBase.cxx
PWGLF/FORWARD/analysis2/AliForwardMultiplicityBase.h
PWGLF/FORWARD/analysis2/AliForwardMultiplicityTask.cxx
PWGLF/FORWARD/analysis2/AliForwardMultiplicityTask.h
PWGLF/FORWARD/analysis2/AliForwardQATask.cxx
PWGLF/FORWARD/analysis2/AliForwardQATask.h
PWGLF/FORWARD/analysis2/AliForwardUtil.cxx
PWGLF/FORWARD/analysis2/AliForwardUtil.h
PWGLF/FORWARD/analysis2/AliOADBForward.cxx [new file with mode: 0644]
PWGLF/FORWARD/analysis2/AliOADBForward.h [new file with mode: 0644]
PWGLF/FORWARD/analysis2/AliPoissonCalculator.cxx
PWGLF/FORWARD/analysis2/CentralAODConfig.C
PWGLF/FORWARD/analysis2/DrawAODSummary.C
PWGLF/FORWARD/analysis2/ForwardAODConfig.C
PWGLF/FORWARD/analysis2/corrs/CorrDrawer.C [new file with mode: 0644]
PWGLF/FORWARD/analysis2/corrs/CorrExtractor.C [new file with mode: 0644]
PWGLF/FORWARD/analysis2/corrs/DrawCorrAcc.C
PWGLF/FORWARD/analysis2/corrs/DrawCorrELoss.C
PWGLF/FORWARD/analysis2/corrs/DrawCorrSecMap.C
PWGLF/FORWARD/analysis2/corrs/ExtractAcceptance.C
PWGLF/FORWARD/analysis2/corrs/ExtractELoss.C
PWGLF/FORWARD/analysis2/corrs/ExtractMCCorr.C
PWGLF/FORWARD/analysis2/corrs/ForwardOADBGui.C [new file with mode: 0644]
PWGLF/FORWARD/analysis2/corrs/MigrateOADB.C [new file with mode: 0644]
PWGLF/FORWARD/analysis2/gridAnalysis.sh
PWGLF/FORWARD/analysis2/keeps/AliForwardCorrectionManager.cxx [new file with mode: 0644]
PWGLF/FORWARD/analysis2/keeps/AliForwardCorrectionManager.h [new file with mode: 0644]
PWGLF/FORWARD/analysis2/keeps/AliForwardCorrectionManagerOADB.cxx [new file with mode: 0644]
PWGLF/FORWARD/analysis2/keeps/AliForwardCorrectionManagerOADB.h [new file with mode: 0644]
PWGLF/FORWARD/analysis2/scripts/SummaryAODDrawer.C
PWGLF/FORWARD/analysis2/scripts/SummaryDrawer.C
PWGLF/FORWARD/analysis2/tests/RingBits.C [new file with mode: 0644]
PWGLF/FORWARD/analysis2/tests/TestFCM.C [new file with mode: 0644]
PWGLF/FORWARD/analysis2/trains/MakeAODTrain.C
PWGLF/FORWARD/analysis2/trains/MakeFMDELossTrain.C
PWGLF/FORWARD/analysis2/trains/MakeMCCorrTrain.C
PWGLF/FORWARD/trains/AvailableSoftware.C
PWGLF/FORWARD/trains/GridHelper.C
PWGLF/FORWARD/trains/GridTerminate.C
PWGLF/FORWARD/trains/GridWatch.C
PWGLF/FORWARD/trains/Helper.C
PWGLF/FORWARD/trains/ParUtilities.C
PWGLF/FORWARD/trains/ProofHelper.C
PWGLF/FORWARD/trains/TestAuxPAR.C [new file with mode: 0644]
PWGLF/FORWARD/trains/TrainSetup.C
PWGLF/PWGLFforward2LinkDef.h