Added another version of cut for pp (small differences in PID) Added a workaround to solve a problem in primary vertex cut when doing mixing Added some modification for a more proper computation of efficiency, which involved also AlirsnMother and AliRsnDaughter and the classes based on them.
Some bug fixes, removal of some duplicates and clarified the logic of some pieces of the workflow. Splitted the values into three groups, for daughters/pairs/events only, to avoid confusion and too long switch statements. Added some new cuts, and corrected some old ones (removed a bug in cut on primary vertex, and adjusted cuts on track quality). Introduced the loop for pair efficiency computation.
Implementation of all needed changes in the package in order to speed-up the execution and generalize analysis work-flow. Taking advantage of this work, several improvements have been developed for givin the possibility to all users to customize better the package to their needs. Example macros are already provided in the 'macros/train' directory. Documentation of the classes is available in comments to each of them.
Where possible, replaced dynamic_cast with ROOT RTTI using TClass. Where possible, made use of the AliRsnTarget built-in daughter/mother/event pointers, and TargetOK() function in all cuts. Added single-track efficiency computations, and a base class for efficiency.
Removed old ME classes, since the nex event mixing has been introduced and is integrated in the new AliRsnAnalysisTask object, while ole AliRsnAnalysiSE is kept for backward compatibility (and new configs work perfectly also there). Removed experimental classes which apply to only one resonance, since they complicate things instead of simplifying. Removed AOD integrated cut, which are managed elsewhere. ESD integrated cuts are kept since they are used currently, and switching to new splitted implementation will be more gradual. All classes have been passed with astyle in order to improve code style and readability. Configuration script is a modified version of that provided by ROOT, with the addition not to break single-line implementations (inline functions implemented in .h file)
Splitted resonance library into two separate elements: 1) PWG2resonances: this contains the basic package, with all necessary to set up a resonance analysis in the old way, using all the objects developed since the introduction of this package and without any dependence on non-analysis libraries 2) PWG2rsnextra: all the classes/code/analysisTasks which do not use the basic RSN package this library can have dependences on non-analysis code (currently, it depends on TOFrec) but it has to be viewed as a temporary entry due to current situation of the available reconstruction or to keep track of analysis tasks related to resonances, but not yet fuly integrated in the standard package
Splitted the PID cuts into three classes for ITS, TPC and TOF, and added the possibility to deal with ESD and AOD, using the related PID utility classes. Moved all the code in RESONANCES directory which is not related to RSN package into the 'extra' directory Removed some obsolete cut classes which are no longer used nor supported.
AliRsnCutManager: -- bugfix on distinct daughter cuts (thanks Leonidas) AliRsnCutBetheBloch, AliRsnCutDaugtherType, AliRsnCutESDPrimary, AliRsnCutPID: -- more appropriate implementation of coverity fixes AliRsnTarget: -- reimplementation of TargetOK() function -- addition of pointer to allowed target types (daughter, pair, event) AliRsnAnalysisManager: -- add the manager name in front of the histograms Added two new cuts which try to split the comples ESD2010 cuts and try to generalize them also for AODs: -- AliRsnCutTrackQuality --> quality cuts (nTPClusters, DCA, chi2, ...) -- AliRsnCutPIDTOF --> TOF PID with compatibility range Added a new directory 'extra' containing code related to resonances but not integrated in the RSN package: currently it contains the classes used for current Sigma1385 analysis.