#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 42 of file CSCComparatorDigiFitter.h.
|
inline |
Definition at line 43 of file CSCComparatorDigiFitter.h.
|
private |
Definition at line 266 of file CSCComparatorDigiFitter.cc.
References delta, ephis_, mps_fire::i, phis_, and zs_.
Referenced by fit(), and useKeyRadius().
|
private |
Definition at line 301 of file CSCComparatorDigiFitter.cc.
References spr::find(), or, and listBenchmarks::pattern.
Referenced by matchingComparatorDigisLCT(), and useKeyRadius().
|
private |
Definition at line 291 of file CSCComparatorDigiFitter.cc.
References degrees_, M_PI, and strips_.
Referenced by getComparatorDigiCoordinates(), and useKeyRadius().
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 204 of file CSCComparatorDigiFitter.cc.
References funct::abs(), alpha, pfBoostedDoubleSVAK8TagInfos_cfi::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(), 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(), useKeyRadius_, and mixOne_premix_on_sim_cfi::wire.
Referenced by trackingPlots.Iteration::modules(), and useKeyRadius().
|
private |
Definition at line 148 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(), mixOne_premix_on_sim_cfi::wire, PV3DBase< T, PVType, FrameType >::z(), and zs_.
Referenced by fit(), and useKeyRadius().
|
private |
Definition at line 120 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(), and useKeyRadius().
|
inline |
Definition at line 46 of file CSCComparatorDigiFitter.h.
References cscGeometry_.
|
inline |
Definition at line 49 of file CSCComparatorDigiFitter.h.
References bits, and nStripBits_.
|
inline |
Definition at line 52 of file CSCComparatorDigiFitter.h.
References alpha, pfBoostedDoubleSVAK8TagInfos_cfi::beta, calculateSlopeIntercept(), comparatorInLCTPattern(), cscHalfStripWidth(), fit(), getComparatorDigiCoordinates(), matchingComparatorDigisLCT(), listBenchmarks::pattern, useKeyRadius(), and useKeyRadius_.
Referenced by useKeyRadius().
|
private |
Definition at line 87 of file CSCComparatorDigiFitter.h.
Referenced by getComparatorDigiCoordinates(), and matchingComparatorDigisLCT().
|
private |
Definition at line 82 of file CSCComparatorDigiFitter.h.
Referenced by fit(), getComparatorDigiCoordinates(), and setGeometry().
|
private |
Definition at line 100 of file CSCComparatorDigiFitter.h.
Referenced by cscHalfStripWidth().
|
private |
Definition at line 92 of file CSCComparatorDigiFitter.h.
Referenced by calculateSlopeIntercept(), and getComparatorDigiCoordinates().
|
private |
Definition at line 93 of file CSCComparatorDigiFitter.h.
Referenced by getComparatorDigiCoordinates().
|
private |
Definition at line 85 of file CSCComparatorDigiFitter.h.
Referenced by fit(), and setStripBits().
|
private |
Definition at line 90 of file CSCComparatorDigiFitter.h.
Referenced by calculateSlopeIntercept(), fit(), and getComparatorDigiCoordinates().
|
private |
Definition at line 94 of file CSCComparatorDigiFitter.h.
Referenced by fit(), and getComparatorDigiCoordinates().
|
private |
Definition at line 99 of file CSCComparatorDigiFitter.h.
Referenced by cscHalfStripWidth().
|
private |
Definition at line 95 of file CSCComparatorDigiFitter.h.
Referenced by fit(), and useKeyRadius().
|
private |
Definition at line 91 of file CSCComparatorDigiFitter.h.
Referenced by calculateSlopeIntercept(), and getComparatorDigiCoordinates().