Adding cuts on vertex contributors (for pA and PileUp rejection) to AliFemto (ESD...
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemto / AliFemtoQinvCorrFctn.cxx
index 1a4e500..ac29d09 100644 (file)
@@ -217,10 +217,9 @@ void AliFemtoQinvCorrFctn::AddRealPair(AliFemtoPair* pair){
       //AliWarning("Could not get AODInputHandler");
     }
     else {
-      AliAODEvent *fAOD // = new AliAODEvent()
-        ;
-      magsign = fAOD->GetMagneticField();
+      AliAODEvent *fAOD; // = new AliAODEvent()
       fAOD = aodH->GetEvent();
+      magsign = fAOD->GetMagneticField();
     }