LCOV - code coverage report
Current view: top level - EVGEN - AliGenHIJINGpara.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 4 25.0 %
Date: 2016-06-14 17:26:59 Functions: 1 11 9.1 %

          Line data    Source code
       1             : #ifndef ALIGENHIJINGPARA_H
       2             : #define ALIGENHIJINGPARA_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /* $Id$ */
       7             : 
       8             : // Parameterisation of pi and K, eta and pt distributions
       9             : // used for the ALICE TDRs.
      10             : // Author: andreas.morsch@cern.ch
      11             : 
      12             : class TF1;
      13             : 
      14             : #include "AliGenerator.h"
      15             : #include "AliDecayer.h"
      16             : 
      17             : class AliGenHIJINGpara : public AliGenerator
      18             : {
      19             :  public:
      20             : 
      21             :   AliGenHIJINGpara();
      22             :   AliGenHIJINGpara(Int_t npart);
      23             :   virtual ~AliGenHIJINGpara();
      24           0 :   virtual void SetCutVertexZ(Float_t cut=999999.) {fCutVertexZ = cut;}
      25             :   virtual void Generate();
      26             :   virtual void Init();
      27             :   virtual void SetPtRange(Float_t ptmin = 0., Float_t ptmax=15.);
      28           0 :   virtual void SetPi0Decays(Bool_t flag = kFALSE) {fPi0Decays = flag;}
      29           0 :   virtual void SetWeighting(Int_t flag = 0) {fAnalog = flag;}
      30             :   virtual void Draw( const char *);
      31             :   
      32             :  protected:
      33             :   Int_t   fNt;          // CurrentTrack;
      34             :   Int_t   fNpartProd;   // Total number of particles produced  
      35             :   Bool_t  fPi0Decays;   // Flag for pi0 decays
      36             :   Float_t fPtWgtPi;     // pt weight for pions
      37             :   Float_t fPtWgtKa;     // pt weight for kaons
      38             :   TF1* fPtpi;           // Parametrised pt distribution for pi
      39             :   TF1* fPtka;           // Parametrised pt distribution for ka
      40             :   TF1* fETApic;         // Parametrised eta distribution for pi
      41             :   TF1* fETAkac;         // Parametrised eta distribution fro ka
      42             :   AliDecayer* fDecayer; // ! Pointer to pythia object for decays
      43             : 
      44             :   void DecayPi0(Float_t* orig, Float_t * p, Float_t time);
      45             : 
      46             :  private:
      47             :   AliGenHIJINGpara(const AliGenHIJINGpara &HIJINGpara);
      48             :   AliGenHIJINGpara& operator = (const AliGenHIJINGpara &para) ;
      49             : 
      50             : 
      51           6 :   ClassDef(AliGenHIJINGpara,3) // Hijing parametrisation generator
      52             : };
      53             : #endif
      54             : 
      55             : 
      56             : 
      57             : 
      58             : 
      59             : 
      60             : 
      61             : 
      62             : 
      63             : 

Generated by: LCOV version 1.11