changes in .pkg for chaoticity task + remove couts
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Jul 2012 14:21:40 +0000 (14:21 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Jul 2012 14:21:40 +0000 (14:21 +0000)
PWGCF/FEMTOSCOPY/Chaoticity/AliChaoticity.cxx
PWGCF/FEMTOSCOPY/macros/AddTaskChaoticity.C
PWGCF/PWGCFChaoticityLinkDef.h

index 3d0ffd7..c0f5e69 100644 (file)
@@ -1089,7 +1089,7 @@ void AliChaoticity::Exec(Option_t *)
 {
   // Main loop
   // Called for each event
-  cout<<"===========  Event # "<<fEventCounter+1<<"  ==========="<<endl;
+  //cout<<"===========  Event # "<<fEventCounter+1<<"  ==========="<<endl;
   fEventCounter++;
 
   if(fAODcase) fAOD = dynamic_cast<AliAODEvent*> (InputEvent());
@@ -1103,12 +1103,12 @@ void AliChaoticity::Exec(Option_t *)
   // Trigger Cut
   if(fAOD->GetRunNumber() >= 136851 && fAOD->GetRunNumber() <= 139517){// 10h data
   Bool_t isSelected1 = (((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kMB);
-  if(!isSelected1 && !fMCcase) {cout<<"Event Rejected"<<endl; return;}
+  if(!isSelected1 && !fMCcase) {/*cout<<"Event Rejected"<<endl;*/ return;}
   }if(fAOD->GetRunNumber() >= 167693 && fAOD->GetRunNumber() <= 170593){// 11h data
     Bool_t isSelected1 = (((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kCentral);
     Bool_t isSelected2 = (((AliInputEventHandler*)(AliAnalysisManager::GetAnalysisManager()->GetInputEventHandler()))->IsEventSelected() & AliVEvent::kSemiCentral);
-    if(!isSelected1 && !isSelected2 && !fMCcase) {cout<<"Event Rejected"<<endl; return;}
-  }else {cout<<"Event Rejected"<<endl; return;}
+    if(!isSelected1 && !isSelected2 && !fMCcase) {/*cout<<"Event Rejected"<<endl;*/ return;}
+  }else {/*cout<<"Event Rejected"<<endl;*/ return;}
 
   ///////////////////////////////////////////////////////////
   const AliAODVertex *primaryVertexAOD;
index 9bbb79d..33c3148 100644 (file)
@@ -10,7 +10,7 @@ AliChaoticity *AddTaskChaoticity(bool MCcase=kFALSE, bool Tabulatecase=kFALSE, b
   //____________________________________________//
   // Create tasks
   AliChaoticity *ChaoticityTask = new AliChaoticity("ChaoticityTask", MCcase, Tabulatecase, PbPbcase, CentLow, CentHigh);
-  if(!XiStarTask) exit(-1);
+  if(!ChaoticityTask) exit(-1);
   mgr->AddTask(ChaoticityTask);
 
 
@@ -19,7 +19,7 @@ AliChaoticity *AddTaskChaoticity(bool MCcase=kFALSE, bool Tabulatecase=kFALSE, b
   //==============================================================================
   TString outputFileName = AliAnalysisManager::GetCommonFileName();
   outputFileName += ":PWGCF.outputChaoticityAnalysis.root";
-  AliAnalysisDataContainer *coutXiStar = mgr->CreateContainer("ChaoticityOutput", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());
+  AliAnalysisDataContainer *coutChaoticity = mgr->CreateContainer("ChaoticityOutput", TList::Class(),AliAnalysisManager::kOutputContainer,outputFileName.Data());
   mgr->ConnectInput(ChaoticityTask, 0, mgr->GetCommonInputContainer());
   mgr->ConnectOutput(ChaoticityTask, 1, coutChaoticity);
   
index 759a1d3..dfb9ad3 100644 (file)
@@ -4,3 +4,8 @@
 
 #pragma link C++ class AliChaoticity+;
 #pragma link C++ class AliChaoticityEventCollection+;
+#pragma link C++ class AliChaoticityEventStruct+;
+#pragma link C++ class AliChaoticityTrackStruct+;
+#pragma link C++ class AliChaoticityMCStruct+;
+#pragma link C++ class AliChaoticityPairStruct+;
+#pragma link C++ class AliChaoticityNormPairStruct+;