#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 DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
|
inline |
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, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kRPC, RPCDetId::layer(), and RPCDetId::region().
Referenced by ~MBLTCollection().
|
private |
Definition at line 277 of file MBLTCollection.cc.
References reco::deltaPhi(), and electronIdCutBased_cfi::deltaPhiIn.
Referenced by detId().
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(), electronIdCutBased_cfi::deltaPhiIn, electronIdCutBasedClasses_cfi::deltaPhiOut, L1TwinMux::MBLTCollection::primitiveAssociation::rpcIn, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcOut.
Referenced by detId().
|
inline |
returns detId
Definition at line 83 of file MBLTCollection.h.
References _sector, _station, _wheel, areCloseClusters(), associate(), fastPrimaryVertexProducer_cfi::clusters, getRpcInAssociatedStubs(), getRpcInUnassociatedStubs(), getRpcOutAssociatedStubs(), getRpcOutUnassociatedStubs(), getUnassociatedRpcClusters(), haveCommonRpc(), and reduceRpcClusters().
|
inline |
return a reference to the DT only segments
Definition at line 59 of file MBLTCollection.h.
References _dtAssociatedStubs.
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 MillePedeFileConverter_cfg::e, Exception, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcIn.
Referenced by detId(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
rpc inner layer hits only
Definition at line 64 of file MBLTCollection.h.
References _rpcInAssociatedStubs.
L1TwinMux::TriggerPrimitiveList L1TwinMux::MBLTCollection::getRpcInUnassociatedStubs | ( | ) | const |
rpc inner layer hits associated to a given dt station
Definition at line 174 of file MBLTCollection.cc.
Referenced by detId().
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 MillePedeFileConverter_cfg::e, Exception, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcOut.
Referenced by detId(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
rpc outer layer hits only
Definition at line 69 of file MBLTCollection.h.
References _rpcOutAssociatedStubs.
L1TwinMux::TriggerPrimitiveList L1TwinMux::MBLTCollection::getRpcOutUnassociatedStubs | ( | ) | const |
rpc outer layer hits associated to a given dt station
Definition at line 190 of file MBLTCollection.cc.
Referenced by detId().
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, MillePedeFileConverter_cfg::e, Exception, recoMuon::in, and MillePedeFileConverter_cfg::out.
Referenced by detId(), and 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 fastPrimaryVertexProducer_cfi::clusters, reco::deltaPhi(), and electronIdCutBased_cfi::deltaPhiIn.
L1TwinMux::MBLTCollection::bxMatch L1TwinMux::MBLTCollection::haveCommonRpc | ( | size_t | dt1, |
size_t | dt2 | ||
) | const |
Definition at line 207 of file MBLTCollection.cc.
References MillePedeFileConverter_cfg::e, Exception, NOMATCH, L1TwinMux::MBLTCollection::primitiveAssociation::rpcIn, and L1TwinMux::MBLTCollection::primitiveAssociation::rpcOut.
Referenced by detId(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
private |
Definition at line 310 of file MBLTCollection.cc.
References fastPrimaryVertexProducer_cfi::clusters.
Referenced by detId().
|
inline |
returns sector
Definition at line 77 of file MBLTCollection.h.
References _sector.
Referenced by geometryXMLparser.DTAlignable::index(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
returns station
Definition at line 80 of file MBLTCollection.h.
References _station.
Referenced by geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
returns wheel
Definition at line 74 of file MBLTCollection.h.
References _wheel.
Referenced by geometryXMLparser.DTAlignable::index(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
private |
|
private |
Definition at line 139 of file MBLTCollection.h.
|
private |
|
private |
Definition at line 141 of file MBLTCollection.h.
|
private |
|
private |
Definition at line 136 of file MBLTCollection.h.
|
private |
Definition at line 136 of file MBLTCollection.h.
|
private |
space coordinates
Definition at line 136 of file MBLTCollection.h.