-////////////////////////////////////////////////////////////////////////////////
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/* $Id$ */
+
+//////////////////////////////////////////////////////////////////////////////
//
// AliGeVSimParticle is a helper class for GeVSim (AliGenGeVSim) event generator.
// An object of this class represents one particle type and contain
// information about particle type thermal parameters.
//
-////////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
//
// For examples, parameters and testing macros refer to:
// http:/home.cern.ch/radomski
////////////////////////////////////////////////////////////////////////////////////////////////////
-Bool_t AliGeVSimParticle::IsFlowSimple() {
+Bool_t AliGeVSimParticle::IsFlowSimple() const
+{
//
// Function used by AliGenGeVSim
//
#ifndef ALIGEVSIMPARTICLE_H
#define ALIGEVSIMPARTICLE_H
-////////////////////////////////////////////////////////////////////////////////
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+/* $Id$ */
+
+//////////////////////////////////////////////////////////////////////////////
//
// AliGeVSimParticle is a helper class for GeVSim (AliGenGeVSim) event generator.
// An object of this class represents one particle type and contain
// information about particle type thermal parameters.
//
-////////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
//
// For examples, parameters and testing macros refer to:
// http:/home.cern.ch/radomski
//
// S.Radomski@gsi.de
//
-////////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
//
// Updated and revised: September 2002, S. Radomski, GSI
//
// Multiplicity
void SetMultiplicity(Float_t mult);
- Float_t GetMultiplicity() {return fN;}
+ Float_t GetMultiplicity() const {return fN;}
void SetMultTotal(Bool_t isTotal = kTRUE);
- Bool_t IsMultTotal() {return fMultTotal;}
- Bool_t IsMultForced() {return fIsSetMult;}
+ Bool_t IsMultTotal() const {return fMultTotal;}
+ Bool_t IsMultForced() const {return fIsSetMult;}
// Flow
void SetEllipticParam(Float_t v21, Float_t pTmax, Float_t v22=0.);
void SetEllipticOld(Float_t v21, Float_t v22, Float_t v23);
- Bool_t IsFlowSimple();
+ Bool_t IsFlowSimple() const;
Float_t GetDirectedFlow(Float_t pt, Float_t y);
Float_t GetEllipticFlow(Float_t pt, Float_t y);
Bool_t fIsEllipticSimple; // indicate use constant value for elliptic (v2)
Bool_t fIsEllipticOld; // linear / quadratical pT parametrisation
- public:
-
ClassDef(AliGeVSimParticle, 3)
};
-
-////////////////////////////////////////////////////////////////////////////////////////////////////
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/* $Id$ */
+
+///////////////////////////////////////////////////////////////////////////////
//
// AliGenAfterBurnerFlow is a After Burner event generator applying flow.
// The generator changes Phi coordinate of the particle momentum.
//
// S.Radomski@gsi.de
//
-////////////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
#include <Riostream.h>
#include "TParticle.h"
// Files can be chained.
// Author: andreas.morsch@cern.ch
+#include <stdlib.h>
+
+#include <TDatabasePDG.h>
+#include <TPDGCode.h>
#include <RVersion.h>
-#include "TPDGCode.h"
-#include "TDatabasePDG.h"
+#include <TChain.h>
+#include <TFile.h>
+#include <TTree.h>
#include <TVirtualMC.h>
#include "AliGenFLUKAsource.h"
#include "AliRun.h"
-
-#include <TFile.h>
-#include <TTree.h>
-#include <TChain.h>
-#include <stdlib.h>
ClassImp(AliGenFLUKAsource)
AliGenFLUKAsource::AliGenFLUKAsource()
**************************************************************************/
/* $Id$ */
+
//
// AliGenGeVSim is a class implementing GeVSim event generator.
//
/////////////////////////////////////////////////////////////////
private:
-
+
+ AliGenGeVSim(const AliGenGeVSim & ggs): AliGenerator(ggs)
+ {Fatal("copy ctor","Not implemented\n");}
+ AliGenGeVSim & operator=(const AliGenGeVSim & ggs)
+ {Fatal("= operator","Not implemented\n"); return *this;}
+
Int_t fModel; // Selected model (1-7)
Float_t fPsi; // Reaction Plane angle (0-2pi)
Bool_t fIsMultTotal; // Mode od multiplicity: total, dN/dY
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/* $Id$ */
+
+
//
// Event header for GeVSim event generator
// support event plane and elliptic flow
///////////////////////////////////////////////////////////////////
#include <TArrayF.h>
+#include <TCanvas.h>
#include <TClonesArray.h>
#include <TDatabasePDG.h>
#include <TF1.h>
#include <TH1.h>
-#include <TParticle.h>
#include <TPDGCode.h>
-#include <TCanvas.h>
-#include <TVirtualMC.h>
+#include <TParticle.h>
#include <TROOT.h>
+#include <TVirtualMC.h>
#include "AliConst.h"
#include "AliDecayer.h"
// used for the ALICE TDRs.
// Author: andreas.morsch@cern.ch
+class TF1;
+
#include "AliGenerator.h"
#include "AliDecayer.h"
-class TF1;
class AliGenHIJINGpara : public AliGenerator
{
virtual void SetFileName(TString filename) {fFileName=TString(filename);}
virtual void Generate();
AliGenHalo & operator=(const AliGenHalo & rhs);
- private:
- void Copy(TObject &Halo) const;
protected:
FILE *fp; // ! Pointer to file
TString fFileName; // Choose the file
+ private:
+ void Copy(TObject &Halo) const;
ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input)
};
#endif
Float_t zVertexOld = -1.e10;
Int_t nInt = 0; // Counts number of interactions
- Float_t Wgt = 0.;
+ Float_t wwgt = 0.;
while(1) {
//
PushTrack(fTrackIt,ntP,ipart[nprim],p,origin,polar,t,kPNoProcess,nt,fParentWeight);
}
}
- Wgt += fParentWeight;
+ wwgt += fParentWeight;
SetHighWaterMark(nt);
}
delete [] vy;
delete [] tx;
delete [] ty;
- printf("Total weight %f\n\n", Wgt);
+ printf("Total weight %f\n\n", wwgt);
}
// decay products and particle selection.
// andreas.morsch@cern.ch
+#include <TClonesArray.h>
#include <TMath.h>
#include <TPDGCode.h>
#include <TParticle.h>
#include "AliGenMC.h"
+#include "AliGeometry.h"
ClassImp(AliGenMC)
// decay products and particle selection.
// andreas.morsch@cern.ch
-#include "AliGenerator.h"
-#include "AliDecayer.h"
-#include "AliGeometry.h"
+class TClonesArray;
+class TParticle;
#include <TArrayI.h>
-#include <TClonesArray.h>
#include <TString.h>
-class TParticle;
+class AliGeometry;
+#include "AliDecayer.h"
+#include "AliGenerator.h"
class AliGenMC : public AliGenerator
{
//
-//#include <TList.h>
#include <TObjArray.h>
-#include <TF1.h>
#include <TParticle.h>
-#include "AliGenParam.h"
-#include "AliGenMUONlib.h"
-#include "AliGenMUONCocktail.h"
#include "AliGenCocktailEntry.h"
-#include "AliCollisionGeometry.h"
-#include "AliRun.h"
+#include "AliGenMUONCocktail.h"
+#include "AliGenMUONlib.h"
+#include "AliGenParam.h"
#include "AliMC.h"
+#include "AliRun.h"
#include "AliStack.h"
ClassImp(AliGenMUONCocktail)
GenFunc AliGenMUONlib::GetY(Int_t param, const char* tname) const
{
+ //
+ // Return pointer to y- parameterisation
+ //
TString sname = TString(tname);
-
-// Return pointer to y- parameterisation
GenFunc func;
switch (param)
{
/* $Id$ */
+//======================================================================
+// AliGenPHOSlib class contains parameterizations of the
+// pion, kaon, eta, omega, etaprime, phi and baryon (proton,
+// antiproton, neutron and anti-neutron) particles for the
+// study of the neutral background in PHOS detector.
+//======================================================================
+
class TRandom;
class AliGenPHOSlib :
/* $Id$ */
+//
+// Library of generators for PMD
+// providing y and pt parametrisation
+// for generated tracks
+// Specific for PMD needs
+// Author: PMD Offline Group
+//
+
#include <TMath.h>
#include <TPDGCode.h>
/* $Id$ */
-#include "AliGenLib.h"
+//
+// Library of generators for PMD
+// providing y and pt parametrisation
+// for generated tracks
+//
+
class TRandom;
-class AliGenPMDlib :
-public AliGenLib
+#include "AliGenLib.h"
+
+class AliGenPMDlib :public AliGenLib
{
public:
enum constants{kPion, kEta};
// Decays are performed using Pythia.
// andreas.morsch@cern.ch
-#include "AliGenParam.h"
-#include "AliDecayer.h"
-#include "AliGenMUONlib.h"
-#include "AliRun.h"
-#include <TParticle.h>
-#include <TParticlePDG.h>
+#include <TCanvas.h>
#include <TDatabasePDG.h>
+#include <TF1.h>
+#include <TH1F.h>
#include <TLorentzVector.h>
-#include <TVirtualMC.h>
+#include <TMath.h>
+#include <TParticle.h>
+#include <TParticlePDG.h>
#include <TROOT.h>
+#include <TVirtualMC.h>
-#include <TF1.h>
-#include <TCanvas.h>
-#include <TH1.h>
-#include <TMath.h>
+#include "AliDecayer.h"
+#include "AliGenMUONlib.h"
+#include "AliGenParam.h"
#include "AliMC.h"
+#include "AliRun.h"
ClassImp(AliGenParam)
#include <TFile.h>
#include <TParticle.h>
#include <TTree.h>
-#include <TVirtualMC.h>
#include "AliGenReaderEcalHijing.h"
#include <TFile.h>
#include <TParticle.h>
#include <TTree.h>
-#include <TVirtualMC.h>
#include "AliGenReaderEcalJets.h"
// Tiziano.Virgili@roma1.infn.it
//======================================================================
-/* $Id: */
+/* $Id$ */
#include "TMath.h"
#include "TRandom.h"
/* $Id$ */
+//======================================================================
+// AliGenSTRANGElib class contains parameterizations of the
+// kaon, phi and hyperon (Lambda, Anti-Lambda, Xi, anti-Xi, Omega,
+// anti-Omega) for the PPR study of the strange particle production.
+//
+// Rocco CALIANDRO. Rosa Anna FINI, Tiziano VIRGILI
+//======================================================================
+
class TRandom;
class AliGenSTRANGElib :
// Author: andreas.morsch@cern.ch
#include "AliGenScan.h"
-#include "AliRun.h"
ClassImp(AliGenScan)
/* $Id$ */
+//
+// Calculate parton energy loss
+// in nucleus nucleus
+// reactions via calculation
+// of quenching weights
+// Author: A.Morsch
+//
+
#include "AliPartonicEnergyLoss.h"
#include <TMath.h>
/* $Id$ */
+//
+// Calculate parton energy loss
+// in nucleus nucleus reactions
+// Author: A.Morsch
+//
+
#include <TObject.h>
class AliPartonicEnergyLoss : public TObject {
/* $Id$ */
-// Experimental data inspired Gray Particle Model for p-Pb collisions
//
+// Experimental data inspired Gray Particle Model for p-Pb collisions
// The number of gray nucleons is proportional to the number of collisions.
// The number of black nucleons is proportional to the number of collisions
// Fluctuations are calculated from a binomial distribution.
+// Author: A.Morsch
//
#include "AliSlowNucleonModelExp.h"
AliSlowNucleonModelExp::AliSlowNucleonModelExp()
{
-// Default constructor
+ //
+ // Default constructor
+ //
fP = 82;
fN = 208 - 82;
fAlphaGray = 2.;
void AliSlowNucleonModelExp::GetNumberOfSlowNucleons(AliCollisionGeometry* geo,
- Int_t& ngp, Int_t& ngn, Int_t & nbp, Int_t & nbn)
+ Int_t& ngp, Int_t& ngn, Int_t & nbp, Int_t & nbn) const
{
//
// Return the number of black and gray nucleons
/* $Id$ */
+//
+// Experimental data inspired Gray Particle Model for p-Pb collisions
+// Fluctuations are calculated from a binomial distribution.
+// Author: A.Morsch
+//
+
#include "AliSlowNucleonModel.h"
class AliCollisionGeometry;
AliSlowNucleonModelExp();
virtual ~AliSlowNucleonModelExp(){;}
virtual void GetNumberOfSlowNucleons(AliCollisionGeometry* geo,
- Int_t& ngp, Int_t& ngn, Int_t& nbp, Int_t& nbn);
+ Int_t& ngp, Int_t& ngn, Int_t& nbp, Int_t& nbn) const;
virtual void SetParameters(Float_t alpha1, Float_t alpha2);
protected:
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
+/* $Id$ */
+
//-------------------------------------------------------------------------
// Class AliESDtrack
// This is the class to deal with during the physical analysis of data
//
// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
//-------------------------------------------------------------------------
-#include "TObject.h"
+
#include <TBits.h>
+#include <TObject.h>
class AliKalmanTrack;