#include <CSCComparatorDigiFitter.h>
Public Member Functions | |
CSCComparatorDigiFitter () | |
void | fit (const CSCDetId &ch_id, const CSCCorrelatedLCTDigi &, const CSCComparatorDigiCollection &, std::vector< float > &fit_phi_layers, std::vector< float > &fit_z_layers, float &keyRadius) |
void | setGeometry (const CSCGeometry *csc_g) |
void | setStripBits (int bits) |
void | useKeyRadius (bool useKeyRadius) |
~CSCComparatorDigiFitter () | |
Private Member Functions | |
void | calculateSlopeIntercept (float &alpha, float &beta) |
bool | comparatorInLCTPattern (int keyStrip, int pattern, int layer, int halfStrip) const |
float | cscHalfStripWidth (const CSCDetId &id) const |
void | getComparatorDigiCoordinates (const CSCDetId &ch_id, const CSCCorrelatedLCTDigi &stub) |
void | matchingComparatorDigisLCT (const CSCDetId &ch_id, const CSCCorrelatedLCTDigi &, const CSCComparatorDigiCollection &) |
Private Attributes | |
CSCComparatorDigiContainerIds | compDigisIds_ |
const CSCGeometry * | cscGeometry_ |
const std::vector< float > | degrees_ = {10., 10., 10., 10., 20., 10., 20., 10., 20., 10.} |
std::vector< float > | ephis_ |
std::vector< float > | ezs_ |
int | nStripBits_ |
std::vector< float > | phis_ |
float | radius_ |
const std::vector< int > | strips_ = {48, 64, 80, 64, 80, 80, 80, 80, 80, 80} |
bool | useKeyRadius_ |
std::vector< float > | zs_ |
Definition at line 38 of file CSCComparatorDigiFitter.h.
|
inline |
Definition at line 40 of file CSCComparatorDigiFitter.h.
|
inline |
Definition at line 41 of file CSCComparatorDigiFitter.h.
|
private |
Definition at line 213 of file CSCComparatorDigiFitter.cc.
References zMuMuMuonUserData::alpha, zMuMuMuonUserData::beta, dumpMFGeometry_cfg::delta, ephis_, mps_fire::i, phis_, and zs_.
Referenced by fit().
|
private |
Definition at line 243 of file CSCComparatorDigiFitter.cc.
References spr::find(), or, and topSingleLeptonDQM_PU_cfi::pattern.
Referenced by matchingComparatorDigisLCT().
|
private |
Definition at line 235 of file CSCComparatorDigiFitter.cc.
References degrees_, M_PI, and strips_.
Referenced by getComparatorDigiCoordinates().
void CSCComparatorDigiFitter::fit | ( | const CSCDetId & | ch_id, |
const CSCCorrelatedLCTDigi & | stub, | ||
const CSCComparatorDigiCollection & | hCSCComparators, | ||
std::vector< float > & | fit_phi_layers, | ||
std::vector< float > & | fit_z_layers, | ||
float & | keyRadius | ||
) |
Definition at line 150 of file CSCComparatorDigiFitter.cc.
References funct::abs(), zMuMuMuonUserData::alpha, zMuMuMuonUserData::beta, calculateSlopeIntercept(), CSCDetId::chamber(), CSCGeometry::chamber(), cscGeometry_, CSCDetId::endcap(), CSCLayer::geometry(), getComparatorDigiCoordinates(), CSCCorrelatedLCTDigi::getFractionalStrip(), CSCCorrelatedLCTDigi::getKeyWG(), mps_fire::i, CSCGeometry::idToDet(), CSCConstants::KEY_CLCT_LAYER, CSCChamber::layer(), matchingComparatorDigisLCT(), CSCLayerGeometry::middleWireOfGroup(), normalizedPhi(), nStripBits_, CSCConstants::NUM_LAYERS, or, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), phis_, radius_, CSCDetId::ring(), CSCDetId::station(), GeomDet::surface(), Surface::toGlobal(), and useKeyRadius_.
Referenced by trackingPlots.Iteration::modules().
|
private |
Definition at line 94 of file CSCComparatorDigiFitter.cc.
References CSCGeometry::chamber(), compDigisIds_, cscGeometry_, cscHalfStripWidth(), ephis_, ezs_, geometry, CSCCorrelatedLCTDigi::getKeyWG(), CSCGeometry::idToDet(), M_PI, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), phis_, radius_, findQualityFiles::size, mathSSE::sqrt(), GeomDet::surface(), Surface::toGlobal(), PV3DBase< T, PVType, FrameType >::z(), and zs_.
Referenced by fit().
|
private |
Definition at line 64 of file CSCComparatorDigiFitter.cc.
References funct::abs(), CSCDetId::chamber(), comparatorInLCTPattern(), compDigisIds_, CSCDetId::endcap(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getStrip(), CSCConstants::NUM_LAYERS, CSCDetId::ring(), and CSCDetId::station().
Referenced by fit().
|
inline |
|
inline |
|
inline |
Definition at line 50 of file CSCComparatorDigiFitter.h.
References useKeyRadius(), and useKeyRadius_.
Referenced by useKeyRadius().
|
private |
Definition at line 85 of file CSCComparatorDigiFitter.h.
Referenced by getComparatorDigiCoordinates(), and matchingComparatorDigisLCT().
|
private |
Definition at line 80 of file CSCComparatorDigiFitter.h.
Referenced by fit(), getComparatorDigiCoordinates(), and setGeometry().
|
private |
Definition at line 98 of file CSCComparatorDigiFitter.h.
Referenced by cscHalfStripWidth().
|
private |
Definition at line 90 of file CSCComparatorDigiFitter.h.
Referenced by calculateSlopeIntercept(), and getComparatorDigiCoordinates().
|
private |
Definition at line 91 of file CSCComparatorDigiFitter.h.
Referenced by getComparatorDigiCoordinates().
|
private |
Definition at line 83 of file CSCComparatorDigiFitter.h.
Referenced by fit(), and setStripBits().
|
private |
Definition at line 88 of file CSCComparatorDigiFitter.h.
Referenced by calculateSlopeIntercept(), fit(), and getComparatorDigiCoordinates().
|
private |
Definition at line 92 of file CSCComparatorDigiFitter.h.
Referenced by fit(), and getComparatorDigiCoordinates().
|
private |
Definition at line 97 of file CSCComparatorDigiFitter.h.
Referenced by cscHalfStripWidth().
|
private |
Definition at line 93 of file CSCComparatorDigiFitter.h.
Referenced by fit(), and useKeyRadius().
|
private |
Definition at line 89 of file CSCComparatorDigiFitter.h.
Referenced by calculateSlopeIntercept(), and getComparatorDigiCoordinates().