#include <MBLTCollection.h>
Classes | |
struct | primitiveAssociation |
structure for internal indexing More... | |
Public Types | |
enum | bxMatch { NOMATCH, INMATCH, OUTMATCH, FULLMATCH } |
enum | subsystem_offset { kDT, kRPCb, kCSC, kRPCf } |
internal enum for subdetector stub identification More... | |
Public Member Functions | |
void | addStub (const TriggerPrimitiveRef &stub) |
void | associate (double) |
DTChamberId | detId () const |
returns detId More... | |
const TriggerPrimitiveList & | getDtSegments () const |
return a reference to the DT only segments More... | |
TriggerPrimitiveList | getRpcInAssociatedStubs (size_t dtIndex) const |
rpc inner layer hits associated to a given dt station More... | |
const TriggerPrimitiveList & | getRpcInner () const |
rpc inner layer hits only More... | |
TriggerPrimitiveList | getRpcInUnassociatedStubs () const |
rpc inner layer hits associated to a given dt station More... | |
TriggerPrimitiveList | getRpcOutAssociatedStubs (size_t dtIndex) const |
rpc outer layer hits associated to a given dt station More... | |
const TriggerPrimitiveList & | getRpcOuter () const |
rpc outer layer hits only More... | |
TriggerPrimitiveList | getRpcOutUnassociatedStubs () const |
rpc outer layer hits associated to a given dt station More... | |
std::vector< std::pair < TriggerPrimitiveList, TriggerPrimitiveList > > | getUnassociatedRpcClusters (double minRpcPhi) const |
RPC unassociated clusters. More... | |
bxMatch | haveCommonRpc (size_t dt1, size_t dt2) const |
MBLTCollection () | |
default constructor More... | |
MBLTCollection (const DTChamberId &dtId) | |
construction out of DTChamberId: automatically extracts info More... | |
int | sector () const |
returns sector More... | |
int | station () const |
returns station More... | |
int | wheel () const |
returns wheel More... | |
~MBLTCollection () | |
Private Member Functions | |
bool | areCloseClusters (std::vector< size_t > &cluster1, std::vector< size_t > &cluster2, const TriggerPrimitiveList &rpcList1, const TriggerPrimitiveList &rpcList2, double minRpcPhi) const |
void | getUnassociatedRpcClusters (const std::vector< size_t > &rpcUnass, const TriggerPrimitiveList &rpcList, double minRpcPhi, std::vector< std::vector< size_t > > &clusters) const |
RPC unassociated utility functions. More... | |
size_t | reduceRpcClusters (std::vector< std::vector< size_t > > &tmpClusters, const TriggerPrimitiveList &rpcList, double minRpcPhi) const |
Private Attributes | |
TriggerPrimitiveList | _dtAssociatedStubs |
dt segments More... | |
std::vector< primitiveAssociation > | _dtMapAss |
TriggerPrimitiveList | _rpcInAssociatedStubs |
rpc inner layer hits More... | |
primitiveAssociation | _rpcMapUnass |
TriggerPrimitiveList | _rpcOutAssociatedStubs |
rpc outer layer hits More... | |
int | _sector |
int | _station |
int | _wheel |
space coordinates More... | |
Definition at line 31 of file MBLTCollection.h.
internal enum for subdetector stub identification
Enumerator | |
---|---|
kDT | |
kRPCb | |
kCSC | |
kRPCf |
Definition at line 36 of file MBLTCollection.h.
|
inline |
L1TwinMux::MBLTCollection::MBLTCollection | ( | const DTChamberId & | dtId | ) |
construction out of DTChamberId: automatically extracts info
Definition at line 10 of file MBLTCollection.cc.
References _sector, _station, _wheel, DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
|
inline |
Definition at line 51 of file MBLTCollection.h.
void L1TwinMux::MBLTCollection::addStub | ( | const TriggerPrimitiveRef & | stub | ) |
selectively add Trigger Primitives to the MBLTCollection dt, rpc up layer and rpc down layer are stored in separated collections
Definition at line 17 of file MBLTCollection.cc.
References Exception, RPCDetId::layer(), and RPCDetId::region().
|
private |
void L1TwinMux::MBLTCollection::associate | ( | double | minRpcPhi | ) |
fill up index for In associations
fill up index for Out associations
fill unassociated rpcIn
fill unassociated rpcOut
Definition at line 49 of file MBLTCollection.cc.
References reco::deltaPhi(), phi(), L1TwinMux::MBLTCollection::primitiveAssociation::rpcIn, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcOut.
|
inline |
|
inline |
return a reference to the DT only segments
Definition at line 59 of file MBLTCollection.h.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
L1TwinMux::TriggerPrimitiveList L1TwinMux::MBLTCollection::getRpcInAssociatedStubs | ( | size_t | dtIndex | ) | const |
rpc inner layer hits associated to a given dt station
Definition at line 125 of file MBLTCollection.cc.
References alignCSCRings::e, Exception, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcIn.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
rpc inner layer hits only
Definition at line 64 of file MBLTCollection.h.
L1TwinMux::TriggerPrimitiveList L1TwinMux::MBLTCollection::getRpcInUnassociatedStubs | ( | ) | const |
rpc inner layer hits associated to a given dt station
Definition at line 174 of file MBLTCollection.cc.
L1TwinMux::TriggerPrimitiveList L1TwinMux::MBLTCollection::getRpcOutAssociatedStubs | ( | size_t | dtIndex | ) | const |
rpc outer layer hits associated to a given dt station
Definition at line 148 of file MBLTCollection.cc.
References alignCSCRings::e, Exception, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcOut.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
rpc outer layer hits only
Definition at line 69 of file MBLTCollection.h.
L1TwinMux::TriggerPrimitiveList L1TwinMux::MBLTCollection::getRpcOutUnassociatedStubs | ( | ) | const |
rpc outer layer hits associated to a given dt station
Definition at line 190 of file MBLTCollection.cc.
std::vector< std::pair< L1TwinMux::TriggerPrimitiveList, L1TwinMux::TriggerPrimitiveList > > L1TwinMux::MBLTCollection::getUnassociatedRpcClusters | ( | double | minRpcPhi | ) | const |
RPC unassociated clusters.
loop over unassociated inner and outer RPC hits
Definition at line 408 of file MBLTCollection.cc.
References gather_cfg::cout, alignCSCRings::e, Exception, recoMuon::in, and GenerateHcalLaserBadRunList::out.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
private |
RPC unassociated utility functions.
remember: we are running over an array of indices
remember: we are running over an array of indices
Definition at line 356 of file MBLTCollection.cc.
References HLT_FULL_cff::clusters, and reco::deltaPhi().
L1TwinMux::MBLTCollection::bxMatch L1TwinMux::MBLTCollection::haveCommonRpc | ( | size_t | dt1, |
size_t | dt2 | ||
) | const |
Definition at line 207 of file MBLTCollection.cc.
References alignCSCRings::e, Exception, NOMATCH, L1TwinMux::MBLTCollection::primitiveAssociation::rpcIn, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcOut.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
private |
Definition at line 310 of file MBLTCollection.cc.
References HLT_FULL_cff::clusters.
|
inline |
returns sector
Definition at line 77 of file MBLTCollection.h.
Referenced by geometryXMLparser.DTAlignable::index(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
returns station
Definition at line 80 of file MBLTCollection.h.
Referenced by geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
returns wheel
Definition at line 74 of file MBLTCollection.h.
Referenced by geometryXMLparser.DTAlignable::index(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
private |
dt segments
Definition at line 127 of file MBLTCollection.h.
|
private |
Definition at line 139 of file MBLTCollection.h.
|
private |
rpc inner layer hits
Definition at line 130 of file MBLTCollection.h.
|
private |
Definition at line 141 of file MBLTCollection.h.
|
private |
rpc outer layer hits
Definition at line 133 of file MBLTCollection.h.
|
private |
Definition at line 136 of file MBLTCollection.h.
Referenced by MBLTCollection().
|
private |
Definition at line 136 of file MBLTCollection.h.
Referenced by MBLTCollection().
|
private |