PWG2rsnextra:
authorpulvir <pulvir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2011 09:14:35 +0000 (09:14 +0000)
committerpulvir <pulvir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2011 09:14:35 +0000 (09:14 +0000)
commit7356f978a65318cc9eab8a167a14a0c9885746e4
tree7d1b05dbb4a26ac3ef25e1b607bc716ce8bcd63f
parent84c9e12ad6b5f50a6d4f8bdf85d12c1885a8de6d
PWG2rsnextra:
- used astyle to restyle all the code
- removed the useless AliRsnAnalysisPhi7TeVNoPID, since now the other phi analysis class contains the flags
  to exclude the PID, and then duplicate code is always a bad choice

AliRsnAnalysisManager:
- merged the processing methods: now there is only one with an argument used
  to tell if the analysis is done on a reconstructed sample (ESD/AOD) or a "pure" MC (using MC particles)
- moved the fill of monitor functions in the external loop in the pair processing method, instead of having it
  in another method which essentially replicated the code
- added a flag to switch on/off the possibility to store an additional histogram for each pair which counts
  how many events were really used to fill it.

AliRsnDaughter:
- introduced a new enumeration to extend the few possibilities allowed by AliPID object,
  and take into account also all possible types of candidate daughter among V0s and cascades,
  which can eventually access the PDG database to retrieve masses and charges
- renamed the methods to get the charge as a short or as a character, in order to uniformize this
  in all classes which contain such a method

AliRsnDaughterDef:
- added matching checks for each single definition (PID, type, charge)
- added matching checks for abstract particle species from PDG code
- adapt the charge methods which return short and char

AliRsnEvent:
- added a method to set a daugher using its absolute index directly
- added the possibility to get the MC multiplicity
- added the inverse of the method "ConvertAbsoluteIndex()"

AliRsnPairDef:
- propagation of the adaptments for charge methods
- propagation of the new particle type enum in AliRsnDaughter (backward compatible)

AliRsnValue:
- defined a static function to retrieve the expected target type for each computed value
  which is used in the constructors
- added some values (PID signals, MC multiplicity), which can require new support objects

Some classes are unchanged except for some comments.
37 files changed:
PWG2/CMakelibPWG2rsnextra.pkg
PWG2/PWG2rsnextraLinkDef.h
PWG2/RESONANCES/AliRsnAnalysisEffSE.cxx
PWG2/RESONANCES/AliRsnAnalysisManager.cxx
PWG2/RESONANCES/AliRsnAnalysisManager.h
PWG2/RESONANCES/AliRsnAnalysisSE.cxx
PWG2/RESONANCES/AliRsnAnalysisTask.cxx
PWG2/RESONANCES/AliRsnAnalysisTaskEffPair.cxx
PWG2/RESONANCES/AliRsnCutPIDTOF.cxx
PWG2/RESONANCES/AliRsnCutPIDTPC.cxx
PWG2/RESONANCES/AliRsnDaughter.cxx
PWG2/RESONANCES/AliRsnDaughter.h
PWG2/RESONANCES/AliRsnDaughterDef.cxx
PWG2/RESONANCES/AliRsnDaughterDef.h
PWG2/RESONANCES/AliRsnEvent.cxx
PWG2/RESONANCES/AliRsnEvent.h
PWG2/RESONANCES/AliRsnMother.cxx
PWG2/RESONANCES/AliRsnMother.h
PWG2/RESONANCES/AliRsnPairDef.cxx
PWG2/RESONANCES/AliRsnPairDef.h
PWG2/RESONANCES/AliRsnTarget.cxx
PWG2/RESONANCES/AliRsnTarget.h
PWG2/RESONANCES/AliRsnValue.cxx
PWG2/RESONANCES/AliRsnValue.h
PWG2/RESONANCES/extra/AliAnalysisTaskSigma1385.C
PWG2/RESONANCES/extra/AliAnalysisTaskSigma1385.cxx
PWG2/RESONANCES/extra/AliAnalysisTaskSigma1385.h
PWG2/RESONANCES/extra/AliRsnAnalysisPhi7TeV.cxx
PWG2/RESONANCES/extra/AliRsnAnalysisPhi7TeV.h
PWG2/RESONANCES/extra/AliRsnAnalysisPhi7TeVNoPID.cxx [deleted file]
PWG2/RESONANCES/extra/AliRsnAnalysisPhi7TeVNoPID.h [deleted file]
PWG2/RESONANCES/extra/AliRsnAnalysisPhi900GeV.cxx
PWG2/RESONANCES/extra/AliRsnAnalysisPhi900GeV.h
PWG2/RESONANCES/extra/AliRsnTOFCorrectionESD.cxx
PWG2/RESONANCES/extra/AliRsnTOFCorrectionESD.h
PWG2/RESONANCES/extra/AliRsnTOFT0maker.cxx
PWG2/RESONANCES/extra/AliRsnTOFT0maker.h