]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
including track mult to the tree
authormcosenti <mcosenti@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Nov 2012 14:01:59 +0000 (14:01 +0000)
committermcosenti <mcosenti@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Nov 2012 14:01:59 +0000 (14:01 +0000)
PWGGA/EMCALTasks/AliAnalysisTaskEMCALIsoPhoton.h
PWGGA/EMCALTasks/AliAnalysisTaskEMCALPhoton.cxx
PWGGA/EMCALTasks/AliAnalysisTaskEMCALPhoton.h

index 192335462de374abed526f6be067e970da19738b..174aadfc488847f299b4b0e34632b7ecaeb1cfd9 100644 (file)
@@ -37,7 +37,7 @@ class AliAnalysisTaskEMCALIsoPhoton : public AliAnalysisTaskSE {
   void                   GetTrIso(TVector3 vec, Float_t &iso, Float_t &phiband, Float_t &core);
   void                   FillClusHists();
   void                   FillMcHists();
-  Float_t                   GetClusSource(const AliVCluster *cluster);
+  Float_t                GetClusSource(const AliVCluster *cluster);
   void                   FollowGamma();
   void                   GetDaughtersInfo(const int firstd, const int lastd, const int selfid, const char *indputindent);
   void                   SetExotCut(Double_t c)                 { fExoticCut          = c;       }
index fc0bbf7d6034bed7939a385bf2a77a4333473401..0381fd548c4f5f3c66dfdff0d7d76bce2533a5df 100644 (file)
@@ -310,6 +310,9 @@ void AliAnalysisTaskEMCALPhoton::UserExec(Option_t *)
   fHeader->fNClus = fCaloClusters->GetEntries();
   fEMCalCells = fESD->GetEMCALCells();
   fHeader->fNCells = fEMCalCells->GetNumberOfCells();
+  AliESDtrackCuts *fTrackCuts = new AliESDtrackCuts();
+  fHeader->fTrackMult = fTrackCuts->GetReferenceMultiplicity(fESD);//kTrackletsITSTPC ,0.5); 
+
   fMCEvent = MCEvent();
   if(fMCEvent)
     fStack = (AliStack*)fMCEvent->Stack();
index 5f6ca324ded8fe8ec4077c559dd1023f6f70618a..43a6d4a326d51b4a31a642d78a6eaba29a699dbf 100644 (file)
@@ -118,7 +118,7 @@ class AliPhotonHeaderObj : public TObject
 {\r
   public: AliPhotonHeaderObj() :\r
         TObject(), fTrClassMask(0), fTrCluster(0), fV0Cent(0), fV0(0), fCl1Cent(0), \r
-        fCl1(0), fTrCent(0), fTr(0), fNClus(0), fNCells(0)  {;}\r
+         fCl1(0), fTrCent(0), fTr(0), fNClus(0), fNCells(0), fTrackMult(0)  {;}\r
   public:\r
   ULong64_t     fTrClassMask;    //         trigger class mask\r
   UChar_t       fTrCluster;      //         trigger cluster mask\r
@@ -130,8 +130,9 @@ class AliPhotonHeaderObj : public TObject
   Double32_t    fTr;             //[0,0,16] tr result used for cent \r
   Int_t         fNClus;\r
   Int_t         fNCells;\r
+  Int_t         fTrackMult;\r
 \r
-  ClassDef(AliPhotonHeaderObj,2)\r
+  ClassDef(AliPhotonHeaderObj,3)\r
 };\r
 \r
 class AliPhotonConvObj : public TObject\r