LCOV - code coverage report
Current view: top level - STEER/STEERBase - AliGenPythiaEventHeader.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 23 4.3 %
Date: 2016-06-14 17:26:59 Functions: 1 30 3.3 %

          Line data    Source code
       1             : #ifndef ALIGENPYTHIAEVENTHEADER_H
       2             : #define ALIGENPYTHIAEVENTHEADER_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : /* $Id$ */
       8             : 
       9             : #include "AliGenEventHeader.h"
      10             : 
      11             : 
      12           0 : class AliGenPythiaEventHeader : public AliGenEventHeader
      13             : {
      14             :  public:
      15             :     AliGenPythiaEventHeader();
      16             :     AliGenPythiaEventHeader(const char* name);
      17           0 :     virtual ~AliGenPythiaEventHeader() {}
      18             :     // Getters
      19           0 :     Int_t    ProcessType() const {return fProcessType;}
      20           0 :     void     SetNMPI(Int_t mpi) {fNMPI = mpi;}
      21           0 :     void     SetNSuperpositions(Int_t sp) { fNSuperpositions = sp; }
      22             :     // Setters
      23           0 :     void     SetProcessType(Int_t type)  {fProcessType = type;}
      24           0 :     Int_t    Trials() const {return fTrials;}
      25           0 :     void     SetTrials(Int_t trials) {fTrials = trials;}
      26             :     void     AddJet(Float_t px, Float_t py, Float_t pz, Float_t e);
      27             :     void     AddUQJet(Float_t px, Float_t py, Float_t pz, Float_t e);
      28           0 :     Int_t    NTriggerJets() const {return fNJets;}
      29           0 :     Int_t    NUQTriggerJets() const {return fNUQJets;}
      30             :     void     TriggerJet(Int_t i, Float_t p[4]) const;
      31             :     void     UQJet(Int_t i, Float_t p[4]) const;
      32           0 :     Double_t GetXJet() const {return fXJet;}
      33           0 :     Double_t GetYJet() const {return fYJet;}
      34           0 :     Double_t GetInMediumLength() const  {return fInMediumLength;}
      35           0 :     Double_t GetImpactParameter() const {return fImpactParameter;}
      36             :     void     SetXYJet(Double_t x, Double_t y);
      37           0 :     void     SetImpactParameter(Double_t b) {fImpactParameter = b;}
      38           0 :     void     SetInMe(Double_t l) {fInMediumLength = l;}
      39             :     void     SetZQuench(Double_t z[4]);
      40             :     void     GetZQuench(Double_t z[4]) const;
      41           0 :     void     SetPtHard(Float_t pthard) {fPtHard = pthard;}
      42           0 :     Float_t  GetPtHard() const {return fPtHard;}    
      43           0 :     void     SetXsection(Float_t xsec) {fXsection = xsec;}
      44           0 :     Float_t  GetXsection() const {return fXsection;}
      45           0 :     Int_t    GetNMPI() const {return fNMPI;}
      46           0 :     Int_t    GetNSuperpositions() const { return fNSuperpositions; }
      47             :             
      48             : protected:
      49             :     Int_t    fProcessType;               // PYTHIA process id for this event 
      50             :     Int_t    fTrials;                    // Number of trials to fulfill trigger condition
      51             :     Int_t    fNJets;                     // Number of triggered jets
      52             :     Int_t    fNUQJets;                   // Number of unquenched jets
      53             :     Int_t    fNMPI;                      // numbers of MPI
      54             :     Int_t    fNSuperpositions;           // numbers of superimposed events
      55             :     Double_t fXJet;                      // Jet production point (x)
      56             :     Double_t fYJet;                      // Jet production point (y)
      57             :     Double_t fInMediumLength;            // In medium length
      58             :     Double_t fImpactParameter;           // Impact parameter for Q-Pythia
      59             :     Float_t  fJets[4][10];               // Trigger jets
      60             :     Float_t  fUQJets[4][10];             // Unquenched trigger jets
      61             :     Double_t fZquench[4];                // Quenching fraction
      62             :     Float_t  fPtHard;                    // pT hard
      63             :     Float_t  fXsection;                  // Cross-section
      64             : 
      65         176 :     ClassDef(AliGenPythiaEventHeader,9)  // Event header for Pythia event
      66             : };
      67             :         
      68             :         
      69             : 
      70             : #endif

Generated by: LCOV version 1.11