<commit_before>#ifndef ALIGENHIJING_H
#define ALIGENHIJING_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */


#include "AliGenerator.h"
#include "GenTypeDefs.h"
#include <THijing.h>
#include <TString.h>
#include <TArrayI.h>

class TArrayI;
class TParticle;

class AliGenHijing : public AliGenerator
{
    enum {kNoTrigger, kHardProcesses, kDirectPhotons};

 public:
    AliGenHijing();
    AliGenHijing(Int_t npart);
    AliGenHijing(const AliGenHijing &Hijing);
    virtual ~AliGenHijing();
    virtual void    Generate();
    virtual void    Init();
    // set centre of mass energy
    virtual void    SetEnergyCMS(Float_t energy=5500) {fEnergyCMS=energy;}
    virtual void    SetReferenceFrame(TString frame=TString("CMS"))
	{fFrame=frame;}
    virtual void    SetProjectile(TString proj=TString("A"),
				  Int_t a=208, Int_t z=82)
	{fProjectile = proj;
	fAProjectile = a;
	fZProjectile = z;}    
    virtual void    SetTarget(TString tar=TString("A"),
			      Int_t a=208, Int_t z=82)
	{fTarget = tar;
	fATarget = a;
	fZTarget =z;}    
    virtual void    SetImpactParameterRange(Float_t bmin = 0, Float_t bmax =15.)
	{ fMinImpactParam=bmin;
	fMaxImpactParam=bmax;
	}
    virtual void    KeepFullEvent();
    virtual void    SetJetQuenching(Int_t flag=1)     {fQuench    = flag;}
    virtual void    SetShadowing(Int_t flag=1)        {fShadowing = flag;}
    virtual void    SetDecaysOff(Int_t flag=1)        {fDecaysOff = flag;}
    virtual void    SetTrigger(Int_t flag=kNoTrigger) {fTrigger   = flag;}
    virtual void    SetFlavor(Int_t flag=0)           {fFlavor    = flag;}    
    virtual void    SetEvaluate(Int_t flag=0)         {fEvaluate  = flag;}
    virtual void    SetSelectAll(Int_t flag=0)        {fSelectAll = flag;}    
    AliGenHijing &  operator=(const AliGenHijing & rhs);
// Physics Routines	    
    virtual void EvaluateCrossSections();
 protected:
    Bool_t SelectFlavor(Int_t pid);
    void   MakeHeader();

 protected:
    TString     fFrame;         // Reference frame 
    TString     fProjectile;    // Projectile
    TString     fTarget;        // Target
    Int_t       fAProjectile;    // Projectile A<commit_msg>Avoid method calls in default arguments.<commit_after>#ifndef ALIGENHIJING_H
#define ALIGENHIJING_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */


#include "AliGenerator.h"
#include "GenTypeDefs.h"
#include <THijing.h>
#include <TString.h>
#include <TArrayI.h>

class TArrayI;
class TParticle;

class AliGenHijing : public AliGenerator
{
    enum {kNoTrigger, kHardProcesses, kDirectPhotons};

 public:
    AliGenHijing();
    AliGenHijing(Int_t npart);
    AliGenHijing(const AliGenHijing &Hijing);
    virtual ~AliGenHijing();
    virtual void    Generate();
    virtual void    Init();
    // set centre of mass energy
    virtual void    SetEnergyCMS(Float_t energy=5500) {fEnergyCMS=energy;}
    virtual void    SetReferenceFrame(TString frame="CMS")
	{fFrame=frame;}
    virtual void    SetProjectile(TString proj="A",
				  Int_t a=208, Int_t z=82)
	{fProjectile = proj;
	fAProjectile = a;
	fZProjectile = z;}    
    virtual void    SetTarget(TString tar="A",
			      Int_t a=208, Int_t z=82)
	{fTarget = tar;
	fATarget = a;
	fZTarget =z;}    
    virtual void    SetImpactParameterRange(Float_t bmin = 0, Float_t bmax =15.)
	{ fMinImpactParam=bmin;
	fMaxImpactParam=bmax;
	}
    virtual void    KeepFullEvent();
    virtual void    SetJetQuenching(Int_t flag=1)     {fQuench    = flag;}
    virtual void    SetShadowing(Int_t flag=1)        {fShadowing = flag;}
    virtual void    SetDecaysOff(Int_t flag=1)        {fDecaysOff = flag;}
    virtual void    SetTrigger(Int_t flag=kNoTrigger) {fTrigger   = flag;}
    virtual void    SetFlavor(Int_t flag=0)           {fFlavor    = flag;}    
    virtual void    SetEvaluate(Int_t flag=0)         {fEvaluate  = flag;}
    virtual void    SetSelectAll(Int_t flag=0)        {fSelectAll = flag;}    
    AliGenHijing &  operator=(const AliGenHijing & rhs);
// Physics Routines	    
    virtual void EvaluateCrossSections();
 protected:
    Bool_t SelectFlavor(Int_t pid);
    void   MakeHeader();

 protected:
    TString     fFrame;         // Reference frame 
    TString     fProjectile;    // Projectile
    TString     fTarget;        // Target
    Int_t       fAProjectile;    // Projectile A
{'fraction_non_alphanumeric': 0.09832820061592609, 'fraction_numerical': 0.013638363396392433, 'mean_word_length': 2.876385336743393, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '192492', 'n_tokens_mistral': 1596, 'n_tokens_neox': 1503, 'n_words': 376}