]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for compatibility with CTP configuration file
authorcheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Jun 2009 09:50:15 +0000 (09:50 +0000)
committercheynis <cheynis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Jun 2009 09:50:15 +0000 (09:50 +0000)
VZERO/AliVZEROTrigger.cxx
VZERO/AliVZEROTrigger.h

index ced1cd82cc9555e69f3c0c6900ff35e750a5ed36..5b4490477918802043a8b2b263acb53e5af6367f 100644 (file)
@@ -64,7 +64,13 @@ void AliVZEROTrigger::CreateInputs()
        fInputs.AddLast( new AliTriggerInput( "VZERO_BBC",   "VZERO", 0 ) );
        fInputs.AddLast( new AliTriggerInput( "VZERO_BGA_OR_BGC",   "VZERO", 0 ) );
        fInputs.AddLast( new AliTriggerInput( "VZERO_BEAMGAS",   "VZERO", 0 ) );
-       
+
+       // The following are kept for compatibility with the CTP configuration file. Will have to be removed at some point
+       fInputs.AddLast( new AliTriggerInput( "VZERO_AND", "VZERO", 0 ) );
+       fInputs.AddLast( new AliTriggerInput( "VZERO_OR","VZERO", 0 ) );
+       fInputs.AddLast( new AliTriggerInput( "VZERO_LEFT",   "VZERO", 0 ) );
+       fInputs.AddLast( new AliTriggerInput( "VZERO_RIGHT",   "VZERO", 0 ) );
+
 }
 
 //______________________________________________________________________
@@ -111,6 +117,13 @@ void AliVZEROTrigger::Trigger()
        if(triggerSimulator->GetBGAorBGC())             SetInput( "VZERO_BGA_OR_BGC" );
        if(triggerSimulator->GetBeamGas())              SetInput( "VZERO_BEAMGAS" );
 
+       // The following are kept for compatibility with the CTP configuration file. Will have to be removed at some point
+       if(triggerSimulator->GetBBAandBBC())    SetInput( "VZERO_AND" );
+       if(triggerSimulator->GetBBAorBBC())             SetInput( "VZERO_OR" );
+       if(triggerSimulator->GetBBA())                  SetInput( "VZERO_LEFT" );
+       if(triggerSimulator->GetBBC())                  SetInput( "VZERO_RIGHT" );
+
   return;
 }
 
+
index dfe6d16b62b75ee4898caf7e6993612d9cbcfad4..2c776bb7298003efa9cd9b17bdea9efe9bbebf93 100644 (file)
@@ -21,3 +21,4 @@ class AliVZEROTrigger : public AliTriggerDetector
 };
 
 #endif // AliVZEROTrigger_H
+