,fTransform(new AliTRDtransform(0))
,fDigits(NULL)
,fIndexes(NULL)
- ,fADCthresh(0)
,fMaxThresh(0)
,fSigThresh(0)
,fMinMaxCutSigma(0)
,fTransform(new AliTRDtransform(0))
,fDigits(NULL)
,fIndexes(NULL)
- ,fADCthresh(0)
,fMaxThresh(0)
,fSigThresh(0)
,fMinMaxCutSigma(0)
,fTransform(NULL)
,fDigits(NULL)
,fIndexes(NULL)
- ,fADCthresh(0)
,fMaxThresh(0)
,fSigThresh(0)
,fMinMaxCutSigma(0)
((AliTRDclusterizer &) c).fTransform = NULL;
((AliTRDclusterizer &) c).fDigits = NULL;
((AliTRDclusterizer &) c).fIndexes = NULL;
- ((AliTRDclusterizer &) c).fADCthresh = 0;
((AliTRDclusterizer &) c).fMaxThresh = 0;
((AliTRDclusterizer &) c).fSigThresh = 0;
((AliTRDclusterizer &) c).fMinMaxCutSigma= 0;
}
AliTRDrawStreamBase *input = AliTRDrawStreamBase::GetRawStream(rawReader);
+ if(fReconstructor->IsHLT())
+ input->SetSharedPadReadout(kFALSE);
AliInfo(Form("Stream version: %s", input->IsA()->GetName()));
return kFALSE;
}
- fADCthresh = 0;
-
if (!fReconstructor){
AliError("Reconstructor not set\n");
return kFALSE;
}
- TTreeSRedirector *fDebugStream = fReconstructor->GetDebugStream(AliTRDReconstructor::kClusterizer);
-
fMaxThresh = fReconstructor->GetRecoParam()->GetClusMaxThresh();
fSigThresh = fReconstructor->GetRecoParam()->GetClusSigThresh();
fMinMaxCutSigma = fReconstructor->GetRecoParam()->GetMinMaxCutSigma();
// Calibration object with the pad status
fCalPadStatusROC = calibration->GetPadStatusROC(fDet);
-
+
SetBit(kLUT, fReconstructor->UseLUT());
SetBit(kGAUS, fReconstructor->UseGAUS());
SetBit(kHLT, fReconstructor->IsHLT());
-
+
firstClusterROC = -1;
fClusterROC = 0;
if(last.Row>-1) CreateCluster(last);
if(fReconstructor->GetStreamLevel(AliTRDReconstructor::kClusterizer) > 2){
+ TTreeSRedirector* fDebugStream = fReconstructor->GetDebugStream(AliTRDReconstructor::kClusterizer);
(*fDebugStream) << "MakeClusters"
<< "Detector=" << det
<< "NMaxima=" << nMaximas
for(iTime = 0; iTime < fTimeTotal; iTime++)//while (fIndexes->NextTbinIndex(iTime))
{
// Store the amplitude of the digit if above threshold
- if (outADC[iTime] > fADCthresh)
+ if (outADC[iTime] > 0)
fDigits->SetData(iRow,iCol,iTime,TMath::Nint(outADC[iTime]));
else
fDigits->SetData(iRow,iCol,iTime,0);
Int_t Row;
Int_t Col;
Int_t Time;
- UChar_t padStatus;
Short_t Signals[3];
+ UChar_t padStatus;
Bool_t FivePad;
MaxStruct():Row(-1),Col(0),Time(0),padStatus(0),FivePad(kFALSE)
{memset(Signals, 0, 3*sizeof(Short_t));}
MaxStruct &operator=(const MaxStruct &a)
- {Row=a.Row; Col=a.Col; Time=a.Time; padStatus=a.padStatus; FivePad=a.FivePad;
- memcpy(Signals, a.Signals, 3*sizeof(Short_t)); return *this;}
+ {memcpy(this, &a, sizeof(MaxStruct)); return *this;}
};
AliTRDclusterizer(const AliTRDReconstructor *const rec = 0x0);
AliTRDarrayADC *fDigits; // Array holding the digits
AliTRDSignalIndex *fIndexes; // Array holding the indexes to the digits
- Float_t fADCthresh; // ADC thresholds: There is no ADC threshold anymore, and simParam should not be used in clusterizer. KO
Float_t fMaxThresh; // Threshold value for the maximum
Float_t fSigThresh; // Threshold value for the digit signal
Float_t fMinMaxCutSigma; // Threshold value for the maximum (cut noise)