]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTrigger.h
include reconstruction parameters to be used by AliTOFtrackerV1
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTrigger.h
index c7b1d71eb1be11f4c21b9a70f3a12248407d5c2b..05e2851a66e5d6c1587ceb04d74b13fae7e2a4af 100644 (file)
@@ -4,7 +4,6 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
-/* $Log$ */
 
 //___________________________________________________________
 //  Class for trigger analysis.
@@ -50,7 +49,7 @@ class AliEMCALTrigger : public AliTriggerDetector {
 
   AliEMCALTrigger() ; //  ctor
   AliEMCALTrigger(const AliEMCALTrigger & trig) ; // cpy ctor
-  virtual ~AliEMCALTrigger() {}; //virtual dtor
+  virtual ~AliEMCALTrigger(); //virtual dtor
 
 
   virtual void    CreateInputs(); //Define trigger inputs for Central Trigger Processor
@@ -116,14 +115,17 @@ class AliEMCALTrigger : public AliTriggerDetector {
 
  private:
 
+  void FillTRU(const TClonesArray * digits, TClonesArray * ampmatrix, TClonesArray * ampmatrixsmod, TClonesArray * timeRmatrix); 
+
   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,const Int_t supermod, TMatrixD *ampmax2, TMatrixD *ampmaxn) ; 
+  void MakeSlidingCell(const TClonesArray * amptrus, const TClonesArray * timeRtrus,const Int_t supermod, TMatrixD &ampmax2, TMatrixD &ampmaxn) ; 
   
-  void SetTriggers(const TClonesArray * amptrus,const Int_t iSM, const TMatrixD *ampmax2, const TMatrixD *ampmaxn, const AliEMCALGeometry * geom) ;
+  void SetTriggers(const TClonesArray * amptrus,const Int_t iSM, const TMatrixD &ampmax2, const TMatrixD &ampmaxn) ;
   
 
  private: 
+  AliEMCALGeometry *fGeom;
 
   Float_t f2x2MaxAmp ;         //! Maximum 2x2 added amplitude (not overlapped) 
   Int_t   f2x2CellPhi ;        //! upper right cell, row(phi)   
@@ -146,12 +148,6 @@ class AliEMCALTrigger : public AliTriggerDetector {
   Float_t fL1JetMediumPtThreshold ; //! L1 Medium pT trigger energy threshold
   Float_t fL1JetHighPtThreshold ;   //! L1 High pT trigger energy threshold
 
-  Int_t   fNTRU;             //! Number of TRU per SuperModule (3)
-  Int_t   fNTRUEta ;         //! Number of crystal rows per Eta in one TRU (3)
-  Int_t   fNTRUPhi ;         //! Number of crystal rows per Phi in one TRU (1)
-  Int_t   fNCellsPhi;        //! Number of rows in a TRU (24)
-  Int_t   fNCellsEta;        //! Number of columns in a TRU (16)
-
   Int_t fPatchSize;          //! Trigger patch factor, to be multiplied to 2x2 cells
                              //  0 means 2x2, 1 means 4x4, 2 means 6x6 ...
   Int_t fIsolPatchSize ;     //  Isolation patch size, number of rows or columns to add to 
@@ -169,7 +165,7 @@ class AliEMCALTrigger : public AliTriggerDetector {
   Bool_t  fSimulation ;           //! Flag to do the trigger during simulation or reconstruction
   Bool_t  fIsolateInSuperModule;  //! Flag to isolate trigger patch in SuperModule or in TRU acceptance
 
-  ClassDef(AliEMCALTrigger,1)
+  ClassDef(AliEMCALTrigger,0)
 } ;