![]() |
![]() |
#include <CSCMotherboardME3141RPC.h>
Public Types | |
enum | MEX1Station { ME31 = 1, ME41 } |
Private Types | |
typedef std::pair< unsigned int, const RPCDigi * > | RPCDigiBX |
typedef std::map< int, RPCDigisBX > | RPCDigis |
typedef std::vector< RPCDigiBX > | RPCDigisBX |
Static Private Attributes | |
static const double | lut_pt_vs_dphi_rpccsc_me31 [8][3] |
static const double | lut_pt_vs_dphi_rpccsc_me41 [8][3] |
static const double | lut_wg_me31_eta_even [96][2] |
static const double | lut_wg_me31_eta_odd [96][2] |
static const double | lut_wg_me41_eta_even [96][2] |
static const double | lut_wg_me41_eta_odd [96][2] |
Additional Inherited Members | |
![]() | |
std::unique_ptr < CSCAnodeLCTProcessor > | alct |
std::unique_ptr < CSCCathodeLCTProcessor > | clct |
![]() | |
enum | { MAX_LCT_BINS = 16 } |
![]() | |
void | checkConfigParameters () |
CSCCorrelatedLCTDigi | constructLCTs (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) |
void | correlateLCTs (CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT) |
void | dumpConfigParams () const |
unsigned int | encodePattern (const int ptn, const int highPt) |
unsigned int | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) |
void | testLCT () |
![]() | |
static bool | sortByGEMDphi (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
static bool | sortByQuality (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
![]() | |
unsigned int | alct_trig_enable |
unsigned int | clct_trig_enable |
bool | drop_used_alcts |
int | early_tbins |
CSCCorrelatedLCTDigi | firstLCT [MAX_LCT_BINS] |
int | infoV |
bool | isMTCC |
bool | isSLHC |
bool | isTMB07 |
int | lct_central_bx |
unsigned int | match_trig_enable |
unsigned int | match_trig_window_size |
unsigned int | mpc_block_me1a |
bool | readout_earliest_2 |
CSCCorrelatedLCTDigi | secondLCT [MAX_LCT_BINS] |
const unsigned | theEndcap |
unsigned | theRing |
const unsigned | theSector |
const unsigned | theStation |
const unsigned | theSubsector |
const unsigned | theTrigChamber |
unsigned int | tmb_l1a_window_size |
![]() | |
static const unsigned int | def_alct_trig_enable = 0 |
static const unsigned int | def_clct_trig_enable = 0 |
static const unsigned int | def_match_trig_enable = 1 |
static const unsigned int | def_match_trig_window_size = 7 |
static const unsigned int | def_mpc_block_me1a = 1 |
static const unsigned int | def_tmb_l1a_window_size = 7 |
Definition at line 21 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 23 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 25 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 24 of file CSCMotherboardME3141RPC.h.
labels for ME1a and ME1B
Enumerator | |
---|---|
ME31 | |
ME41 |
Definition at line 43 of file CSCMotherboardME3141RPC.h.
CSCMotherboardME3141RPC::CSCMotherboardME3141RPC | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Normal constructor.
Do RPC matching?
RPC matching dphi and deta
delta BX for RPC pads matching
min eta of LCT for which we require RPC match (we don't throw out LCTs below this min eta)
whether to throw out RPC-fiducial LCTs that have no rpc match
Definition at line 94 of file CSCMotherboardME3141RPC.cc.
CSCMotherboardME3141RPC::~CSCMotherboardME3141RPC | ( | ) |
Default destructor.
Definition at line 178 of file CSCMotherboardME3141RPC.cc.
int CSCMotherboardME3141RPC::assignRPCRoll | ( | double | eta | ) |
Definition at line 587 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::clear | ( | void | ) |
Clears correlated LCT and passes clear signal on to cathode and anode LCT processors.
Definition at line 182 of file CSCMotherboardME3141RPC.cc.
CSCCorrelatedLCTDigi CSCMotherboardME3141RPC::constructLCTsRPC | ( | const CSCALCTDigi & | alct, |
const CSCCLCTDigi & | clct, | ||
const RPCDigisBX & | digis = RPCDigisBX() |
||
) |
Definition at line 937 of file CSCMotherboardME3141RPC.cc.
CSCCorrelatedLCTDigi CSCMotherboardME3141RPC::constructLCTsRPC | ( | const CSCCLCTDigi & | clct, |
const RPCDigi & | rpc, | ||
int | roll, | ||
bool | oldDataFormat | ||
) |
Definition at line 958 of file CSCMotherboardME3141RPC.cc.
CSCCorrelatedLCTDigi CSCMotherboardME3141RPC::constructLCTsRPC | ( | const CSCALCTDigi & | alct, |
const RPCDigi & | rpc, | ||
bool | oldDataFormat | ||
) |
Definition at line 997 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::correlateLCTsRPC | ( | CSCALCTDigi | bestALCT, |
CSCALCTDigi | secondALCT, | ||
CSCCLCTDigi | bestCLCT, | ||
CSCCLCTDigi | secondCLCT, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2, | ||
const RPCDigisBX & | digis = RPCDigisBX() |
||
) |
Definition at line 904 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::correlateLCTsRPC | ( | CSCCLCTDigi | bestCLCT, |
CSCCLCTDigi | secondCLCT, | ||
RPCDigi | rpcDigi, | ||
int | roll, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2 | ||
) |
Definition at line 848 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::correlateLCTsRPC | ( | CSCALCTDigi | bestALCT, |
CSCALCTDigi | secondALCT, | ||
RPCDigi | gemPad, | ||
CSCCorrelatedLCTDigi & | lct1, | ||
CSCCorrelatedLCTDigi & | lct2 | ||
) |
Definition at line 876 of file CSCMotherboardME3141RPC.cc.
std::map< int, std::pair< double, double > > CSCMotherboardME3141RPC::createRPCRollLUT | ( | RPCDetId | id | ) |
Definition at line 564 of file CSCMotherboardME3141RPC.cc.
unsigned int CSCMotherboardME3141RPC::findQualityRPC | ( | const CSCALCTDigi & | aLCT, |
const CSCCLCTDigi & | cLCT, | ||
bool | hasRPC | ||
) |
Definition at line 723 of file CSCMotherboardME3141RPC.cc.
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME3141RPC::getLCTs | ( | ) |
Definition at line 1050 of file CSCMotherboardME3141RPC.cc.
bool CSCMotherboardME3141RPC::hasRE31andRE41 | ( | ) |
Definition at line 555 of file CSCMotherboardME3141RPC.cc.
CSCMotherboardME3141RPC::RPCDigisBX CSCMotherboardME3141RPC::matchingRPCDigis | ( | const CSCCLCTDigi & | cLCT, |
const RPCDigisBX & | digis = RPCDigisBX() , |
||
bool | first = true |
||
) |
Definition at line 643 of file CSCMotherboardME3141RPC.cc.
CSCMotherboardME3141RPC::RPCDigisBX CSCMotherboardME3141RPC::matchingRPCDigis | ( | const CSCALCTDigi & | aLCT, |
const RPCDigisBX & | digis = RPCDigisBX() , |
||
bool | first = true |
||
) |
Definition at line 665 of file CSCMotherboardME3141RPC.cc.
CSCMotherboardME3141RPC::RPCDigisBX CSCMotherboardME3141RPC::matchingRPCDigis | ( | const CSCCLCTDigi & | cLCT, |
const CSCALCTDigi & | aLCT, | ||
const RPCDigisBX & | digis = RPCDigisBX() , |
||
bool | first = true |
||
) |
Definition at line 696 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::matchRPCDigis | ( | enum MEX1Station | st | ) |
Definition at line 1089 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::printRPCTriggerDigis | ( | int | minBX, |
int | maxBx | ||
) |
Definition at line 619 of file CSCMotherboardME3141RPC.cc.
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME3141RPC::readoutLCTs | ( | ) |
Definition at line 1044 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::retrieveRPCDigis | ( | const RPCDigiCollection * | digis, |
unsigned | id | ||
) |
Definition at line 602 of file CSCMotherboardME3141RPC.cc.
void CSCMotherboardME3141RPC::run | ( | const CSCWireDigiCollection * | wiredc, |
const CSCComparatorDigiCollection * | compdc, | ||
const RPCDigiCollection * | rpcDigis | ||
) |
Run function for normal usage. Runs cathode and anode LCT processors, takes results and correlates into CorrelatedLCT.
Definition at line 199 of file CSCMotherboardME3141RPC.cc.
|
inline |
set CSC and RPC geometries for the matching needs
Definition at line 50 of file CSCMotherboardME3141RPC.h.
|
inline |
Definition at line 51 of file CSCMotherboardME3141RPC.h.
std::vector<CSCCorrelatedLCTDigi> CSCMotherboardME3141RPC::sortLCTsByGEMDPhi | ( | int | bx | ) |
std::vector<CSCCorrelatedLCTDigi> CSCMotherboardME3141RPC::sortLCTsByGEMDPhi | ( | std::vector< CSCCorrelatedLCTDigi > | ) |
std::vector< CSCCorrelatedLCTDigi > CSCMotherboardME3141RPC::sortLCTsByQuality | ( | int | bx | ) |
Methods to sort the LCTs
Definition at line 1073 of file CSCMotherboardME3141RPC.cc.
std::vector<CSCCorrelatedLCTDigi> CSCMotherboardME3141RPC::sortLCTsByQuality | ( | std::vector< CSCCorrelatedLCTDigi > | ) |
|
private |
Definition at line 113 of file CSCMotherboardME3141RPC.h.
|
private |
for the case when more than 2 LCTs/BX are allowed; maximum match window = 15
Definition at line 101 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 165 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 166 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 167 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 114 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 110 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 178 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 174 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 150 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 151 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 149 of file CSCMotherboardME3141RPC.h.
|
private |
Do RPC matching?
Definition at line 132 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 121 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 163 of file CSCMotherboardME3141RPC.h.
|
staticprivate |
Definition at line 103 of file CSCMotherboardME3141RPC.h.
|
staticprivate |
Definition at line 104 of file CSCMotherboardME3141RPC.h.
|
staticprivate |
Definition at line 106 of file CSCMotherboardME3141RPC.h.
|
staticprivate |
Definition at line 105 of file CSCMotherboardME3141RPC.h.
|
staticprivate |
Definition at line 108 of file CSCMotherboardME3141RPC.h.
|
staticprivate |
Definition at line 107 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 119 of file CSCMotherboardME3141RPC.h.
|
private |
maximum lcts per BX in ME2
Definition at line 126 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 154 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 155 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 157 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 156 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 158 of file CSCMotherboardME3141RPC.h.
|
private |
"preferential" index array in matching window for cross-BX sorting
Definition at line 117 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 171 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 170 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 169 of file CSCMotherboardME3141RPC.h.
|
private |
whether to throw out RPC-fiducial LCTs that have no rpc match
Definition at line 146 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 111 of file CSCMotherboardME3141RPC.h.
|
private |
delta BX for RPC pads matching
Definition at line 140 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 137 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 136 of file CSCMotherboardME3141RPC.h.
|
private |
RPC matching dphi and deta.
Definition at line 135 of file CSCMotherboardME3141RPC.h.
|
private |
min eta of LCT for which we require RPC match (we don't throw out LCTs below this min eta)
Definition at line 143 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 181 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 173 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 177 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 129 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 123 of file CSCMotherboardME3141RPC.h.
|
private |
Definition at line 160 of file CSCMotherboardME3141RPC.h.