1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 /* $Id: AliTRDTriggerL0.cxx 31904 2009-04-08 16:42:03Z cblume $ */
18 ///////////////////////////////////////////////////////////////////////////////
20 // TRD trigger L0 (pretrigger) simulation //
21 // So far no real trigger decision is done. //
23 ///////////////////////////////////////////////////////////////////////////////
25 #include "TObjArray.h"
28 #include "AliTriggerInput.h"
29 #include "AliRunLoader.h"
30 #include "AliLoader.h"
32 #include "AliTRDTriggerL0.h"
34 AliTRDTriggerL0::AliTRDTriggerL0()
39 AliTRDTriggerL0::~AliTRDTriggerL0()
44 void AliTRDTriggerL0::CreateInputs()
46 if (fInputs.GetEntriesFast() > 0)
49 fInputs.AddLast(new AliTriggerInput("0HMB", "TRD", 1)); // whatever should be there
52 void AliTRDTriggerL0::Trigger()
55 AliRunLoader *runLoader = AliRunLoader::Instance();
58 AliLoader *trdLoader = runLoader->GetLoader("TRDLoader");
62 // here comes the actual pretrigger simulation