#include "AliITSRecPoint.h"
#include "AliITSRecPointContainer.h"
#include "AliITSgeomTGeo.h"
-#include "AliITSDetTypeRec.h"
#include "AliRawReader.h"
#include "AliITSRawStreamSSD.h"
#include <TClonesArray.h>
AliError("Cannot get magnetic field from TGeoGlobalMagField");
}
else {
- Float_t Bfield = field->SolenoidField();
+ Float_t bField = field->SolenoidField();
// NB: spatial shift has opposite sign for lay 5 and 6, but strip numbering also changes direction, so no sign-change
// Shift due to ExB on drift N-side, units: strip width
- fLorentzShiftP = -repa->GetTanLorentzAngleElectronsSSD() * 150.e-4/95.e-4 * Bfield / 5.0;
+ fLorentzShiftP = -repa->GetTanLorentzAngleElectronsSSD() * 150.e-4/95.e-4 * bField / 5.0;
// Shift due to ExB on drift P-side, units: strip width
- fLorentzShiftN = -repa->GetTanLorentzAngleHolesSSD() * 150.e-4/95.e-4 * Bfield / 5.0;
- AliDebug(1,Form("Bfield %f Lorentz Shift P-side %f N-side %f",Bfield,fLorentzShiftN,fLorentzShiftP));
+ fLorentzShiftN = -repa->GetTanLorentzAngleHolesSSD() * 150.e-4/95.e-4 * bField / 5.0;
+ AliDebug(1,Form("bField %f Lorentz Shift P-side %f N-side %f",bField,fLorentzShiftN,fLorentzShiftP));
}
}
}
cout<<"this is module "<<fModule;
cout<<endl;
cout<<endl;
- */
+
Int_t layer = 4;
if (fModule>fLastSSD1)
layer = 5;
-
+ */
//--------------------------------------------------------
// start 1D-clustering from the first digit in the digits array
//
continue;
}
- Int_t layer = 4;
+ /* Int_t layer = 4;
if (fModule>fLastSSD1)
layer = 5;
+ */
AliITSCalibrationSSD* cal = (AliITSCalibrationSSD*)fDetTypeRec->GetCalibrationModel(fModule);
if( !cal ){
if ((np*nn) > fgPairsSize) {
- if (fgPairs) delete [] fgPairs;
- fgPairsSize = 4*np*nn;
+ delete [] fgPairs;
+ fgPairsSize = 2*np*nn;
fgPairs = new Short_t[fgPairsSize];
}
memset(fgPairs,0,sizeof(Short_t)*np*nn);
//
if ( (cnegative[ip]==2) && cpositive[negativepair[10*ip]]==2){
Float_t minchargediff =4.;
- Float_t minchargeratio =0.2;
+ // Float_t minchargeratio =0.2;
Int_t j=-1;
for (Int_t di=0;di<cnegative[ip];di++){
if (TMath::Abs(ratio)<0.2){
j =jc;
minchargediff = TMath::Abs(chargedif);
- minchargeratio = TMath::Abs(ratio);
+ // minchargeratio = TMath::Abs(ratio);
}
}
if (j<0) continue; // not proper cluster