X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSTrigger.h;h=9e65e1ca4f4e80fc01623bd60a359c6eb4954455;hb=2129750f8c0a1df7587cac044c69465127fcd2ea;hp=6d49855003ef540a6db06fc683c347ba84961263;hpb=ec24419aaaac940c1a83088e3ea8d8a840478aeb;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSTrigger.h b/PHOS/AliPHOSTrigger.h index 6d49855003e..9e65e1ca4f4 100644 --- a/PHOS/AliPHOSTrigger.h +++ b/PHOS/AliPHOSTrigger.h @@ -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(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 &max2, TMatrixD &maxn) ; + void MakeSlidingCell(Int_t mod, TMatrixD &max2, TMatrixD &maxn) ; - void SetTriggers(const TClonesArray * amptrus, Int_t iMod, const TMatrixD &max2,const TMatrixD &maxn) ; + void SetTriggers(Int_t iMod, const TMatrixD &max2,const TMatrixD &maxn) ; - 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) } ;