class THijing;
class TArrayI;
class TParticle;
+class TClonesArray;
class AliGenHijing : public AliGenerator
{
/*
$Log$
+Revision 1.12 2000/12/12 13:18:59 hristov
+Protection against FPE
+
Revision 1.11 2000/11/30 07:12:48 alibrary
Introducing new Rndm and QA classes
}
//----------------------------------------------------------------------------
-void AliDisplay::ShowTrack(Int_t idx) {
+void AliDisplay::ShowTrack(Int_t idx)
+{
+ //
+ // Display track idx
+ //
AliDetector *mTPC=(AliDetector*)gAlice->GetModule("TPC");
TObjArray *points=mTPC->Points();
int ntracks=points->GetEntriesFast();
/*
$Log$
+Revision 1.9 2000/10/04 10:08:01 fca
+Correction of minor typing mistakes
+
Revision 1.8 2000/10/02 21:28:14 fca
Removal of useless dependecies via forward declarations
///////////////////////////////////////////////////////////////////
#include "AliGenerator.h"
+#include "TGenerator.h"
#include "AliRun.h"
ClassImp(AliGenerator)
// //
///////////////////////////////////////////////////////////
+class TGenerator;
+
#include "TLorentzVector.h"
#include "TArrayF.h"
-#include "TGenerator.h"
#include "AliRndm.h"
typedef enum { kNoSmear, kPerEvent, kPerTrack } VertexSmear_t;
#include "TObject.h"
class AliHit : public TObject {
-protected:
- Int_t fTrack; // Track number
- Float_t fX; // X position of the hit
- Float_t fY; // Y position of the hit
- Float_t fZ; // Z position of the hit
-
public:
AliHit();
AliHit(Int_t shunt, Int_t track);
virtual Float_t Z() const {return fZ;}
virtual Int_t Track() const {return fTrack;}
+protected:
+ Int_t fTrack; // Track number
+ Float_t fX; // X position of the hit
+ Float_t fY; // Y position of the hit
+ Float_t fZ; // Z position of the hit
+
ClassDef(AliHit,1) //Base class for all Alice hits
};
#endif
public:
AliKalmanTrack() {fN=0; fChi2=0; fLab=-3141593;}
AliKalmanTrack(const AliKalmanTrack& t);
+ virtual ~AliKalmanTrack() {}
Int_t Compare(TObject *o);
void SetLabel(Int_t lab) {fLab=lab;}
protected:
Int_t fLab; // track label
- Double_t fP0; //
- Double_t fP1; //
- Double_t fP2; // track parameters
- Double_t fP3; //
- Double_t fP4; //
+ Double_t fP0; // track parameter
+ Double_t fP1; // track parameter
+ Double_t fP2; // track parameter
+ Double_t fP3; // track parameter
+ Double_t fP4; // track parameter
Double_t fC00; // covariance
Double_t fC10, fC11; // matrix
AliLegoGenerator(Int_t nc1, Float_t c1min, Float_t c1max,
Int_t nc2, Float_t c2min, Float_t c2max,
Float_t rmin, Float_t rmax, Float_t zmax);
+ virtual ~AliLegoGenerator() {}
virtual void Generate();
virtual void SetCoor1Range(Int_t nbin, Float_t c1min, Float_t c1max)
{fNCoor1=nbin; fCoor1Min=c1min; fCoor1Max=c1max;}
AliLegoGeneratorXYZ(Int_t nc1, Float_t c1min, Float_t c1max,
Int_t nc2, Float_t c2min, Float_t c2max,
Float_t rmin, Float_t rmax, Float_t zmax);
+ virtual ~AliLegoGeneratorXYZ() {}
virtual void Generate();
protected:
Float_t fDir1[3]; // 1st unit vector spanning the scanning plane
/*
$Log$
+Revision 1.2 2000/12/01 08:40:48 alibrary
+Correction of a small bug - sRandom can be used now
+
Revision 1.1 2000/11/30 07:12:48 alibrary
Introducing new Rndm and QA classes
//_____________________________________________________________________________
void AliRndm::ReadRandom(const char *filename)
{
+ //
+ // Reads saved random generator status from filename
+ //
char *fntmp = gSystem->ExpandPathName(filename);
TFile *file = new TFile(fntmp,"r");
delete [] fntmp;
//_____________________________________________________________________________
void AliRndm::WriteRandom(const char *filename) const
{
+ //
+ // Writes random generator status to filename
+ //
char *fntmp = gSystem->ExpandPathName(filename);
TFile *file = new TFile(fntmp,"new");
delete [] fntmp;