separate declarations and implementation of function
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Nov 2012 13:44:32 +0000 (13:44 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 29 Nov 2012 13:44:32 +0000 (13:44 +0000)
PWGJE/macros/AddTaskJetCluster.C
PWGJE/macros/ConfigLegoTrainPWGJE.C

index c95170d..feb4b35 100644 (file)
@@ -1,11 +1,12 @@
 AliAnalysisTaskJetCluster *AddTaskJetCluster(char* bRec = "AOD",char* bGen = "",UInt_t filterMask = 16, UInt_t iPhysicsSelectionFlag = AliVEvent::kAny,Char_t *jf = "KT", Float_t radius = 0.4,Int_t nSkip = 0,Int_t kWriteAOD = kFALSE,char* deltaFile = "",Float_t ptTrackCut = 0.15, Float_t etaTrackWindow = 0.9,Float_t vertexWindow = 10.,Int_t nSkipCone = 2,Int_t dice=0,Int_t smear=0,Bool_t useOADB=kFALSE,Double_t changeEfficiencyFraction=0.);
+AliAnalysisTaskJetCluster *AddTaskJetClusterDelta(UInt_t filterMask = 16,Bool_t kUseAODMC = kFALSE,UInt_t iPhysicsSelectionFlag = AliVEvent::kMB,Char_t *jf = "KT", UInt_t iFlag);
 
 Int_t kBackgroundModeCl = 0;
 Float_t kPtTrackCutCl = 0.15;
 Float_t kTrackEtaWindowCl = 0.8;
 Float_t kVertexWindowCl = 10;
 
-AliAnalysisTaskJetCluster *AddTaskJetClusterDelta(UInt_t filterMask = 16,Bool_t kUseAODMC = kFALSE,UInt_t iPhysicsSelectionFlag = AliVEvent::kMB,Char_t *jf = "KT", UInt_t iFlag){
+AliAnalysisTaskJetCluster *AddTaskJetClusterDelta(UInt_t filterMask,Bool_t kUseAODMC,UInt_t iPhysicsSelectionFlag,Char_t *jf, UInt_t iFlag){
    AliAnalysisTaskJetCluster *js = 0;
    if(kUseAODMC&&false){// do not use the MC info yet
      if(iFlag&(1<<0))js = AddTaskJetCluster("AOD","AODMC",filterMask,iPhysicsSelectionFlag,jf,0.00001);
index 1f5c503..f648262 100644 (file)
@@ -92,7 +92,7 @@ void ConfigLegoTrainPWGJE(int iFlag = 0){
 
     AliAnalysisManager::SetGlobalInt("kPhysicsSelectionFlag",AliVEvent::kMB|AliVEvent::kAny);
     AliAnalysisManager::SetGlobalInt("kNTrigger",2);    
-    AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::Any);    
+    AliAnalysisManager::SetGlobalInt("kTriggerBit0",AliVEvent::kAny);    
     AliAnalysisManager::SetGlobalInt("kTriggerBit1",AliVEvent::kMB);    
     AliAnalysisManager::SetGlobalStr("kTriggerName0","kAny");    
     AliAnalysisManager::SetGlobalStr("kTriggerName1","kMB");