Skip to content

Commit

Permalink
ALIROOT-5953 T0_C_L0 T0_A_L0 and T0_Vertex_L0 trigger inputs for simu…
Browse files Browse the repository at this point in the history
…lations set
  • Loading branch information
AllaMaevskaya authored and hristov committed Apr 21, 2015
1 parent e8650ab commit 0f8c3a8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions T0/AliT0Trigger.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ void AliT0Trigger::CreateInputs()
// Do not create inputs again!!
if( fInputs.GetEntriesFast() > 0 ) return;

fInputs.AddLast( new AliTriggerInput( "0T0A", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "0T0C", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "0TVX", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "T0_A_L0", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "T0_C_L0", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "T0_Vertex_L0", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "T0_Centr_L0", "T0", 0 ) );
fInputs.AddLast( new AliTriggerInput( "T0_SemiCentral_L0", "T0", 0 ) );

Expand Down Expand Up @@ -118,10 +118,10 @@ void AliT0Trigger::Trigger()
Int_t ampCentr = fTrigPar->GetAmpCentr();
Int_t ampSemiCentr = fTrigPar->GetAmpSemiCentr();

if (besttimeA > 0 && besttimeA <99999) SetInput("0T0A");
if (besttimeC > 0 && besttimeC<99999) SetInput("0T0C");
if (besttimeA > 0 && besttimeA <99999) SetInput("T0_A_L0");
if (besttimeC > 0 && besttimeC<99999) SetInput("T0_C_L0");
//6093 corrsponds to vertex -20cm, 6202 vertex +20 with delay 150nc eqalized on the TVDC unit
if (timeDiff >timeWindowLow && timeDiff < timeWindowHigh) SetInput("0TVX");
if (timeDiff >timeWindowLow && timeDiff < timeWindowHigh) SetInput("T0_Vertex_L0");
if (sumMult > ampCentr) SetInput("T0_Centr_L0");
if (sumMult> ampSemiCentr && sumMult <= ampCentr) SetInput("T0_SemiCentral_L0");;

Expand Down

0 comments on commit 0f8c3a8

Please sign in to comment.