kkanaki [Wed, 9 Mar 2011 16:20:35 +0000 (16:20 +0000)]
- added the option to select which THnSparse object have to be filled, in order to optimize the output size
- updated argument list and documentation
- removed option to run all QA tasks
loizides [Wed, 9 Mar 2011 14:47:07 +0000 (14:47 +0000)]
Introduced "void AliEMCALClusterizer::SetJustClusters(Bool_t val)" which one needs to set to true when running on ESD and when recalibrating the cells to prevent the AliEMCALRecPoint::EvalAll from doing the track matching.
Also in Calibrate check if fCaloPed is an actual pointer before trying to apply the dead/hot channel maps.
agheata [Tue, 8 Mar 2011 15:30:54 +0000 (15:30 +0000)]
Protected retrieval of statistics histograms from EventStat_temp.root when AOD is processed from archive. Statistics histos are now provided only if calling AliAODInputHandler::SetCheckStatistics(kTRUE)
morsch [Tue, 8 Mar 2011 13:41:06 +0000 (13:41 +0000)]
- new plots for PID-oriented QA have been added
- new plots for timeZero checks have been added
- some ranges of other plots have been optimized
- cuts for primary tracks selection have been updated
loizides [Tue, 8 Mar 2011 09:00:53 +0000 (09:00 +0000)]
Added (faster) re-clusterize task with the similar features as the existing task.
Note the just unfolding option is not (yet) implemented. People familiar with
the existing AliAnalysisTaskEMCALClusterize task should stick to it.
loizides [Tue, 8 Mar 2011 08:47:59 +0000 (08:47 +0000)]
Allow running without tree by using
clusterizer->SetDigitsArr(arr);
clusterizer->SetOutput(0);
and get resulting clusters using
clusterizer->GetRecPoints()
Make flag to indicate that input is calibrated a member (it was static before)
Add void AliEMCALClusterizer::InitParameters(const AliEMCALRecParam* recParam) so that
one can pass a recParam object by hand. AliEMCALClusterizer::InitParameters() simply
returns InitParameters(AliEMCALReconstructor::GetRecParam());
pulvir [Mon, 7 Mar 2011 23:26:00 +0000 (23:26 +0000)]
AliRsnEvent:
- multiplicity from SPD is a float, not an integer (correct warning in compilation)
AliRsnPair:
- assignment of mother reference event was missing, and caused segfaults
AliRsnCutPIDITS:
- don't assume that the AliESDpid object in the input handler is always initialized
AliRsnAnalysisManager:
- assign the reference event for the mother passed to each pair, and take care of
maintaining the right one in case they are swapped
pulvir [Mon, 7 Mar 2011 14:17:47 +0000 (14:17 +0000)]
Some small code changes to adapt to requests for implementation of mixing.
Some restyling and creation of header comments or function comments.
AliRsnDaughter:
- added a pointer to the owner event, used for event-related quantities
- changed where possible the dynamic_cast calls with static ones and ROOT RTTI
- added a new enum for particle types, in order to manage what is not present in AliPID
(this should become the reference for the package, while AliPID compatibility is kept when applicable)
- added static functions to deal with this enumeration and recover mass and PDG codes
- moved the initialization of momentum vector to the "SetRef()" function, while "SetMass()" changes the mass only
AliRsnDaughterDef:
- propagated the static functions and native enum in AliRsnDaughter for mass assignment
AliRsnMother:
- added a pointer to the owner event used as reference (in case the two daughters point to different ones)
- propagated the new particle type enumeration in AliRsnDaughter
- reimplemented some getters as inline
AliRsnEvent:
- removed the static data members (make confusion with mixing event handler)
- moved here all methods for multiplicity computations (included the new one with SPD)
- renamed multiplicity computation methods ("GetMultiplicity()" disappeared and replaced by 4 methods)
- added a function to set an AliRsnDaughter object from absolute index
- added a line of code to set (*this) as owner event for a daughter set with "SetDaughter()"
- restyled some comments
AliRsnTarget:
- removed all static data members
- when target is not an event, a reference event is set to the owner of the daugher/mother
and is used to compute event-related values when passing those objects to any computation
AliRsnCutESD2010:
- removed function with non-pointer arguments
AliRsnCutPID:
- added a security check to avoid NULL objects
AliRsnCutPIDTOF:
- propagate the event referencing using the daughter owner event
AliRsnFunction:
- removed a useless data member to distinguish between 1-daughter and 2-daughters functions
- some class restyling
- added a data-member for values computation, to avoid several new/deletes per job
- fixed a bug for variable binning in THnSparse outputs
- added a check to skip histogram filling when at least one of the computations for an object is failed
AliRsnMonitor:
- replaced the static daughter data member with a pointer (initialized to 0)
--> this helps in fixing a coverity problem raised with a previous version
AliRsnValue:
- added some new values: (detector signals, new multiplicity, total momentum in TPC)
- moved the explicit computation of some values to the respective targets (event, mother, daughter)
- added some comments along the big "select" code
AliRsnVATProcessInfo:
- used events histogram returns to 2 bins
- "FillInfo()" method returns to require an AliRsnEvent argument (since static are removed)
AliRsnAnalysisManager:
- now the "ProcessAll" function to execute all computations requires teo AliRsnEvent arguments
(again, because the static data members in AliRsnEvent have been removed)
- unified computations for 1-track and 2-track functions
all analysis tasks:
- propagate all modifications in function calls