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);
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
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);
};