LCOV - code coverage report
Current view: top level - ITSMFT/MFT/MFTsim - AliGenParamPionsKaons.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 4 25.0 %
Date: 2016-06-14 17:26:59 Functions: 1 15 6.7 %

          Line data    Source code
       1             : #ifndef AliGenParamPionsKaons_H
       2             : #define AliGenParamPionsKaons_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : //====================================================================================================================================================
       8             : //
       9             : //      Parametric generator of primary pions and kaons
      10             : //
      11             : //      Contact author: antonio.uras@cern.ch
      12             : //
      13             : //====================================================================================================================================================
      14             : 
      15             : #include "AliGenerator.h"
      16             : #include "TH1D.h"
      17             : #include "TH2D.h"
      18             : 
      19             : class AliGenParamPionsKaons : public AliGenerator {
      20             : 
      21             : public:
      22             :   
      23             :   AliGenParamPionsKaons();
      24             :   AliGenParamPionsKaons(Int_t nPart, Char_t *inputFile);
      25             : 
      26           0 :   virtual ~AliGenParamPionsKaons() {}
      27             :   virtual void Generate();
      28             :   virtual void Init();
      29           0 :   virtual void SetPionOnly() { fGeneratePion=kTRUE; fGenerateKaon=kFALSE; }
      30           0 :   virtual void SetKaonOnly() { fGeneratePion=kFALSE; fGenerateKaon=kTRUE; }
      31             :   virtual void LoadInputHistos(Char_t *inputFile);
      32             : 
      33             : private:
      34             : 
      35             :   AliGenParamPionsKaons(const AliGenParamPionsKaons&);
      36             :   AliGenParamPionsKaons &operator=(const AliGenParamPionsKaons&);
      37             : 
      38             : protected:
      39             :   
      40             :   Bool_t fGeneratePion;
      41             :   Bool_t fGenerateKaon;
      42             : 
      43             :   TH2D *fPtVsRapidityPrimaryPosPions,  *fPtVsRapidityPrimaryNegPions;
      44             :   TH2D *fPtVsRapidityPrimaryPosKaons,  *fPtVsRapidityPrimaryNegKaons;
      45             : 
      46             :   TH1D *fHistPdgCode;
      47             : 
      48          12 :   ClassDef(AliGenParamPionsKaons, 1)
      49             : 
      50             : };
      51             : 
      52             : //====================================================================================================================================================
      53             : 
      54             : #endif
      55             : 
      56             : 

Generated by: LCOV version 1.11