-add setter for mc inv.mass spectrum
authorjbook <jbook@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Nov 2012 14:38:26 +0000 (14:38 +0000)
committerjbook <jbook@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Nov 2012 14:38:26 +0000 (14:38 +0000)
PWGDQ/dielectron/AliDielectronSignalFunc.h

index 2a63a9e2954cdc52d0789f9c93c2e0e8c2a59c90..fc8f9576c1d05bc4eeb3c7615bc53009a5c24dd5 100644 (file)
@@ -86,6 +86,7 @@ public:
   void ProcessLS(TObjArray * const arrhist);       // substract the fitted SE like-sign background
   void ProcessEM(TObjArray * const arrhist);       // substract the fitted SE+ME like-sign background
 
+  void SetMCSignalShape(TH1F* hist) { fgHistSimPM=hist; }
   void SetUseIntegral(Bool_t flag=kTRUE) {fUseIntegral = flag;};
   void SetFunctions(TF1 * const combined, TF1 * const sig=0, TF1 * const back=0, Int_t parM=1, Int_t parMres=2);
   void CombineFunc(TF1 * const peak=0, TF1 * const bgnd=0);