1 // $Id: AliPhJPhotonList.h,v 1.4 2008/05/08 13:44:45 djkim Exp $
3 ////////////////////////////////////////////////////
5 \file AliPhJPhotonList.h
7 \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
9 \version $Revision: 1.4 $
10 \date $Date: 2008/05/08 13:44:45 $
12 ////////////////////////////////////////////////////
14 #ifndef ALIPHJPHOTONLIST_H
15 #define ALIPHJPHOTONLIST_H
18 #include "TClonesArray.h"
23 #include "AliPhJPhoton.h"
24 #include "AliJPhoton.h"
30 class AliPhJPhotonList : public TObject {
34 AliPhJPhotonList(expName exp);
35 AliPhJPhotonList(const AliPhJPhotonList& a);
36 virtual ~AliPhJPhotonList();
41 unsigned short GetNPhotons() const { return fPhotons; }
42 AliPhJPhoton* GetPhoton(const unsigned int iph);
43 AliJPhoton* GetAliJPhoton(const unsigned int iph); // ALICE getter
45 void SetNPhotons(const unsigned short nph) { fPhotons = nph; }
46 int SetTClonesArraySize(const unsigned int nph);
48 void AddAliJPhoton(const unsigned int iph); // ALICE add
50 AliPhJPhotonList& operator=(const AliPhJPhotonList& list);
53 TClonesArray *GetList() const { return fPhotonList; }
54 TClonesArray *fPhotonList; //photon list
55 unsigned short fPhotons; //number of photons in the list
58 ClassDef(AliPhJPhotonList,1);