fRecoParam = AliTPCReconstructor::GetRecoParam();
if (!fRecoParam) fRecoParam = AliTPCRecoParam::GetLowFluxParam();
}
- fDebugStreamer = new TTreeSRedirector("TPCsignal.root");
+
+ if(AliTPCReconstructor::StreamLevel()>0) {
+ fDebugStreamer = new TTreeSRedirector("TPCsignal.root");
+ }
+
// Int_t nPoints = fRecoParam->GetLastBin()-fRecoParam->GetFirstBin();
fRowCl= new AliTPCClustersRow();
fRowCl->SetClass("AliTPCclusterMI");
c.SetZ(x[2]);
//
//
- if (fSector%36>17){
- c.SetY(-c.GetY());
- }
-
if (ki<=1 || ki>=fMaxPad-1 || kj==1 || kj==fMaxTime-2) {
c.SetType(-(c.GetType()+3)); //edge clusters
}
Int_t j=digarr.CurrentRow()+3, i=digarr.CurrentColumn()+3;
Float_t gain = gainROC->GetValue(row,digarr.CurrentColumn());
Int_t bin = i*fMaxTime+j;
- fBins[bin]=dig/gain;
+ if (gain>0){
+ fBins[bin]=dig/gain;
+ }else{
+ fBins[bin]=0;
+ }
fSigBins[fNSigBins++]=bin;
} while (digarr.Next());
digarr.ExpandTrackBuffer();
if (!calcPedestal) {
Int_t bin = iPad*fMaxTime+iTimeBin;
- allBins[iRow][bin] = signal/gain;
+ if (gain>0){
+ allBins[iRow][bin] = signal/gain;
+ }else{
+ allBins[iRow][bin] =0;
+ }
allSigBins[iRow][allNSigBins[iRow]++] = bin;
}else{
allBins[iRow][iPad*fMaxTime+iTimeBin] = signal;
Double_t gx[3]={x[0],x[1],x[2]};
trafo.RotatedGlobal2Global(fSector,gx);
+ if (AliTPCReconstructor::StreamLevel()>0) {
(*fDebugStreamer)<<"Digits"<<
"sec="<<fSector<<
"row="<<iRow<<
"gy="<<gx[1]<<
"gz="<<gx[2]<<
"\n";
+ }
}
}
}
//
// Dump mean signal info
//
- (*fDebugStreamer)<<"Signal"<<
+ if (AliTPCReconstructor::StreamLevel()>0) {
+ (*fDebugStreamer)<<"Signal"<<
"TimeStamp="<<fTimeStamp<<
"EventType="<<fEventType<<
"Sector="<<uid[0]<<
"RMSCalib="<<rmsCalib<<
"PedCalib="<<pedestalCalib<<
"\n";
+ }
//
// fill pedestal histogram
//
//
// Big signals dumping
//
+ if (AliTPCReconstructor::StreamLevel()>0) {
if (max-median>kMin &&maxPos>AliTPCReconstructor::GetRecoParam()->GetFirstBin())
(*fDebugStreamer)<<"SignalB"<< // pads with signal
"TimeStamp="<<fTimeStamp<<
"RMS09="<<rms09<<
"\n";
delete graph;
+ }
delete [] dsignal;
delete [] dtime;