]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Processing SPD Mean Vertex only in PHYSICS runs.
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Jan 2010 08:42:10 +0000 (08:42 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Jan 2010 08:42:10 +0000 (08:42 +0000)
STEER/AliGRPPreprocessor.cxx

index 0bf8292c28212df7f658095fd0ebb8aa7a0a8bf3..303597d0eb2f0a42c676ca938b903f3a2ea761ca 100644 (file)
@@ -513,14 +513,19 @@ UInt_t AliGRPPreprocessor::Process(TMap* valueMap)
        //==================//
        // SPD Mean Vertex  //
        //==================//
-       UInt_t iSPDMeanVertex = ProcessSPDMeanVertex();
-       if( iSPDMeanVertex == 1 ) {
-               Log(Form("SPD Mean Vertex, successful!"));
-       } else {
-               Log(Form("SPD Mean Vertex failed!!!"));
-               error |= 128; 
+       if (runType == "PHYSICS"){
+               UInt_t iSPDMeanVertex = ProcessSPDMeanVertex();
+               if( iSPDMeanVertex == 1 ) {
+                       Log(Form("SPD Mean Vertex, successful!"));
+               } else {
+                       Log(Form("SPD Mean Vertex failed!!!"));
+                       error |= 128; 
+               }
        }
-       
+       else {
+               Log("SPD Mean Vertex not processed since runType != PHYSICS");
+       }
+
        if (result && !error ) {
                Log("GRP Preprocessor Success");
                return 0;