Fixing coding violations
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 4 Jul 2010 18:57:16 +0000 (18:57 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 4 Jul 2010 18:57:16 +0000 (18:57 +0000)
PWG4/JetTasks/AliAnalysisTaskJetChem.cxx

index b563753..473a929 100644 (file)
@@ -429,8 +429,10 @@ void  AliAnalysisTaskJetChem::AnalyseEvent()
     return; 
   }
     
-    
-  if(primVertex->GetName() == "TPCVertex"){
+  TString primVtxName(primVertex->GetName());
+  
+  if(primVtxName.CompareTo("TPCVertex",TString::kIgnoreCase) == 1){
+
     AliInfo("found TPC prim Vertex  - skip event");
     fhPrimVertexNCont->Fill(-1);
     return;