#include "AliITSVertexerFixed.h"
#include "AliITSVertexer3D.h"
#include "AliITSVertexerZ.h"
+#include "AliITSVertexerZD.h"
#include "AliITSVertexerCosmics.h"
#include "AliITSInitGeometry.h"
#include "AliITSTrackleterSPDEff.h"
{
// reconstruct clusters
- Int_t cluFindOpt = GetRecoParam()->GetClusterFinder();
TString recopt = GetRecoParam()->GetOptReco();
fDetTypeRec->SetTreeAddressD(digitsTree);
fDetTypeRec->MakeBranch(clustersTree,"R");
fDetTypeRec->SetTreeAddressR(clustersTree);
- fDetTypeRec->DigitsToRecPoints(digitsTree,clustersTree,0,recopt.Data(),cluFindOpt);
+ fDetTypeRec->DigitsToRecPoints(digitsTree,clustersTree,0,recopt.Data(),1);
}
//_________________________________________________________________
{
// reconstruct clusters from raw data
TString recopt = GetRecoParam()->GetOptReco();
- fDetTypeRec->SetDefaultClusterFindersV2(kTRUE);
+ fDetTypeRec->SetDefaultClusterFindersV2(kTRUE,kTRUE);
fDetTypeRec->DigitsToRecPoints(rawReader,clustersTree,recopt.Data());
}
AliDebug(1,"Vertex is fixed in the position of the TED\n");
vptr = new AliITSVertexerFixed("TED");
}
+ else if(vtxOpt==7){
+ AliDebug(1,"VertexerZD: reconstruction of the Z coordinate with SDD \n");
+ AliITSVertexerZD*vtxrz = new AliITSVertexerZD();
+ vtxrz->SetSearchForPileup(kFALSE);
+ vptr = vtxrz;
+ }
else {
// by default an AliITSVertexer3D object is instatiated
AliITSVertexer3D* vtxr =