]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrigger.h
Cleanup of collisions geometries and headers.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrigger.h
index c042a1acb5e0ca6131d8f585b219a59d78b8c539..9e65e1ca4f4e80fc01623bd60a359c6eb4954455 100644 (file)
@@ -43,13 +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
+  virtual void    Trigger() {}                   //Make PHOS trigger
+  void            Trigger(TClonesArray *digits); //Make PHOS trigger
 
   //Getters
   Float_t  Get2x2MaxAmplitude()  const {return f2x2MaxAmp ; }
@@ -119,15 +118,15 @@ class AliPHOSTrigger : public AliTriggerDetector {
 
   AliPHOSTrigger & operator = (const AliPHOSTrigger & trig) ;//cpy assignment
 
-  void FillTRU(const TClonesArray * digits, const AliPHOSGeometry * geom, TClonesArray * amptru, TClonesArray * ampmod, TClonesArray * timeRtru) const ;
+  void FillTRU(const TClonesArray * digits, const AliPHOSGeometry * geom) const ;
 
-  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) ;
+  Bool_t IsPatchIsolated(Int_t iPatchType, 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(Int_t mod, TMatrixD &ampmax2, TMatrixD &ampmaxn) ;
 
-  void SetTriggers(const TClonesArray * amptrus, Int_t iMod, const TMatrixD &ampmax2,const TMatrixD &ampmaxn) ;
+  void SetTriggers(Int_t iMod, const TMatrixD &ampmax2,const TMatrixD &ampmaxn) ;
 
-  void DoIt(const char * fileName) ; 
+  void DoIt() ; 
  
  private: 
 
@@ -145,7 +144,11 @@ class AliPHOSTrigger : public AliTriggerDetector {
   Int_t*   fADCValuesHigh2x2 ; //! " high gain " 2x2 "
   Int_t*   fADCValuesLow2x2  ; //! " low gaing " "
 
-  TClonesArray* fDigitsList ;  //Array of digits 
+  TClonesArray* fDigitsList ;  //  Array of digits 
+  TClonesArray* fAmptrus    ;  //! Array of matrices with amplitudes per TRU
+  TClonesArray* fAmpmods    ;  //! Array of matrices with amplitudes per module
+  TClonesArray* fTimeRtrus  ;  //! Array of matrices with time
+  
  
   Float_t fL0Threshold ;             //! L0 trigger energy threshold
   Float_t fL1JetLowPtThreshold ;     //! L1 Low  pT trigger threshold
@@ -175,7 +178,7 @@ class AliPHOSTrigger : public AliTriggerDetector {
   Bool_t  fSimulation ;           //! Flag to do the trigger during simulation or reconstruction
   Bool_t  fIsolateInModule;       //! Flag to isolate trigger patch in Module or in TRU acceptance
 
-  ClassDef(AliPHOSTrigger,4)
+  ClassDef(AliPHOSTrigger,5)
 } ;