#include <GEMInternalCluster.h>
Public Member Functions | |
int | bx () const |
GEMPadDigiCluster | cl1 () const |
GEMPadDigiCluster | cl2 () const |
GEMCoPadDigi | copad () const |
GEMInternalCluster (const GEMDetId &id1, const GEMDetId &id2, const GEMPadDigiCluster &cluster1, const GEMPadDigiCluster &cluster2, const unsigned delayGEMinOTMB, const unsigned tmbL1aWindowSize) | |
GEMInternalCluster () | |
uint16_t | getKeyStrip (int n=2, bool isLayer2=false) const |
uint16_t | getKeyStripME1a (int n=2, bool isLayer2=false) const |
unsigned | getKeyWG () const |
bool | has_cluster (const GEMPadDigiCluster &cluster) const |
GEMDetId | id1 () const |
GEMDetId | id2 () const |
bool | isCoincidence () const |
bool | isMatchingLayer1 () const |
bool | isMatchingLayer2 () const |
bool | isValid () const |
int | layer1_first_es () const |
int | layer1_first_es_me1a () const |
int | layer1_last_es () const |
int | layer1_last_es_me1a () const |
int | layer1_max_wg () const |
int | layer1_middle_es () const |
int | layer1_middle_es_me1a () const |
int | layer1_min_wg () const |
int | layer1_pad () const |
int | layer1_size () const |
int | layer2_first_es () const |
int | layer2_first_es_me1a () const |
int | layer2_last_es () const |
int | layer2_last_es_me1a () const |
int | layer2_max_wg () const |
int | layer2_middle_es () const |
int | layer2_middle_es_me1a () const |
int | layer2_min_wg () const |
int | layer2_pad () const |
int | layer2_size () const |
GEMPadDigi | mid1 () const |
GEMPadDigi | mid2 () const |
bool | operator== (const GEMInternalCluster &cluster) const |
int | roll1 () const |
int | roll2 () const |
void | set_coincidence (const bool isCoincidence) |
void | set_layer1_first_es (const int es) |
void | set_layer1_first_es_me1a (const int es) |
void | set_layer1_last_es (const int es) |
void | set_layer1_last_es_me1a (const int es) |
void | set_layer1_max_wg (const int wg) |
void | set_layer1_middle_es (const int es) |
void | set_layer1_middle_es_me1a (const int es) |
void | set_layer1_min_wg (const int wg) |
void | set_layer2_first_es (const int es) |
void | set_layer2_first_es_me1a (const int es) |
void | set_layer2_last_es (const int es) |
void | set_layer2_last_es_me1a (const int es) |
void | set_layer2_max_wg (const int wg) |
void | set_layer2_middle_es (const int es) |
void | set_layer2_middle_es_me1a (const int es) |
void | set_layer2_min_wg (const int wg) |
void | set_matchingLayer1 (const bool isMatching) |
void | set_matchingLayer2 (const bool isMatching) |
Private Attributes | |
int | bx_ |
GEMPadDigiCluster | cl1_ |
GEMPadDigiCluster | cl2_ |
GEMDetId | id1_ |
GEMDetId | id2_ |
bool | isCoincidence_ |
bool | isMatchingLayer1_ |
bool | isMatchingLayer2_ |
bool | isValid_ |
int | layer1_first_es_ |
int | layer1_first_es_me1a_ |
int | layer1_last_es_ |
int | layer1_last_es_me1a_ |
int | layer1_max_wg_ |
int | layer1_middle_es_ |
int | layer1_middle_es_me1a_ |
int | layer1_min_wg_ |
int | layer1_pad_ |
int | layer1_size_ |
int | layer2_first_es_ |
int | layer2_first_es_me1a_ |
int | layer2_last_es_ |
int | layer2_last_es_me1a_ |
int | layer2_max_wg_ |
int | layer2_middle_es_ |
int | layer2_middle_es_me1a_ |
int | layer2_min_wg_ |
int | layer2_pad_ |
int | layer2_size_ |
Helper class to contain detids, clusters and corresponding 1/2-strips, 1/8-strips and wiregroups for easy matching with CSC TPs
Author: Sven Dildick (Rice University) Updates by Giovanni Mocellin (UC Davis)
Definition at line 19 of file GEMInternalCluster.h.
GEMInternalCluster::GEMInternalCluster | ( | const GEMDetId & | id1, |
const GEMDetId & | id2, | ||
const GEMPadDigiCluster & | cluster1, | ||
const GEMPadDigiCluster & | cluster2, | ||
const unsigned | delayGEMinOTMB, | ||
const unsigned | tmbL1aWindowSize | ||
) |
Definition at line 4 of file GEMInternalCluster.cc.
References GEMPadDigiCluster::alctMatchTime(), GEMPadDigiCluster::bx(), bx_, cl1_, cl2_, tmbParams::delayGEMinOTMB, id1(), id1_, id2(), id2_, createfilelist::int, isCoincidence_, isMatchingLayer1_, isMatchingLayer2_, GEMPadDigiCluster::isValid(), isValid_, layer1_first_es_, layer1_first_es_me1a_, layer1_last_es_, layer1_last_es_me1a_, layer1_max_wg_, layer1_middle_es_, layer1_middle_es_me1a_, layer1_min_wg_, layer1_pad_, layer1_size_, layer2_first_es_, layer2_first_es_me1a_, layer2_last_es_, layer2_last_es_me1a_, layer2_max_wg_, layer2_middle_es_, layer2_middle_es_me1a_, layer2_min_wg_, layer2_pad_, layer2_size_, CSCConstants::LCT_CENTRAL_BX, GEMPadDigiCluster::pads(), and simCscTriggerPrimitiveDigis_cfi::tmbL1aWindowSize.
GEMInternalCluster::GEMInternalCluster | ( | ) |
Definition at line 75 of file GEMInternalCluster.cc.
References isCoincidence_, isMatchingLayer1_, isMatchingLayer2_, isValid_, layer1_first_es_, layer1_first_es_me1a_, layer1_last_es_, layer1_last_es_me1a_, layer1_max_wg_, layer1_middle_es_, layer1_middle_es_me1a_, layer1_min_wg_, layer2_first_es_, layer2_first_es_me1a_, layer2_last_es_, layer2_last_es_me1a_, layer2_max_wg_, layer2_middle_es_, layer2_middle_es_me1a_, and layer2_min_wg_.
|
inline |
|
inline |
|
inline |
GEMCoPadDigi GEMInternalCluster::copad | ( | ) | const |
uint16_t GEMInternalCluster::getKeyStrip | ( | int | n = 2 , |
bool | isLayer2 = false |
||
) | const |
Definition at line 122 of file GEMInternalCluster.cc.
References layer1_first_es_, layer1_last_es_, layer2_first_es_, layer2_last_es_, and dqmiodumpmetadata::n.
uint16_t GEMInternalCluster::getKeyStripME1a | ( | int | n = 2 , |
bool | isLayer2 = false |
||
) | const |
Definition at line 138 of file GEMInternalCluster.cc.
References layer1_first_es_me1a_, layer1_last_es_me1a_, layer2_first_es_me1a_, layer2_last_es_me1a_, and dqmiodumpmetadata::n.
|
inline |
Definition at line 71 of file GEMInternalCluster.h.
References layer2_max_wg(), and layer2_min_wg().
bool GEMInternalCluster::has_cluster | ( | const GEMPadDigiCluster & | cluster | ) | const |
Definition at line 154 of file GEMInternalCluster.cc.
References cl1_, cl2_, and or.
|
inline |
Definition at line 32 of file GEMInternalCluster.h.
References id1_.
Referenced by GEMInternalCluster(), and operator==().
|
inline |
Definition at line 33 of file GEMInternalCluster.h.
References id2_.
Referenced by GEMInternalCluster(), and operator==().
|
inline |
Definition at line 67 of file GEMInternalCluster.h.
References isCoincidence_.
Referenced by CSCGEMMotherboard::correlateLCTsGEM(), and set_coincidence().
|
inline |
Definition at line 36 of file GEMInternalCluster.h.
References isMatchingLayer1_.
Referenced by CSCGEMMatcher::calculateGEMCSCBending().
|
inline |
Definition at line 37 of file GEMInternalCluster.h.
References isMatchingLayer2_.
Referenced by CSCGEMMatcher::calculateGEMCSCBending().
|
inline |
Definition at line 47 of file GEMInternalCluster.h.
References isValid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), CSCGEMMotherboard::correlateLCTsGEM(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
|
inline |
Definition at line 81 of file GEMInternalCluster.h.
References layer1_first_es_me1a_.
|
inline |
|
inline |
Definition at line 83 of file GEMInternalCluster.h.
References layer1_last_es_me1a_.
|
inline |
|
inline |
|
inline |
Definition at line 90 of file GEMInternalCluster.h.
References layer1_middle_es_me1a_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 82 of file GEMInternalCluster.h.
References layer2_first_es_me1a_.
|
inline |
|
inline |
Definition at line 84 of file GEMInternalCluster.h.
References layer2_last_es_me1a_.
|
inline |
Definition at line 66 of file GEMInternalCluster.h.
References layer2_max_wg_.
Referenced by getKeyWG().
|
inline |
|
inline |
Definition at line 91 of file GEMInternalCluster.h.
References layer2_middle_es_me1a_.
|
inline |
Definition at line 65 of file GEMInternalCluster.h.
References layer2_min_wg_.
Referenced by getKeyWG().
|
inline |
|
inline |
GEMPadDigi GEMInternalCluster::mid1 | ( | ) | const |
Definition at line 106 of file GEMInternalCluster.cc.
References GEMPadDigiCluster::bx(), cl1_, GEMPadDigiCluster::isValid(), GEMPadDigiCluster::nPartitions(), GEMPadDigiCluster::pads(), and GEMPadDigiCluster::station().
GEMPadDigi GEMInternalCluster::mid2 | ( | ) | const |
Definition at line 114 of file GEMInternalCluster.cc.
References GEMPadDigiCluster::bx(), cl2_, GEMPadDigiCluster::isValid(), GEMPadDigiCluster::nPartitions(), GEMPadDigiCluster::pads(), and GEMPadDigiCluster::station().
bool GEMInternalCluster::operator== | ( | const GEMInternalCluster & | cluster | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 99 of file GEMInternalCluster.h.
References layer1_first_es_me1a_.
|
inline |
|
inline |
Definition at line 101 of file GEMInternalCluster.h.
References layer1_last_es_me1a_.
|
inline |
|
inline |
|
inline |
Definition at line 107 of file GEMInternalCluster.h.
References layer1_middle_es_me1a_.
|
inline |
|
inline |
|
inline |
Definition at line 100 of file GEMInternalCluster.h.
References layer2_first_es_me1a_.
|
inline |
|
inline |
Definition at line 102 of file GEMInternalCluster.h.
References layer2_last_es_me1a_.
|
inline |
|
inline |
|
inline |
Definition at line 108 of file GEMInternalCluster.h.
References layer2_middle_es_me1a_.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 139 of file GEMInternalCluster.h.
Referenced by bx(), and GEMInternalCluster().
|
private |
Definition at line 129 of file GEMInternalCluster.h.
Referenced by cl1(), GEMInternalCluster(), has_cluster(), mid1(), and operator==().
|
private |
Definition at line 130 of file GEMInternalCluster.h.
Referenced by cl2(), GEMInternalCluster(), has_cluster(), mid2(), and operator==().
|
private |
Definition at line 127 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), id1(), operator==(), and roll1().
|
private |
Definition at line 128 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), id2(), operator==(), and roll2().
|
private |
Definition at line 175 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), isCoincidence(), and set_coincidence().
|
private |
Definition at line 133 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), isMatchingLayer1(), and set_matchingLayer1().
|
private |
Definition at line 134 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), isMatchingLayer2(), and set_matchingLayer2().
|
private |
Definition at line 136 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), and isValid().
|
private |
Definition at line 151 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStrip(), layer1_first_es(), and set_layer1_first_es().
|
private |
Definition at line 156 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStripME1a(), layer1_first_es_me1a(), and set_layer1_first_es_me1a().
|
private |
Definition at line 152 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStrip(), layer1_last_es(), and set_layer1_last_es().
|
private |
Definition at line 157 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStripME1a(), layer1_last_es_me1a(), and set_layer1_last_es_me1a().
|
private |
Definition at line 170 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer1_max_wg(), and set_layer1_max_wg().
|
private |
Definition at line 162 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer1_middle_es(), and set_layer1_middle_es().
|
private |
Definition at line 165 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer1_middle_es_me1a(), and set_layer1_middle_es_me1a().
|
private |
Definition at line 169 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer1_min_wg(), and set_layer1_min_wg().
|
private |
Definition at line 144 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), and layer1_pad().
|
private |
Definition at line 145 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), and layer1_size().
|
private |
Definition at line 153 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStrip(), layer2_first_es(), and set_layer2_first_es().
|
private |
Definition at line 158 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStripME1a(), layer2_first_es_me1a(), and set_layer2_first_es_me1a().
|
private |
Definition at line 154 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStrip(), layer2_last_es(), and set_layer2_last_es().
|
private |
Definition at line 159 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), getKeyStripME1a(), layer2_last_es_me1a(), and set_layer2_last_es_me1a().
|
private |
Definition at line 172 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer2_max_wg(), and set_layer2_max_wg().
|
private |
Definition at line 163 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer2_middle_es(), and set_layer2_middle_es().
|
private |
Definition at line 166 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer2_middle_es_me1a(), and set_layer2_middle_es_me1a().
|
private |
Definition at line 171 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), layer2_min_wg(), and set_layer2_min_wg().
|
private |
Definition at line 146 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), and layer2_pad().
|
private |
Definition at line 147 of file GEMInternalCluster.h.
Referenced by GEMInternalCluster(), and layer2_size().