]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAODJet.h
Gsatt replaces
[u/mrichter/AliRoot.git] / STEER / AliAODJet.h
index b65c7b45a9763ee682c9792f4ea64c589290e7fd..3534d5dafe511890468a8ca52ee7a5e8b1a2ab35 100644 (file)
@@ -10,7 +10,7 @@
 //     Author: Andreas Morsch, CERN
 //-------------------------------------------------------------------------
 
-#include <TLorentzVector.h>c
+#include <TLorentzVector.h>
 #include "AliVParticle.h"
 #include <TArrayI.h>
 #include "AliAODVertex.h"
@@ -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,6 +89,9 @@ 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;}
+
 //
 
     // first only one bit for EMCAL and TRD, leave space for more
@@ -96,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,6);
+    ClassDef(AliAODJet,7);
 
 };