]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0Trigger.cxx
Fix for bug #75040: Trunk doesn't compile with gcc 4.5.1
[u/mrichter/AliRoot.git] / T0 / AliT0Trigger.cxx
index 47ab1c99e6aeac1bf5ba5e85e2d58e984fbe0a4e..8fd9a54685e367ae5d7f7e6890bfb67df7085358 100644 (file)
@@ -47,7 +47,8 @@ ClassImp(AliT0Trigger)
 AliT0Trigger::AliT0Trigger()
   : AliTriggerDetector(),
     fT0(0x0),
-    fDigits(0x0)
+  fDigits(0x0),
+  fTrigPar(0x0) 
 {
    SetName("T0");
    CreateInputs();
@@ -70,9 +71,9 @@ void AliT0Trigger::CreateInputs()
    // Do not create inputs again!!
    if( fInputs.GetEntriesFast() > 0 ) return;
    
-   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( "0T0A", "T0",  0 ) );
+   fInputs.AddLast( new AliTriggerInput( "0T0C", "T0", 0 ) );
+   fInputs.AddLast( new AliTriggerInput( "0TVX", "T0", 0 ) );
    fInputs.AddLast( new AliTriggerInput( "T0_Centr_L0", "T0",  0 ) );
    fInputs.AddLast( new AliTriggerInput( "T0_SemiCentral_L0", "T0",  0 ) );
 
@@ -116,10 +117,10 @@ void AliT0Trigger::Trigger()
   Int_t ampCentr = fTrigPar->GetAmpCentr(); 
   Int_t ampSemiCentr =  fTrigPar->GetAmpSemiCentr();
 
-  if (besttimeA > 0 && besttimeA <99999)  SetInput("T0_A_L0");
-  if (besttimeC > 0  && besttimeC<99999)   SetInput("T0_C_L0"); 
+  if (besttimeA > 0 && besttimeA <99999)  SetInput("0T0A");
+  if (besttimeC > 0  && besttimeC<99999)   SetInput("0T0C"); 
   //6093 corrsponds to vertex -20cm, 6202 vertex +20 with delay 150nc eqalized on the TVDC unit 
-  if (timeDiff >timeWindowLow && timeDiff < timeWindowHigh) SetInput("T0_Vertex_L0");
+  if (timeDiff >timeWindowLow && timeDiff < timeWindowHigh) SetInput("0TVX");
   if (sumMult > ampCentr)  SetInput("T0_Centr_L0");
   if (sumMult> ampSemiCentr && sumMult <= ampCentr) SetInput("T0_SemiCentral_L0");;