]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAODJet.h
Gsatt replaces
[u/mrichter/AliRoot.git] / STEER / AliAODJet.h
index 431a742742cf0b10d9e355910e05abc22d939ba2..3534d5dafe511890468a8ca52ee7a5e8b1a2ab35 100644 (file)
@@ -69,6 +69,14 @@ class AliAODJet : public AliVParticle {
 
     virtual Double_t   EffectiveAreaCharged()   const { return  fEffectiveArea[0];}
     virtual Double_t   EffectiveAreaNeutral()   const { return  fEffectiveArea[1];}
+    virtual void SetVectorAreaCharged(TLorentzVector *effVACh){
+      if(!fVectorAreaCharged)fVectorAreaCharged= new TLorentzVector(*effVACh);
+      else *fVectorAreaCharged = *effVACh;
+    }
+    virtual TLorentzVector*  VectorAreaCharged()   const {return fVectorAreaCharged;}
+
+
+
     virtual Double_t   ErrorEffectiveAreaCharged()   const { return  fEffectiveAreaError[0];}
     virtual Double_t   ErrorEffectiveAreaNeutral()   const { return  fEffectiveAreaError[1];}
     virtual Double_t   DeltaR(const AliVParticle* part);
@@ -81,24 +89,10 @@ class AliAODJet : public AliVParticle {
     virtual Short_t Charge()      const { return 0;}
     virtual const Double_t* PID() const { return NULL;}
     virtual Int_t   GetLabel()    const { return -1;}
-//
-
+  // Dummy
+    virtual Int_t    PdgCode()    const {return 0;}
 
-
-
-    /** Compare this class with an other instance of this class
-     *  used in a TClonesArray::Sort()
-     *  @param   obj  ptr to other instance
-     *  @return  Returns 0 when equal, 1 when this is smaller
-     *  and -1 when bigger -- sorts descending
-     */
-    Int_t Compare( const TObject* obj) const;
-    
-    
-    /** Defines this class as being sortable in a TClonesArray
-     *  @return     always kTRUE;
-     */
-    Bool_t IsSortable() const  { return kTRUE; }
+//
 
     // first only one bit for EMCAL and TRD, leave space for more
     // trigger types and/or other detectors
@@ -113,9 +107,10 @@ class AliAODJet : public AliVParticle {
     Double32_t      fNeutralFraction;        //[0,1,12] Neutral fraction between 0 and 1 12 bit precision;
     UChar_t         fTrigger;                // Bit mask to flag jets triggered by a certain detector  
     TLorentzVector* fMomentum;               // Jet 4-momentum vector
+    TLorentzVector* fVectorAreaCharged;      // jet area four momentum 
     TRefArray*      fRefTracks;              // array of references to the tracks belonging to the jet
 
-    ClassDef(AliAODJet,5);
+    ClassDef(AliAODJet,7);
 
 };