X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=VZERO%2FAliVZEROTrigger.cxx;h=98c4e3879b8cd40c04b63b5fcaf2809c100cb195;hb=2bc635c90635c72c650637f4ee0d7cfba9e358fc;hp=be57aae54c79b6b6a9548078ae86f1c620bd5e55;hpb=2ff50a8f0b3fe43485c82befac3f152d29aefb5b;p=u%2Fmrichter%2FAliRoot.git diff --git a/VZERO/AliVZEROTrigger.cxx b/VZERO/AliVZEROTrigger.cxx index be57aae54c7..98c4e3879b8 100644 --- a/VZERO/AliVZEROTrigger.cxx +++ b/VZERO/AliVZEROTrigger.cxx @@ -1,3 +1,22 @@ +/************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +/* $Id$ */ + +#include + #include "AliRun.h" #include "AliRunLoader.h" @@ -35,12 +54,12 @@ void AliVZEROTrigger::CreateInputs() // Do not create inputs again!! if( fInputs.GetEntriesFast() > 0 ) return; - fInputs.AddLast( new AliTriggerInput( "VZERO_LEFT", "At least one hit in the left VZERO", 0x01 ) ); - fInputs.AddLast( new AliTriggerInput( "VZERO_RIGHT","At least one hit in the right VZERO", 0x02 ) ); - fInputs.AddLast( new AliTriggerInput( "VZERO_AND", "At least one hit in the each (left and right) VZERO", 0x04 ) ); - fInputs.AddLast( new AliTriggerInput( "VZERO_OR", "At least one hit in the one (left one right) VZERO", 0x08 ) ); + fInputs.AddLast( new AliTriggerInput( "VZERO_LEFT", "VZERO", 0 ) ); + fInputs.AddLast( new AliTriggerInput( "VZERO_RIGHT","VZERO", 0 ) ); + fInputs.AddLast( new AliTriggerInput( "VZERO_AND", "VZERO", 0 ) ); + fInputs.AddLast( new AliTriggerInput( "VZERO_OR", "VZERO", 0 ) ); - fInputs.AddLast( new AliTriggerInput( "VZERO_BEAMGAS", "Beam gas VZERO trigger ", 0x010 ) ); + fInputs.AddLast( new AliTriggerInput( "VZERO_BEAMGAS", "VZERO", 0 ) ); } //______________________________________________________________________ @@ -85,11 +104,11 @@ void AliVZEROTrigger::Trigger() Float_t tdc = digit->Time(); // in 100 of picoseconds if (PMNumber<=31 && adc>fAdcThresHold) { - if (tdc>(30.0-TimeHalfWidth) && tdc<(30.0+TimeHalfWidth)) nRightDig++; + if (tdc>(29.0-TimeHalfWidth) && tdc<(29.0+TimeHalfWidth)) nRightDig++; if (tdc=32 && adc>fAdcThresHold) { - if (tdc>(114.0-TimeHalfWidth) && tdc<(114.0+TimeHalfWidth)) nLeftDig++; + if (tdc>(112.0-TimeHalfWidth) && tdc<(112.0+TimeHalfWidth)) nLeftDig++; if (tdc