}
}
//______________________________________________________________________
-void AliITSDetTypeRec::DigitsToRecPoints(AliRawReader* rawReader,TTree *treeR){
+void AliITSDetTypeRec::DigitsToRecPoints(AliRawReader* rawReader,TTree *treeR,Option_t *opt){
// cluster finding and reconstruction of space points
// the condition below will disappear when the geom class will be
// initialized for all versions - for the moment it is only for v5 !
// none.
// Return:
// none.
+ const char *all = strstr(opt,"All");
+ const char *det[3] = {strstr(opt,"SPD"),strstr(opt,"SDD"),
+ strstr(opt,"SSD")};
AliITSClusterFinderV2 *rec = 0;
Int_t id=0;
clusters[iModule] = NULL;
}
for(id=0;id<3;id++){
+ if (!all && !det[id]) continue;
rec = (AliITSClusterFinderV2*)GetReconstructionModel(id);
if (!rec)
AliFatal("The reconstruction class was not instanciated");
Int_t nClusters =0;
TClonesArray *emptyArray=new TClonesArray("AliITSRecPoint");
for(Int_t iModule=0;iModule<GetITSgeom()->GetIndexMax();iModule++){
+ id = GetITSgeom()->GetModuleType(iModule);
+ if (!all && !det[id]) continue;
array = clusters[iModule];
if(!array){
AliDebug(1,Form("data for module %d missing!",iModule));
TClonesArray *RecPoints() {return fRecPoints;}
void MakeBranchRF(TTree *treeR){MakeBranchR(treeR,"Fast");}
void DigitsToRecPoints(TTree *treeD,TTree *treeR,Int_t lastEntry,Option_t *det,Bool_t v2=kFALSE);
- void DigitsToRecPoints(AliRawReader* rawReader,TTree *treeR);
+ void DigitsToRecPoints(AliRawReader* rawReader,TTree *treeR,Option_t *det="All");
private:
// private methods