#include <PrimitiveCombiner.h>
Classes | |
struct | resolutions |
a struct useful for resulution info sharing More... | |
struct | results |
a struct for internal usage: store results More... | |
Public Member Functions | |
void | addDt (const L1TMuon::TriggerPrimitive &prim) |
feed the combiner with the available primitives More... | |
void | addDtHI (const L1TMuon::TriggerPrimitive &prim) |
void | addDtHO (const L1TMuon::TriggerPrimitive &prim) |
void | addRpcIn (const L1TMuon::TriggerPrimitive &prim) |
void | addRpcOut (const L1TMuon::TriggerPrimitive &prim) |
int | bendingAngle () const |
int | bendingResol () const |
int | bx () const |
output result variables More... | |
void | combine () |
do combine the primitives More... | |
int | getUncorrelatedQuality16 () const |
int | getUncorrelatedQuality7 () const |
FIXME END. More... | |
bool | isValid () const |
valid if we have at least: 1 rpc; 1 dt + 1 any More... | |
float | phiBCombined (const float &xDt, const float &zDt, const float &xRpc, const float &zRpc) |
FIXME : Calculates new phiBending, check how to use. More... | |
float | phiBCombinedResol (const float &resol_xDt, const float &resol_xRpc, const float &zDt, const float &zRpc) |
FIXME END. More... | |
PrimitiveCombiner (const resolutions &res, edm::ESHandle< DTGeometry > &muonGeom) | |
int | radialAngle () const |
Private Member Functions | |
results | combineDt (const L1TMuon::TriggerPrimitive *dt, const L1TMuon::TriggerPrimitive *rpc) |
Calculates new phiBending, check how to use weights. More... | |
results | combineDtRpc (const L1TMuon::TriggerPrimitive *dt, const L1TMuon::TriggerPrimitive *rpc) |
Calculates new phiBending, check how to use weights. More... | |
results | combineRpcRpc (const L1TMuon::TriggerPrimitive *rpc1, const L1TMuon::TriggerPrimitive *rpc2) |
Calculates new phiBending, check how to use weights. More... | |
results | dummyCombineDt (const L1TMuon::TriggerPrimitive *dt) |
int | radialAngleFromGlobalPhi (const L1TMuon::TriggerPrimitive *rpc) |
Private Attributes | |
int | _bendingAngle |
int | _bendingResol |
int | _bx |
const L1TMuon::TriggerPrimitive * | _dtHI |
const L1TMuon::TriggerPrimitive * | _dtHO |
edm::ESHandle< DTGeometry > | _muonGeom |
int | _radialAngle |
resolutions | _resol |
const L1TMuon::TriggerPrimitive * | _rpcIn |
const L1TMuon::TriggerPrimitive * | _rpcOut |
Definition at line 25 of file PrimitiveCombiner.h.
|
explicit |
Definition at line 19 of file PrimitivesCombiner.cc.
Referenced by L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
void PrimitiveCombiner::addDt | ( | const L1TMuon::TriggerPrimitive & | prim | ) |
feed the combiner with the available primitives
Definition at line 28 of file PrimitivesCombiner.cc.
References addDtHI(), addDtHO(), Exception, L1TMuon::TriggerPrimitive::getDTData(), and L1TMuon::TriggerPrimitive::DTData::qualityCode.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
void PrimitiveCombiner::addDtHI | ( | const L1TMuon::TriggerPrimitive & | prim | ) |
Definition at line 43 of file PrimitivesCombiner.cc.
References _dtHI, and Exception.
Referenced by addDt(), and L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
void PrimitiveCombiner::addDtHO | ( | const L1TMuon::TriggerPrimitive & | prim | ) |
Definition at line 54 of file PrimitivesCombiner.cc.
References _dtHO, and Exception.
Referenced by addDt(), and L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
void PrimitiveCombiner::addRpcIn | ( | const L1TMuon::TriggerPrimitive & | prim | ) |
Definition at line 65 of file PrimitivesCombiner.cc.
References _rpcIn.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
void PrimitiveCombiner::addRpcOut | ( | const L1TMuon::TriggerPrimitive & | prim | ) |
Definition at line 71 of file PrimitivesCombiner.cc.
References _rpcOut.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
|
inline |
Definition at line 56 of file PrimitiveCombiner.h.
References _bendingAngle.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
|
inline |
output result variables
Definition at line 54 of file PrimitiveCombiner.h.
References _bx.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
void PrimitiveCombiner::combine | ( | ) |
do combine the primitives
Definition at line 78 of file PrimitivesCombiner.cc.
References _bendingAngle, _bendingResol, _dtHI, _dtHO, _radialAngle, _rpcIn, _rpcOut, combineDt(), combineDtRpc(), combineRpcRpc(), L1TMuon::TriggerPrimitive::getDTData(), isValid(), DTRecHitQuality_cfi::local, L1TMuon::TriggerPrimitive::DTData::radialAngle, L1TwinMux::PrimitiveCombiner::results::radialAngle, radialAngleFromGlobalPhi(), and mathSSE::sqrt().
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::resolutions::resolutions().
|
private |
Calculates new phiBending, check how to use weights.
PhiB calculation : atan( (x2-x1)/(z2-z1) is the bending angle needs to be corrected w.r.t.the direction phi (4096 scale) and ported to 512 scale
positive chambers
Definition at line 173 of file PrimitivesCombiner.cc.
References _muonGeom, _resol, L1TwinMux::PrimitiveCombiner::results::bendingAngle, L1TwinMux::PrimitiveCombiner::results::bendingResol, DTGeometry::chamber(), L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getCMSGlobalPoint(), L1TMuon::TriggerPrimitive::getDTData(), phiBCombined(), phiBCombinedResol(), L1TMuon::TriggerPrimitive::DTData::radialAngle, L1TwinMux::PrimitiveCombiner::results::radialAngle, L1TMuon::TriggerPrimitive::DTData::sector, GeomDet::toLocal(), L1TMuon::TriggerPrimitive::DTData::wheel, PV3DBase< T, PVType, FrameType >::x(), L1TwinMux::PrimitiveCombiner::resolutions::xDt, and PV3DBase< T, PVType, FrameType >::z().
Referenced by combine(), and L1TwinMux::PrimitiveCombiner::results::results().
|
private |
Calculates new phiBending, check how to use weights.
Definition at line 226 of file PrimitivesCombiner.cc.
References _muonGeom, _resol, L1TwinMux::PrimitiveCombiner::results::bendingAngle, L1TwinMux::PrimitiveCombiner::results::bendingResol, DTGeometry::chamber(), L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getCMSGlobalPoint(), L1TMuon::TriggerPrimitive::getDTData(), phiBCombined(), phiBCombinedResol(), L1TMuon::TriggerPrimitive::DTData::radialAngle, L1TwinMux::PrimitiveCombiner::results::radialAngle, relativeConstraints::ring, L1TMuon::TriggerPrimitive::DTData::sector, relativeConstraints::station, GeomDet::toLocal(), L1TMuon::TriggerPrimitive::DTData::wheel, makeMuonMisalignmentScenario::wheel, PV3DBase< T, PVType, FrameType >::x(), L1TwinMux::PrimitiveCombiner::resolutions::xDt, L1TwinMux::PrimitiveCombiner::resolutions::xRpc, and PV3DBase< T, PVType, FrameType >::z().
Referenced by combine(), and L1TwinMux::PrimitiveCombiner::results::results().
|
private |
Calculates new phiBending, check how to use weights.
Definition at line 297 of file PrimitivesCombiner.cc.
References _muonGeom, _resol, L1TwinMux::PrimitiveCombiner::results::bendingAngle, L1TwinMux::PrimitiveCombiner::results::bendingResol, DTGeometry::chamber(), L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getCMSGlobalPoint(), phiBCombined(), phiBCombinedResol(), L1TwinMux::PrimitiveCombiner::results::radialAngle, radialAngleFromGlobalPhi(), relativeConstraints::ring, relativeConstraints::station, GeomDet::toLocal(), makeMuonMisalignmentScenario::wheel, PV3DBase< T, PVType, FrameType >::x(), L1TwinMux::PrimitiveCombiner::resolutions::xRpc, and PV3DBase< T, PVType, FrameType >::z().
Referenced by combine(), and L1TwinMux::PrimitiveCombiner::results::results().
|
private |
Definition at line 157 of file PrimitivesCombiner.cc.
References _resol, L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TwinMux::PrimitiveCombiner::results::bendingAngle, L1TwinMux::PrimitiveCombiner::results::bendingResol, L1TMuon::TriggerPrimitive::getDTData(), L1TwinMux::PrimitiveCombiner::resolutions::phibDtUnCorr, L1TMuon::TriggerPrimitive::DTData::radialAngle, and L1TwinMux::PrimitiveCombiner::results::radialAngle.
Referenced by L1TwinMux::PrimitiveCombiner::results::results().
|
inline |
Definition at line 111 of file PrimitiveCombiner.h.
References _dtHI, _dtHO, _rpcIn, and _rpcOut.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
FIXME END.
Definition at line 87 of file PrimitiveCombiner.h.
References _dtHI, _dtHO, _rpcIn, and _rpcOut.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
valid if we have at least: 1 rpc; 1 dt + 1 any
Definition at line 60 of file PrimitiveCombiner.h.
References _dtHI, _dtHO, _rpcIn, and _rpcOut.
Referenced by ntupleDataFormat._Object::_checkIsValid(), combine(), L1ITMuonBarrelPrimitiveProducer::produce(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
FIXME : Calculates new phiBending, check how to use.
Definition at line 69 of file PrimitiveCombiner.h.
Referenced by combineDt(), combineDtRpc(), and combineRpcRpc().
|
inline |
FIXME END.
FIXME : Calculates new phiBending resolution
Definition at line 77 of file PrimitiveCombiner.h.
References mathSSE::sqrt().
Referenced by combineDt(), combineDtRpc(), and combineRpcRpc().
|
inline |
Definition at line 55 of file PrimitiveCombiner.h.
References _radialAngle.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and radialAngleFromGlobalPhi().
|
private |
Definition at line 274 of file PrimitivesCombiner.cc.
References L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getCMSGlobalPhi(), createfilelist::int, Geom::pi(), and radialAngle().
Referenced by combine(), combineRpcRpc(), and L1TwinMux::PrimitiveCombiner::results::results().
|
private |
Definition at line 169 of file PrimitiveCombiner.h.
Referenced by bendingAngle(), and combine().
|
private |
Definition at line 170 of file PrimitiveCombiner.h.
Referenced by bendingResol(), and combine().
|
private |
Definition at line 167 of file PrimitiveCombiner.h.
Referenced by bx().
|
private |
Definition at line 172 of file PrimitiveCombiner.h.
Referenced by addDtHI(), combine(), getUncorrelatedQuality16(), getUncorrelatedQuality7(), and isValid().
|
private |
Definition at line 173 of file PrimitiveCombiner.h.
Referenced by addDtHO(), combine(), getUncorrelatedQuality16(), getUncorrelatedQuality7(), and isValid().
|
private |
Definition at line 165 of file PrimitiveCombiner.h.
Referenced by combineDt(), combineDtRpc(), and combineRpcRpc().
|
private |
Definition at line 168 of file PrimitiveCombiner.h.
Referenced by combine(), and radialAngle().
|
private |
Definition at line 164 of file PrimitiveCombiner.h.
Referenced by combineDt(), combineDtRpc(), combineRpcRpc(), and dummyCombineDt().
|
private |
Definition at line 174 of file PrimitiveCombiner.h.
Referenced by addRpcIn(), combine(), getUncorrelatedQuality16(), getUncorrelatedQuality7(), and isValid().
|
private |
Definition at line 175 of file PrimitiveCombiner.h.
Referenced by addRpcOut(), combine(), getUncorrelatedQuality16(), getUncorrelatedQuality7(), and isValid().