#include <SiStripClusterInfo.h>
Public Member Functions | |
float | baryStrip () const |
uint16_t | charge () const |
std::pair< uint16_t, uint16_t > | chargeLR () const |
const SiStripCluster * | cluster () const |
uint32_t | detId () const |
uint16_t | firstStrip () const |
void | initEvent (const edm::EventSetup &iSetup) |
bool | IsAnythingBad () const |
bool | IsApvBad () const |
bool | IsFiberBad () const |
bool | IsModuleBad () const |
bool | IsModuleUsable () const |
uint8_t | maxCharge () const |
uint16_t | maxIndex () const |
uint16_t | maxStrip () const |
float | noise () const |
float | noiseRescaledByGain () const |
void | setCluster (const SiStripCluster &cluster, int detId) |
float | signalOverNoise () const |
SiStripClusterInfo (edm::ConsumesCollector &&, const std::string &qualityLabel="") | |
const SiStripGain * | siStripGain () const |
const SiStripQuality * | siStripQuality () const |
auto | stripCharges () const -> decltype(cluster() ->amplitudes()) |
std::vector< float > | stripGains () const |
std::vector< float > | stripNoises () const |
std::vector< float > | stripNoisesRescaledByGain () const |
std::vector< bool > | stripQualitiesBad () const |
float | variance () const |
uint16_t | width () const |
Private Member Functions | |
float | calculate_noise (const std::vector< float > &) const |
Private Attributes | |
const SiStripCluster * | cluster_ptr = nullptr |
uint32_t | detId_ = 0 |
const SiStripGain * | siStripGain_ = nullptr |
edm::ESGetToken< SiStripGain, SiStripGainRcd > | siStripGainToken_ |
const SiStripNoises * | siStripNoises_ = nullptr |
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > | siStripNoisesToken_ |
const SiStripQuality * | siStripQuality_ = nullptr |
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > | siStripQualityToken_ |
Definition at line 21 of file SiStripClusterInfo.h.
SiStripClusterInfo::SiStripClusterInfo | ( | edm::ConsumesCollector && | iC, |
const std::string & | qualityLabel = "" |
||
) |
Definition at line 5 of file SiStripClusterInfo.cc.
|
inline |
Definition at line 33 of file SiStripClusterInfo.h.
References SiStripCluster::barycenter(), and cluster().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), and ApeEstimator::fillHitVariables().
|
private |
Definition at line 82 of file SiStripClusterInfo.cc.
References mps_fire::i, noise(), mathSSE::sqrt(), stripCharges(), and width().
Referenced by noise(), and noiseRescaledByGain().
|
inline |
Definition at line 43 of file SiStripClusterInfo.h.
References mps_fire::end, and stripCharges().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), and signalOverNoise().
std::pair< uint16_t, uint16_t > SiStripClusterInfo::chargeLR | ( | ) | const |
Definition at line 21 of file SiStripClusterInfo.cc.
References mps_fire::end, SiStripPI::max, and stripCharges().
Referenced by ApeEstimator::fillHitVariables().
|
inline |
Definition at line 28 of file SiStripClusterInfo.h.
References cluster_ptr.
Referenced by baryStrip(), firstStrip(), setCluster(), stripCharges(), and width().
|
inline |
Definition at line 30 of file SiStripClusterInfo.h.
References detId_.
Referenced by SiStripMonitorTrack::clusterInfos(), and setCluster().
|
inline |
Definition at line 32 of file SiStripClusterInfo.h.
References cluster(), and SiStripCluster::firstStrip().
Referenced by SiStripMonitorTrack::clusterInfos(), IsApvBad(), IsFiberBad(), maxStrip(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), and stripQualitiesBad().
void SiStripClusterInfo::initEvent | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 10 of file SiStripClusterInfo.cc.
References edm::EventSetup::getData(), siStripGain_, siStripGainToken_, siStripNoises_, siStripNoisesToken_, siStripQuality_, and siStripQualityToken_.
Referenced by HitEff::analyze(), SiStripMonitorTrack::analyze(), TrackerDpgAnalysis::analyze(), ApeEstimator::analyze(), and ShallowClustersProducer::produce().
bool SiStripClusterInfo::IsAnythingBad | ( | ) | const |
Definition at line 94 of file SiStripClusterInfo.cc.
References IsApvBad(), IsFiberBad(), IsModuleBad(), and stripQualitiesBad().
bool SiStripClusterInfo::IsApvBad | ( | ) | const |
Definition at line 100 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), SiStripQuality::IsApvBad(), siStripQuality_, and width().
Referenced by IsAnythingBad().
bool SiStripClusterInfo::IsFiberBad | ( | ) | const |
Definition at line 105 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), SiStripQuality::IsFiberBad(), siStripQuality_, and width().
Referenced by IsAnythingBad().
bool SiStripClusterInfo::IsModuleBad | ( | ) | const |
Definition at line 110 of file SiStripClusterInfo.cc.
References detId_, SiStripQuality::IsModuleBad(), and siStripQuality_.
Referenced by IsAnythingBad().
bool SiStripClusterInfo::IsModuleUsable | ( | ) | const |
Definition at line 112 of file SiStripClusterInfo.cc.
References detId_, SiStripQuality::IsModuleUsable(), and siStripQuality_.
Referenced by ApeEstimator::fillHitVariables().
|
inline |
Definition at line 44 of file SiStripClusterInfo.h.
References mps_fire::end, and stripCharges().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), and ApeEstimator::fillHitVariables().
|
inline |
Definition at line 45 of file SiStripClusterInfo.h.
References mps_fire::end, and stripCharges().
Referenced by SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), and maxStrip().
|
inline |
Definition at line 34 of file SiStripClusterInfo.h.
References firstStrip(), and maxIndex().
Referenced by ApeEstimator::fillHitVariables().
|
inline |
Definition at line 50 of file SiStripClusterInfo.h.
References calculate_noise(), and stripNoises().
Referenced by TrackerDpgAnalysis::analyze(), and calculate_noise().
|
inline |
Definition at line 51 of file SiStripClusterInfo.h.
References calculate_noise(), and stripNoisesRescaledByGain().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), and signalOverNoise().
void SiStripClusterInfo::setCluster | ( | const SiStripCluster & | cluster, |
int | detId | ||
) |
Definition at line 16 of file SiStripClusterInfo.cc.
References cluster(), cluster_ptr, detId(), and detId_.
Referenced by SiStripMonitorTrack::AllClusters(), HitEff::analyze(), SiStripLorentzAnglePCLMonitor::analyze(), TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::fillControlViewHistos(), ApeEstimator::fillHitVariables(), SiStripPositionCorrectionsTableProducer::fillTable(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), ShallowClustersProducer::produce(), and SiStripMonitorTrack::RecHitInfo().
|
inline |
Definition at line 53 of file SiStripClusterInfo.h.
References charge(), and noiseRescaledByGain().
Referenced by HitEff::analyze(), TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorTrack::fillControlViewHistos(), and ApeEstimator::fillHitVariables().
|
inline |
Definition at line 61 of file SiStripClusterInfo.h.
References siStripGain_.
Referenced by SiStripMonitorTrack::AllClusters(), and SiStripMonitorTrack::RecHitInfo().
|
inline |
Definition at line 62 of file SiStripClusterInfo.h.
References siStripQuality_.
Referenced by SiStripMonitorTrack::AllClusters(), and SiStripMonitorTrack::RecHitInfo().
|
inline |
Definition at line 37 of file SiStripClusterInfo.h.
References SiStripCluster::amplitudes(), and cluster().
Referenced by calculate_noise(), charge(), chargeLR(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), maxCharge(), maxIndex(), and variance().
std::vector< float > SiStripClusterInfo::stripGains | ( | ) | const |
Definition at line 62 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), ecalph2::gains, SiStripGain::getRange(), SiStripGain::getStripGain(), mps_fire::i, siStripGain_, and width().
std::vector< float > SiStripClusterInfo::stripNoises | ( | ) | const |
Definition at line 51 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), SiStripNoises::getNoise(), SiStripNoises::getRange(), mps_fire::i, hgcalLayerClustersEE_cfi::noises, siStripNoises_, and width().
Referenced by noise().
std::vector< float > SiStripClusterInfo::stripNoisesRescaledByGain | ( | ) | const |
Definition at line 38 of file SiStripClusterInfo.cc.
References detId_, MillePedeFileConverter_cfg::e, firstStrip(), SiStripNoises::getNoise(), SiStripNoises::getRange(), SiStripGain::getRange(), SiStripGain::getStripGain(), mps_fire::i, mysort::results, siStripGain_, siStripNoises_, and width().
Referenced by noiseRescaledByGain().
std::vector< bool > SiStripClusterInfo::stripQualitiesBad | ( | ) | const |
Definition at line 73 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), mps_fire::i, SiStripQuality::IsStripBad(), siStripQuality_, and width().
Referenced by IsAnythingBad().
float SiStripClusterInfo::variance | ( | ) | const |
Definition at line 27 of file SiStripClusterInfo.cc.
References mps_fire::end, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, submitPVResolutionJobs::q, stripCharges(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by SiStripLorentzAnglePCLMonitor::analyze(), and SiStripPositionCorrectionsTableProducer::fillTable().
|
inline |
Definition at line 31 of file SiStripClusterInfo.h.
References SiStripCluster::amplitudes(), cluster(), and SiStripCluster::size().
Referenced by TrackerDpgAnalysis::analyze(), calculate_noise(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), IsApvBad(), IsFiberBad(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), and stripQualitiesBad().
|
private |
Definition at line 67 of file SiStripClusterInfo.h.
Referenced by cluster(), and setCluster().
|
private |
Definition at line 77 of file SiStripClusterInfo.h.
Referenced by detId(), IsApvBad(), IsFiberBad(), IsModuleBad(), IsModuleUsable(), setCluster(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), and stripQualitiesBad().
|
private |
Definition at line 74 of file SiStripClusterInfo.h.
Referenced by initEvent(), siStripGain(), stripGains(), and stripNoisesRescaledByGain().
|
private |
Definition at line 70 of file SiStripClusterInfo.h.
Referenced by initEvent().
|
private |
Definition at line 73 of file SiStripClusterInfo.h.
Referenced by initEvent(), stripNoises(), and stripNoisesRescaledByGain().
|
private |
Definition at line 69 of file SiStripClusterInfo.h.
Referenced by initEvent().
|
private |
Definition at line 75 of file SiStripClusterInfo.h.
Referenced by initEvent(), IsApvBad(), IsFiberBad(), IsModuleBad(), IsModuleUsable(), siStripQuality(), and stripQualitiesBad().
|
private |
Definition at line 71 of file SiStripClusterInfo.h.
Referenced by initEvent().