]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Modified initialisation
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Mar 2007 11:48:09 +0000 (11:48 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Mar 2007 11:48:09 +0000 (11:48 +0000)
PWG4/AliAnaGammaHadron.cxx
PWG4/AliAnaGammaIsolCut.cxx
PWG4/AliAnaGammaJet.cxx

index d20784b0483aa5f119c75279235a838d4eaf57f6..fd9fb2e3c321821da3a474e2db6bd08f1453e6be 100644 (file)
@@ -17,6 +17,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.3  2007/03/08 10:24:32  schutz
+ * Coding convention
+ *
  * Revision 1.2  2007/02/09 18:40:40  schutz
  * New version from Gustavo
  *
@@ -81,17 +84,6 @@ AliAnaGammaHadron::AliAnaGammaHadron(const char *name) :
   //Init Parameters        
   InitParameters();
 
-
-  TList * list = gDirectory->GetListOfKeys() ; 
-  TIter next(list) ; 
-  TH2F * h = 0 ;
-  Int_t index ; 
-  for (index = 0 ; index < list->GetSize()-1 ; index++) { 
-    //-1 to avoid GammaPion Task
-    h = dynamic_cast<TH2F*>(gDirectory->Get(list->At(index)->GetName())) ; 
-    fOutputContainer->Add(h) ; 
-  }
-
   // Input slot #0 works with an Ntuple
   DefineInput(0, TChain::Class());
   // Output slot #0 writes into a TH1 container
index a3d2a6a0ad7f13e9c07da6975a90ac97bc48046e..b61d126c1b60d2a8e1d70b347bbfcbd766d83b48 100644 (file)
@@ -17,6 +17,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.3  2007/03/08 10:24:32  schutz
+ * Coding convention
+ *
  * Revision 1.2  2007/02/09 18:40:40  schutz
  * B\bNew version from Gustavo
  *
@@ -68,16 +71,6 @@ ClassImp(AliAnaGammaIsolCut)
 
   //Init parameters
   InitParameters();
-        
-  TList * list = gDirectory->GetListOfKeys() ; 
-  TIter next(list) ; 
-  TH2F * h = 0 ;
-  Int_t index ; 
-  for (index = 0 ; index < list->GetSize()-1 ; index++) { 
-    //-1 to avoid GammaJet Task
-    h = dynamic_cast<TH2F*>(gDirectory->Get(list->At(index)->GetName())) ; 
-    fOutputContainer->Add(h) ; 
-  }
   
   // Input slot #0 works with an Ntuple
   DefineInput(0, TChain::Class());
index 555439eb825ba2f22e9ce2bb965d441f16bf57c1..04c071a2afd2a3f7e95ea21a78ac74bb11f302fb 100644 (file)
@@ -17,6 +17,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.3  2007/03/08 10:24:32  schutz
+ * Coding convention
+ *
  * Revision 1.2  2007/02/09 18:40:40  schutz
  * B\bNew version from Gustavo
  *
@@ -112,16 +115,6 @@ AliAnaGammaJet::AliAnaGammaJet(const char *name) :
   //Init parameters
   InitParameters();
 
-  TList * list = gDirectory->GetListOfKeys() ; 
-  TIter next(list) ; 
-  TH2F * h = 0 ;
-  Int_t index ; 
-  for (index = 0 ; index < list->GetSize()-1 ; index++) { 
-    //-1 to avoid GammaJet Task
-    h = dynamic_cast<TH2F*>(gDirectory->Get(list->At(index)->GetName())) ; 
-    fOutputContainer->Add(h) ; 
-  }
-
   // Input slot #0 works with an Ntuple
   DefineInput(0, TChain::Class());
   // Output slot #0 writes into a TH1 container