]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCReconstructor.h
Updates
[u/mrichter/AliRoot.git] / ZDC / AliZDCReconstructor.h
index 804e419b3c4c838fb1dc01bcca01619734b7eb1d..efb41cfe0edc9ee50868143bf649ec5fff163495 100644 (file)
@@ -5,11 +5,11 @@
 
 /* $Id$ */
 
-///////////////////////////////////////////////////////////////////////////////
-//                                                                           //
-// class for ZDC reconstruction                                              //
-//                                                                           //
-///////////////////////////////////////////////////////////////////////////////
+/////////////////////////////////////////////
+//                                        //
+//       class for ZDC reconstruction      //
+//                                        //
+/////////////////////////////////////////////
 
 #include "AliReconstructor.h"
 #include "AliCDBManager.h"
@@ -32,7 +32,7 @@ public:
   virtual void   Init();
   virtual Bool_t HasDigitConversion() const {return kFALSE;};
   
-  virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const
+  virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree); 
   virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree);
 
   virtual void FillESD(TTree* /*digitsTree*/, TTree* clustersTree, AliESDEvent* esd) const 
@@ -53,6 +53,9 @@ public:
   void  SetPedSubMode(Int_t pedsubMode) {fPedSubMode=pedsubMode;}
   Int_t GetPedSubMode() {return fPedSubMode;}
   
+  void    SetSignalThreshold(Float_t val) {fSignalThreshold=val;}
+  Float_t GetSignalThreshold() {return fSignalThreshold;}
+  
   // OCDB objects for reconstruction
   AliCDBStorage   *SetStorage(const char* uri);
   AliZDCPedestals *GetPedData() const; 
@@ -91,8 +94,9 @@ private:
   Bool_t  fIsCalibrationMB; // true if run type = "CALIBRATION_MB"
   Int_t   fPedSubMode;     // =0->mean values, =1->from correlations
   UInt_t  fRecoFlag;        // flag indicating problems in reco
+  Float_t fSignalThreshold; // Threshold value for "triggering" in p-p
 
-  ClassDef(AliZDCReconstructor, 7)   // class for the ZDC reconstruction
+  ClassDef(AliZDCReconstructor, 8)   // class for the ZDC reconstruction
 };
 
 #endif