Coding violations corrected
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 6 Mar 2011 06:07:26 +0000 (06:07 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 6 Mar 2011 06:07:26 +0000 (06:07 +0000)
PYTHIA8/AliPythia8.cxx
PYTHIA8/AliTPythia8.cxx
PYTHIA8/AliTPythia8.h

index a3afc09..c0fe293 100644 (file)
@@ -717,6 +717,7 @@ void AliPythia8::SetInitialAndFinalStateRadiation(Int_t flag1, Int_t flag2)
 
 void AliPythia8::SetIntrinsicKt(Float_t kt)
 {
+// Set the intrinsic kt
        ReadString("BeamRemnants:primordialKT = on");
        ReadString("BeamRemnants:primordialKTsoft = 0.");
        ReadString(Form("BeamRemnants:primordialKThard = %13.3f", kt));
index 0de8209..776bec0 100644 (file)
@@ -275,7 +275,7 @@ void AliTPythia8::EventListing() const
 }
 
 //___________________________________________________________________________
-void AliTPythia8::AddParticlesToPdgDataBase()
+void AliTPythia8::AddParticlesToPdgDataBase() const
 {
    // Add some pythia specific particle code to the data base    
 
index 7e54d5a..4afdde6 100644 (file)
@@ -95,7 +95,7 @@ protected:
    Pythia8::Pythia         *fPythia;                //! The pythia8 instance
    Int_t                    fNumberOfParticles;     //! Number of particles
 private:
-   void                    AddParticlesToPdgDataBase();
+   void                    AddParticlesToPdgDataBase() const;
    ClassDef(AliTPythia8, 1)   // Interface class of Pythia8
 };