}
AliTPCclustererMI clusterer(param);
+ TString option = GetOption();
+ if (option.Contains("PedestalSubtraction"))
+ clusterer.SetPedSubtraction(kTRUE);
+
Int_t iEvent = 0;
while (rawReader->NextEvent()) {
runLoader->GetEvent(iEvent++);
AliTPCclustererMI(const AliTPCParam* par);
virtual void Digits2Clusters();
virtual void Digits2Clusters(AliRawReader* rawReader);
+ virtual void SetPedSubtraction(Bool_t pedestalSub = kFALSE)
+ { fPedSubtraction = pedestalSub; };
virtual void SetInput(TTree * tree); // set input tree with digits
virtual void SetOutput(TTree * tree); //set output tree with
private:
Float_t fPadLength; // the width of the pad
Float_t fZWidth; //the z bin width
+ Bool_t fPedSubtraction; // perform pedestal subtraction or not
+
TTree * fInput; //!input tree with digits - object not owner
TTree * fOutput; //!output tree with digits - object not owner
AliTPCClustersRow * fRowCl; //! current cluster row