/* History of cvs commits:
*
* $Log$
+ * Revision 1.11 2006/01/12 17:01:00 schutz
+ * Correct few coding violations, missing comments
+ *
+ * Revision 1.9 2005/12/20 07:31:51 schutz
+ * added data members
+ *
* Revision 1.7 2005/05/28 14:19:04 schutz
* Compilation warnings fixed by T.P.
*
#include "TRandom.h"
#include "TArrayD.h"
#include "AliESD.h"
+#include "TChain.h"
class AliPHOSFastGlobalReconstruction ;
+
//#include "../PYTHIA6/AliGenPythia.h"
+
// --- AliRoot header files ---
class AliPHOSGammaJet : public TTask {
AliPHOSGammaJet() ; // default ctor
AliPHOSGammaJet(const TString inputfilename) ; //ctor
AliPHOSGammaJet(const AliPHOSGammaJet & gj) ; // cpy ctor
- AliPHOSGammaJet & operator = (const AliPHOSGammaJet & /*rvalue*/)
- { return *this ;} //assignement operator requested by coding convention but not needed
+
virtual ~AliPHOSGammaJet() ; //virtual dtor
virtual void Exec(Option_t *option);
void List() const;
void SetDirPattern(char * dp) { fPattern = dp ; }
private:
+ AliPHOSGammaJet & operator = (const AliPHOSGammaJet & /*rvalue*/)
+ { return *this ;}
+
+
// void AddHIJINGToList(TList & particleList, TList & particleListCh,
// TList & particleListNe, const Int_t iEvent,
// const TLorentzVector gamma, Double_t & rot );
void Pi0Decay(Double_t mPi0, TLorentzVector &p0,
TLorentzVector &p1, TLorentzVector &p2, Double_t &angle) ;
+
+ TChain * ReadESDfromdisk(const UInt_t eventsToRead,
+ const TString dirName,
+ const TString esdTreeName = "esdTree",
+ const char * pattern = "Evt") ;
+ TChain * ReadESD(const UInt_t eventsToRead = 1,
+ TString fileName = "",
+ const TString esdTreeName = "esdTree",
+ const char * pattern = "Evt" ) ;
+
Double_t SigmaE(Double_t energy) ;
Double_t SigmaP(Double_t energy) ;
-
+
void SetJet(TParticle * part, Bool_t & b, Float_t cone, Double_t eta,
Double_t phi);
Bool_t fTPCCutsLikeEMCAL ; //Same jet energy ratio limits for both conf.
//Read ESD Paramenters
- TString fDirName ;
- TString fESDTree ;
- char * fPattern ;
+ TString fDirName ; //Name of the directory where data is
+ TString fESDTree ; //Name of the ESD Tree
+ char * fPattern ; //Pattern followed by directory data
//Jet selection parameters
//Fixed cuts (old)