]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Allow up to 7 peaks to be fitted - needed by PbPb simulations
authorcholm <Christian.Holm.Christensen@cern.ch>
Fri, 31 Oct 2014 14:18:24 +0000 (15:18 +0100)
committercholm <Christian.Holm.Christensen@cern.ch>
Fri, 31 Oct 2014 14:18:24 +0000 (15:18 +0100)
PWGLF/FORWARD/analysis2/AliFMDEnergyFitter.h

index c0c488027d4c0e5e90f0cbb2eb2f2ea4f9247588..18f798041174d0af1db89b78bcea001f2a8f4849 100644 (file)
@@ -195,7 +195,7 @@ public:
    * 
    * @param n Max number of particle to try to fit 
    */
-  void SetNParticles(UShort_t n) { fNParticles = (n<1 ? 1 : (n>5 ? 5 : n)); }
+  void SetNParticles(UShort_t n) { fNParticles = (n<1 ? 1 : (n>7 ? 7 : n)); }
   /** 
    * Set the minimum number of entries each histogram must have 
    * before we try to fit our response function to it