-fix for HF and Profiles2D
authorjbook <jbook>
Fri, 17 Jan 2014 17:04:47 +0000 (18:04 +0100)
committerjbook <jbook@cern.ch>
Fri, 17 Jan 2014 17:04:47 +0000 (18:04 +0100)
PWGDQ/dielectron/AliDielectronHF.cxx

index 7e74200..8fdf404 100644 (file)
@@ -186,7 +186,7 @@ void AliDielectronHF::UserProfile(const char* histClass, UInt_t valTypeP,
 
   // store variales in axes
   UInt_t valType[4] = {0};
-  valType[0]=valTypeX;     valType[1]=valTypeY; valType[3]=valTypeP;
+  valType[0]=valTypeX;     valType[1]=valTypeY; valType[2]=valTypeP;
   AliDielectronHistos::StoreVariables(hist, valType);
   hist->SetUniqueID(valTypeW); // store weighting variable