CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
RPCHalfSorter Class Reference

#include <RPCHalfSorter.h>

Public Member Functions

void maskHSBInput (L1RpcTBMuonsVec &newVec, int mask)
 
 RPCHalfSorter (RPCTriggerConfiguration *triggerConfig)
 
L1RpcTBMuonsVec2 run (L1RpcTBMuonsVec2 &tcsMuonsVec2, edm::ESHandle< L1RPCHsbConfig > hsbConf)
 
L1RpcTBMuonsVec2 runHalf (L1RpcTBMuonsVec2 &tcsMuonsVec2)
 

Private Attributes

L1RpcTBMuonsVec2 m_GBOutputMuons
 
RPCTriggerConfigurationm_TrigCnfg
 

Detailed Description

Emulates HalfSorter (currently both of them ;-) )

Author
Tomasz Fruboes (based on code by Karol Bunkowski)

Definition at line 16 of file RPCHalfSorter.h.

Constructor & Destructor Documentation

RPCHalfSorter::RPCHalfSorter ( RPCTriggerConfiguration triggerConfig)

Defualt constructor

Definition at line 17 of file RPCHalfSorter.cc.

Member Function Documentation

void RPCHalfSorter::maskHSBInput ( L1RpcTBMuonsVec newVec,
int  mask 
)

Definition at line 104 of file RPCHalfSorter.cc.

L1RpcTBMuonsVec2 RPCHalfSorter::run ( L1RpcTBMuonsVec2 tcsMuonsVec2,
edm::ESHandle< L1RPCHsbConfig hsbConf 
)

Runs runHalf() for 2 detecors parts. Converts m_tower number (eta addr) from continous (0 - 32, m_tower 0 = 16) to 2'complement.

Returns
4 munons from barrel (m_GBOutputMuons[0]), and 4 from endcaps (m_GBOutputMuons[1]).

Definition at line 134 of file RPCHalfSorter.cc.

Referenced by RPCPacTrigger::runEvent().

L1RpcTBMuonsVec2 RPCHalfSorter::runHalf ( L1RpcTBMuonsVec2 tcsMuonsVec2)

Runs GB algorithm for half of the detector - 6 TC (sectors).

Returns
4 munons from barrel (m_GBOutputMuons[0]), and 4 from endcaps (m_GBOutputMuons[1]).

Definition at line 30 of file RPCHalfSorter.cc.

Member Data Documentation

L1RpcTBMuonsVec2 RPCHalfSorter::m_GBOutputMuons
private

Definition at line 28 of file RPCHalfSorter.h.

RPCTriggerConfiguration* RPCHalfSorter::m_TrigCnfg
private

Definition at line 30 of file RPCHalfSorter.h.