/*
$Log$
+Revision 1.6 2000/12/12 10:20:10 cblume
+Initialize fSepctrum = 0 in ctors
+
Revision 1.5 2000/10/15 23:40:01 cblume
Remove AliTRDconst
//
fSpectrum = 0;
+ fSigma = 0;
Init();
Char_t name[21];
fSpectrum = 0;
+ fSigma = 0;
Init();
Float_t fSpLower; // Lower border of the TR spectrum
Float_t fSpUpper; // Upper border of the TR spectrum
- Double_t *fSigma; // Array of sigma values
+ Double_t *fSigma; //[fSpNBins] Array of sigma values
TH1D *fSpectrum; // TR photon energy spectrum
/*
$Log$
+Revision 1.7 2000/12/08 16:07:02 cblume
+Update of the tracking by Sergei
+
Revision 1.6 2000/11/30 17:38:08 cblume
Changes to get in line with new STEER and EVGEN
//___________________________________________________________________
Int_t AliTRDtracker::FindProlongation(AliTRDtrack& t, AliTRDtrackingSector *sec,
- Int_t s, Int_t rf=0)
+ Int_t s, Int_t rf)
{
// Starting from current position on track=t this function tries
// to extrapolate the track up to timeBin=rf and to confirm prolongation
const Int_t range = AliTRDgeometry::kNplan * fGeom->GetTimeMax();
Bool_t label_added;
- Int_t s[range][2];
+ // Int_t s[range][2];
+ Int_t **s = new Int_t* [range];
+ for (i=0; i<range; i++) {
+ s[i] = new Int_t[2];
+ }
for (i=0; i<range; i++) {
s[i][0]=-1;
s[i][1]=0;
max=s[i][1]; label=s[i][0];
}
}
+ delete []s;
if(max > ncl*fLabelFraction) return label;
else return -1;
}
//_____________________________________________________________________________
void AliTRDtracker::ReadClusters(TObjArray *array, const Char_t *filename,
-Int_t option = 1)
+Int_t option)
{
//
// Reads AliTRDclusters (option >= 0) or AliTRDrecPoints (option < 0)