Simulation of the RPC Trigger Logic

Code Structure

TriggerAlgorithm.cpp

This class is the basic building block of the trigger simulation structure. It allows you to define the number of gas gaps in a single trigger tower you require to be hit for each of the 3 RPCs.

How to initialize an object Constructor takes 7 arguments. These arguments are, in order,

  • # of gas gaps required for RPC1
  • # of gas gaps required for RPC2
  • # of gas gaps required for RPC3
  • Require both eta and phi for RPC1?
  • Require both eta and phi for RPC2?
  • Require both eta and phi for RPC3?
  • Width of road with which strips can be looked at (in strip #)

Example:

TriggerAlgorithm* trig = new TriggerAlgorithm(2, 1, 0, true, true, false, 1000);

Note: In general, you will probably not use the TriggerAlgorithm class directly. To represent a true trigger logic that we use, you create a wrapper class that combines 1 or more of these. An example of such a class is the LowPtTrigger.cpp, described below.

-- TomoLazovich - 30 Jul 2009

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2009-07-30 - TomoLazovich
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback