Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:40

0001 #ifndef L1Trigger_RPCTCGhostBusterSorter_h
0002 #define L1Trigger_RPCTCGhostBusterSorter_h
0003 /** \class RPCTCGhostBusterSorter
0004   * Peformes the Trigger Crate Ghost Buster and sorter algorithm.
0005   * Because the class does not keep any data and GB is the same for every TC,
0006   * there might be one and the same object of this class for all TCs.
0007   * \author Karol Bunkowski (Warsaw)
0008   */
0009 
0010 #include "L1Trigger/RPCTrigger/interface/RPCTBMuon.h"
0011 #include "L1Trigger/RPCTrigger/interface/RPCTriggerConfiguration.h"
0012 
0013 //---------------------------------------------------------------------------
0014 class RPCTCGhostBusterSorter {
0015 public:
0016   RPCTCGhostBusterSorter(RPCTriggerConfiguration* triggerConfig);
0017 
0018   /** Peformes the Trigger Crate Ghost Buster and sorter algorithm -
0019     * in eta between TB of one TC.
0020     * Coverts muons etaAddr from 2bit tow num on TB (0-2 or 0-3)
0021     * to continous m_tower number (etaAddr) (0 - 32, tower0 = 16)
0022     * @return always 4 muons*/
0023   L1RpcTBMuonsVec run(L1RpcTBMuonsVec2& tbMuonsVec);
0024 
0025 private:
0026   RPCTriggerConfiguration* m_TriggerConfig;
0027 };
0028 #endif