Added PostData in UserCreateOutputObjects (Chiara)
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Apr 2011 21:33:29 +0000 (21:33 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Apr 2011 21:33:29 +0000 (21:33 +0000)
PWG3/vertexingHF/AliCFTaskVertexingHF.cxx

index 12d664a..bfb6cf0 100644 (file)
@@ -304,8 +304,7 @@ void AliCFTaskVertexingHF::UserExec(Option_t *)
        
        PostData(1,fHistEventsProcessed) ;
        PostData(2,fCFManager->GetParticleContainer()) ;
-       PostData(3,fCorrelation) ;
-       
+       PostData(3,fCorrelation) ;      
 
        if (fFillFromGenerated){
                AliWarning("Flag to fill container with generated value ON ---> dca, d0pi, d0K, d0xd0, cosPointingAngle will be set as dummy!");
@@ -958,6 +957,11 @@ void AliCFTaskVertexingHF::UserCreateOutputObjects()
        //slot #1
        OpenFile(1);
        fHistEventsProcessed = new TH1I("CFHFchist0","",1,0,1) ;
+
+       PostData(1,fHistEventsProcessed) ;
+       PostData(2,fCFManager->GetParticleContainer()) ;
+       PostData(3,fCorrelation) ;
+
 }