+void AliEventCut::SetVertexYRange(Int_t min,Int_t max)
+{
+ //Sets range of z coordinate of a primary vertex
+ AliEventBaseCut* cut = FindCut(AliEventBaseCut::kPrimVertexYCut);
+ if (cut) cut->SetRange(min,max);
+ else fBaseCuts.Add(new AliPrimVertexYCut(min,max));
+}
+/*********************************************************/
+
+void AliEventCut::SetVertexZRange(Int_t min,Int_t max)
+{
+ //Sets range of z coordinate of a primary vertex
+ AliEventBaseCut* cut = FindCut(AliEventBaseCut::kPrimVertexZCut);
+ if (cut) cut->SetRange(min,max);
+ else fBaseCuts.Add(new AliPrimVertexZCut(min,max));
+}