Fix of CINT1 lumi histogram
authormbroz <Michal.Broz@cern.ch>
Wed, 12 Nov 2014 12:12:43 +0000 (13:12 +0100)
committermbroz <Michal.Broz@cern.ch>
Wed, 12 Nov 2014 12:12:43 +0000 (13:12 +0100)
PWGUD/UPC/AliAnalysisTaskUpcPsi2s.cxx

index 5e631a7..248461c 100644 (file)
@@ -514,7 +514,9 @@ void AliAnalysisTaskUpcPsi2s::RunAODtrig()
   if(trigger.Contains("CCUP2-B")) fHistCcup2TriggersPerRun->Fill(fRunNum); //CCUP2 triggers
   
   if(trigger.Contains("CINT1")) fHistCint1TriggersPerRun->Fill(fRunNum); //CINT1 triggers
-  if(trigger.Contains("CINT1") && trigger.Contains("C0TVX")) fHistC0tvxAndCint1TriggersPerRun->Fill(fRunNum); //C0TVX triggers in CINT1 events
+  
+  fL0inputs = aod->GetHeader()->GetL0TriggerInputs();
+  if(trigger.Contains("CINT1") && (fL0inputs & (1 << 3))) fHistC0tvxAndCint1TriggersPerRun->Fill(fRunNum); //0TVX triggers in CINT1 events
   
   if(trigger.Contains("CVLN_B2-B")) fHistCvlnTriggersPerRun->Fill(fRunNum); //CVLN triggers - synchronously downscaled
   if(trigger.Contains("CVLN_R1-B")) fHistCvlnTriggersPerRun->Fill(fRunNum); //CVLN triggers - randomly downscaled