]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenParam.h
CMake: FindROOT returns etcdir
[u/mrichter/AliRoot.git] / EVGEN / AliGenParam.h
index 522096aee8ee89b755eeb1791d830cbfceffa502..bbd61cebc653437502af3a4f6ab8b0c4dc80c286 100644 (file)
@@ -47,6 +47,9 @@ public:
     virtual void SetDeltaPt(Float_t delta=0.01) {fDeltaPt = delta;}
     virtual void SetDecayer(AliDecayer* decayer) {fDecayer = decayer;}
     virtual void SetForceGammaConversion(Bool_t force=kTRUE) {fForceConv = force;}
+    virtual void SetKeepParent(Bool_t keep=kTRUE){fKeepParent= keep;} //Store parent even if it does not have childs within cuts
+    virtual void SetKeepIfOneChildSelected(Bool_t keep=kTRUE){fKeepIfOneChildSelected = keep;} //Accept parent and child even if other children are not within cut.
+    
     virtual void Draw(const char * opt);
     TF1 *  GetPt() { return fPtPara;}
     TF1 *  GetY() {return fYPara;}
@@ -55,7 +58,6 @@ public:
     static TVector3 OrthogonalVector(TVector3 &inVec);
     static void RotateVector(Double_t *pin, Double_t *pout, Double_t costheta, Double_t sintheta,
                           Double_t cosphi, Double_t sinphi);
-    static double IntegratedKrollWada(Double_t mh);
     static double ScreenFunction1(double d);
     static double ScreenFunction2(double d);
     double RandomEnergyFraction(double Z, double E);
@@ -83,6 +85,8 @@ protected:
     Bool_t      fSelectAll;    // Flag for transportation of Background while using SetForceDecay()
     AliDecayer  *fDecayer;     // ! Pointer to pythia object for decays
     Bool_t      fForceConv;    //
+    Bool_t      fKeepParent;   //  Store parent even if it does not have childs within cuts
+    Bool_t      fKeepIfOneChildSelected; //Accept parent and child even if other children are not within cut.
 
 private:
     AliGenParam(const AliGenParam &Param);