* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
+
+/* $Id$ */
//---------------------------------------------------------------------
// Jet class
#include "AliJet.h"
ClassImp(AliJet)
-
-
-AliJet::AliJet()
+
+AliJet::AliJet():
+ fNInput(0),
+ fNJets(0),
+ fEtAvg(0),
+ fInJet(0),
+ fMultiplicities(0),
+ fNCells(0),
+ fPtFromSignal(0),
+ fJets(0),
+ fEtaIn(0),
+ fPhiIn(0),
+ fPtIn(0)
{
- // Constructor
+ // Default constructor
fJets = new TClonesArray("TLorentzVector",1000);
- fNInput=0;
- fNJets=0;
- fEtAvg = 0;
- fInJet=TArrayI();
- fPtIn=TArrayF();
- fEtaIn=TArrayF();
- fPhiIn=TArrayF();
- fPtFromSignal=TArrayF();
- fMultiplicities=TArrayI();
- fNCells=TArrayI();
+ fInJet = TArrayI();
+ fPtIn = TArrayF();
+ fEtaIn = TArrayF();
+ fPhiIn = TArrayF();
+ fPtFromSignal = TArrayF();
+ fMultiplicities = TArrayI();
+ fNCells = TArrayI();
}
////////////////////////////////////////////////////////////////////////
// a jet, if n,positive, it was assiged to jet n
// if n, negative, it is within cone of jet n, but
// it did not passed the user cuts. filled in by AliJetFinder
-
if (fNInput>0) fInJet.Set(fNInput, j);
}