}
-void AliDimuCombinator::Copy(AliDimuCombinator&) const
+void AliDimuCombinator::Copy(TObject&) const
{
//
// Copy
{
public:
AliDimuCombinator();
- void Copy(AliDimuCombinator &combi) const;
+ void Copy(TObject &combi) const;
//
// Iterators
// Access to particle stack
-void AliGenBeamGas::Copy(AliGenBeamGas&) const
+void AliGenBeamGas::Copy(TObject&) const
{
//
// Copy
protected:
Int_t fInteractions; // Number of interactions
private:
- void Copy(AliGenBeamGas&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenBeamGas,1) //Generator for beam gas interactions
return (*this);
}
-void AliGenCocktail::Copy(AliGenCocktail &) const
+void AliGenCocktail::Copy(TObject &) const
{
Fatal("Copy","Not implemented!\n");
}
TObjLink *flnk2; // ! Iterator for second generator
//
private:
- void Copy(AliGenCocktail &arun) const;
+ void Copy(TObject &arun) const;
ClassDef(AliGenCocktail,1) // Particle cocktail generator a la SHAKER
};
return kPNoProcess;
}
-void AliGenCocktailAfterBurner::Copy(AliGenCocktailAfterBurner &) const
+void AliGenCocktailAfterBurner::Copy(TObject &) const
{
Fatal("Copy","Not implemented!\n");
}
//needed by some afterburners that works better with higher statistics
//this generates such a artificial one
private:
- void Copy(AliGenCocktailAfterBurner &arun) const;
+ void Copy(TObject &arun) const;
ClassDef(AliGenCocktailAfterBurner,2) // Particle cocktail generator a la SHAKER
//background events added
return (*this);
}
-void AliGenCocktailEntry::Copy(AliGenCocktailEntry&) const
+void AliGenCocktailEntry::Copy(TObject&) const
{
//
// Copy
Float_t fRate; // Rate per event
Float_t fKineBias; // Bias due to kinematic selecion
Float_t fBias; // Bias
- void Copy(AliGenCocktailEntry&) const;
+ void Copy(TObject&) const;
private:
ClassDef(AliGenCocktailEntry,1) // Generator entry of AliGenCocktail
};
}
-void AliGenExtFile::Copy(AliGenExtFile&) const
+void AliGenExtFile::Copy(TObject&) const
{
//
// Copy
void SetReader(AliGenReader* reader) {fReader = reader;}
protected:
void CdEventFile();
- void Copy(AliGenExtFile&) const;
+ void Copy(TObject&) const;
const Text_t *fFileName; //! File to read from
AliGenReader *fReader; //! Reader to read the file
}
-void AliGenFLUKAsource::Copy(AliGenFLUKAsource &) const
+void AliGenFLUKAsource::Copy(TObject &) const
{
Fatal("Copy","Not implemented!\n");
}
Float_t fAge; // Time of flight
private:
- void Copy(AliGenFLUKAsource &arun) const;
+ void Copy(TObject &arun) const;
ClassDef(AliGenFLUKAsource,1) //Boundary source
};
fNt = nt;
}
-void AliGenHIJINGpara::Copy(AliGenHIJINGpara &) const
+void AliGenHIJINGpara::Copy(TObject &) const
{
Fatal("Copy","Not implemented!\n");
}
AliDecayer* fDecayer; // ! Pointer to pythia object for decays
void DecayPi0(Float_t* orig, Float_t * p);
- void Copy(AliGenHIJINGpara ¶) const;
+ void Copy(TObject ¶) const;
ClassDef(AliGenHIJINGpara,3) // Hijing parametrisation generator
};
#endif
void AliGenHalo::Generate()
{
// Generate from input file
- FILE *fp = fopen(fFileName,"r");
+ fp = fopen(fFileName,"r");
if (fp) {
printf("\n File %s opened for reading ! \n ", (char*) &fFileName);
} else {
}
-void AliGenHalo::Copy(AliGenHalo&) const
+void AliGenHalo::Copy(TObject&) const
{
//
// Copy
virtual void Generate();
AliGenHalo & operator=(const AliGenHalo & rhs);
private:
- void Copy(AliGenHalo &Halo) const;
+ void Copy(TObject &Halo) const;
protected:
FILE *fp; // ! Pointer to file
TString fFileName; // Choose the file
return weight;
}
-void AliGenHaloProtvino::Copy(AliGenHaloProtvino&) const
+void AliGenHaloProtvino::Copy(TObject&) const
{
//
// Copy
Float_t fZ1[21], fZ2[21]; // ! z-positions for gas pressure tables
Float_t fG1[21][5], fG2[21][5]; // ! gas pressures
private:
- void Copy(AliGenHaloProtvino&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenHaloProtvino,1) // LHC background boundary source (Protvino Group results)
return *this;
}
-void AliGenMC::Copy(AliGenMC&) const
+void AliGenMC::Copy(TObject&) const
{
//
// Copy
// all kinematic selection cuts go here
Bool_t KinematicSelection(TParticle *particle, Int_t flag) const;
Int_t CheckPDGCode(Int_t pdgcode) const;
- void Copy(AliGenMC&) const;
+ void Copy(TObject&) const;
protected:
TClonesArray* fParticles; //!Particle List
TArrayI fParentSelect; //!Parent particles to be selected
SetHighWaterMark(nt);
}
-void AliGenParam::Draw()
+void AliGenParam::Draw( const char * /*opt*/)
{
//
// Draw the pT and y Distributions
virtual void SetWeighting(Weighting_t flag = kAnalog) {fAnalog = flag;}
virtual void SetDeltaPt(Float_t delta=0.01) {fDeltaPt = delta;}
virtual void SetDecayer(AliDecayer* decayer) {fDecayer = decayer;}
- virtual void Draw();
+ virtual void Draw(const char * opt);
AliGenParam & operator=(const AliGenParam & rhs);
protected:
Double_t (*fPtParaFunc)(Double_t*, Double_t*); //! Pointer to Pt parametrisation function
return *this;
}
-void AliGenReader::Copy(AliGenReader&) const
+void AliGenReader::Copy(TObject&) const
{
//
// Copy
const Text_t *fFileName; // Name of file to read from
Code_t fCode; // Particle code type
private:
- void Copy(AliGenReader&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenReader,1) //Generate particles from external file
};
return *this;
}
-void AliGenReaderCwn::Copy(AliGenReaderCwn&) const
+void AliGenReaderCwn::Copy(TObject&) const
{
//
// Copy
Float_t fP; // Total momentum
Float_t fE; // Total energy
private:
- void Copy(AliGenReaderCwn&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenReaderCwn,1) // Read particles from cwn-ntuple
};
#endif
return (*this);
}
-void AliGenReaderEcalHijing::Copy(AliGenReaderEcalHijing&) const
+void AliGenReaderEcalHijing::Copy(TObject&) const
{
//
// Copy
Float_t fPzhij[10000]; // pz
Float_t fEhij[10000]; // energy
private:
- void Copy(AliGenReaderEcalHijing&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenReaderEcalHijing,1) // Read particles from cwn-ntuple
};
return (*this);
}
-void AliGenReaderEcalJets::Copy(AliGenReaderEcalJets&) const
+void AliGenReaderEcalJets::Copy(TObject&) const
{
//
// Copy
TTree *fTreeNtuple; // pointer to the TTree
private:
- void Copy(AliGenReaderEcalJets&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenReaderEcalJets,1) // Read particles from cwn-ntuple
};
#endif
return *this;
}
-void AliGenReaderTreeK::Copy(AliGenReaderTreeK&) const
+void AliGenReaderTreeK::Copy(TObject&) const
{
//
// Copy
TString& GetDirName(Int_t entry);
TParticle* GetParticle(Int_t i);
private:
- void Copy(AliGenReaderTreeK&) const;
+ void Copy(TObject&) const;
ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK
};
return *this;
}
-void AliGenSlowNucleons::Copy(AliGenSlowNucleons&) const
+void AliGenSlowNucleons::Copy(TObject&) const
{
//
// Copy
void GenerateSlow(Int_t charge, Double_t T, Double_t beta, Float_t* q);
Double_t Maxwell(Double_t m, Double_t p, Double_t t);
void Lorentz(Double_t m, Double_t beta, Float_t* q);
- void Copy(AliGenSlowNucleons&) const;
+ void Copy(TObject&) const;
AliGenSlowNucleons & operator=(const AliGenSlowNucleons & rhs);
protected:
Float_t fCMS; // Center of mass energy
REAL*8 a1,b1,diff1,d1,sr,sd,EPS,fu1r,fu1d
EXTERNAL eloss_func1, eloss_func2
PARAMETER (EPS=1.e-9, JMAX=12)
- INTEGER j,j1
- REAL*8 osr,ostr,str
- REAL*8 del,sumr,x
+ REAL*8 osr,ostr
ostr=-1.e10
osr=-1.e10
a1=0.0
REAL*8 funr,yy,fund
REAL*8 xr,length,noc,qq,nnorm,rri,fracc
COMMON /input/ xr,length,noc,qq,nnorm,rri,fracc
- REAL*8 fragm
EXTERNAL eloss_lookup
REAL*8 cont, disc, wwt, tepsi
*
FUNCTION eloss_fragm(xxx,qqq)
REAL*8 alpha, beta, gamma, n
- REAL*8 sbar, xx, qq, xxx, qqq, lambda, fragv, frags
+ REAL*8 sbar, xx, qq, xxx, qqq, lambda
*
xx = xxx
qq = qqq
*
CHARACTER*100 CHROOT
CHARACTER*100 FILNAM
- LOGICAL EXISTS
CHROOT=' '
CALL GETENVF('ALICE_ROOT',CHROOT)
LNROOT = LNBLNK(CHROOT)
*
CHARACTER*100 CHROOT
CHARACTER*100 FILNAM
- LOGICAL EXISTS
CHROOT=' '
CALL GETENVF('ALICE_ROOT',CHROOT)
LNROOT = LNBLNK(CHROOT)