changed output file name to lower case
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Sep 2009 15:05:08 +0000 (15:05 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Sep 2009 15:05:08 +0000 (15:05 +0000)
PWG4/macros/AddTaskJets.C

index ba5cdd7..da9f831 100644 (file)
@@ -46,10 +46,14 @@ AliAnalysisTaskJets *AddTaskJets(Char_t *jr, Char_t *jf, Float_t radius)
    jetana = new AliAnalysisTaskJets(Form("JetAnalysis%s%s%s",jr,jf,cRadius));\r
    TString type = mgr->GetInputEventHandler()->GetDataType();\r
    if (type == "AOD") jetana->SetNonStdBranch(Form("jets%s",jf));\r
-\r
    \r
-   AliAnalysisDataContainer *cout_jet = mgr->CreateContainer(Form("jethist%s%s%s",jr,jf,cRadius), TList::Class(),\r
-                                                            AliAnalysisManager::kOutputContainer, Form("jethist%s_%s%s.root",jr,jf,cRadius));\r
+   TString c_jr(jr);\r
+   c_jr.ToLower();\r
+   TString c_jf(jf);\r
+   c_jf.ToLower();\r
+\r
+   AliAnalysisDataContainer *cout_jet = mgr->CreateContainer(Form("jethist%s%s%s",c_jr.Data(),c_jf.Data(),cRadius), TList::Class(),\r
+                                                            AliAnalysisManager::kOutputContainer, Form("jethist_%s_%s%s.root",c_jr.Data(),c_jf.Data(),cRadius));\r
    // Connect jet finder to task.\r
    jetana->SetJetFinder(jetFinder);\r
    jetana->SetConfigFile("");\r
@@ -96,6 +100,13 @@ AliJetFinder *CreateJetFinder(Char_t *jf,Float_t radius){
     jh->SetRparam(0.4); // setup parameters                                  \r
     if(radius>0)jh->SetRparam(radius);\r
     jh->SetAlgorithm(2); // antikt from fastjet/JetDefinition.hh\r
+    // tmp CKB for checking with leticia\r
+    jh->SetRparam(0.2); // setup parameters \r
+    jh->SetPtMin(0.); \r
+    jh->SetRapRange(-0.9,0.9); \r
+    jh->SetGhostArea(0.01); \r
+    jh->SetGhostEtaMax(7.);\r
+    // BKC\r
     jetFinder = new AliFastJetFinder();\r
     if (jh) jetFinder->SetJetHeader(jh);\r
     break;\r