]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrigger.h
New class AliPHOSCpvPreprocessor.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrigger.h
index 6edcb84bbc3538c1a51959c3ff15643d1c46f995..eb93c771e6876f967650c358fd98452ec4d63fa4 100644 (file)
@@ -4,7 +4,6 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
-/* $Log$ */
 
 //____________________________________________________________
 //  Class for trigger analysis.
@@ -44,12 +43,12 @@ class AliPHOSTrigger : public AliTriggerDetector {
   
   AliPHOSTrigger() ; //  ctor
   AliPHOSTrigger(const AliPHOSTrigger & trig) ; // cpy ctor
-  virtual ~AliPHOSTrigger() {}; //virtual dtor
-
+  virtual ~AliPHOSTrigger();
 
   virtual void    CreateInputs(); //Define trigger inputs for Central Trigger Processor
   void            Print(const Option_t * opt ="") const ;  
   virtual void    Trigger();  //Make PHOS trigger
+  void    Trigger(const char * fileName);  //Make PHOS trigger
 
   //Getters
   Float_t  Get2x2MaxAmplitude()  const {return f2x2MaxAmp ; }
@@ -123,10 +122,12 @@ class AliPHOSTrigger : public AliTriggerDetector {
 
   Bool_t IsPatchIsolated(Int_t iPatchType, const TClonesArray * ampmods, const Int_t imod, const Int_t mtru, const Float_t maxamp, const Int_t maxphi, const Int_t maxeta) ;
 
-  void MakeSlidingCell(const TClonesArray * amptrus, const TClonesArray * timeRtrus, Int_t mod, TMatrixD *ampmax2, TMatrixD *ampmaxn) ;
+  void MakeSlidingCell(const TClonesArray * amptrus, const TClonesArray * timeRtrus, Int_t mod, TMatrixD &ampmax2, TMatrixD &ampmaxn) ;
 
-  void SetTriggers(const TClonesArray * amptrus, Int_t iMod, const TMatrixD *ampmax2,const TMatrixD *ampmaxn) ;
+  void SetTriggers(const TClonesArray * amptrus, Int_t iMod, const TMatrixD &ampmax2,const TMatrixD &ampmaxn) ;
 
+  void DoIt(const char * fileName) ; 
  private: 
 
   Float_t f2x2MaxAmp ;     //! Maximum 2x2 added amplitude (not overlapped)