#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 |
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 |
std::vector< SiStripCluster > | reclusterize (const edm::ParameterSet &) const |
float | signalOverNoise () const |
SiStripClusterInfo (const SiStripCluster &cluster, const edm::EventSetup &es, const int detid, const std::string &qualityLabel="") | |
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 |
uint32_t | detId_ |
const edm::EventSetup & | es |
edm::ESHandle< SiStripGain > | gainHandle |
edm::ESHandle< SiStripNoises > | noiseHandle |
edm::ESHandle< SiStripQuality > | qualityHandle |
std::string | qualityLabel |
Definition at line 15 of file SiStripClusterInfo.h.
SiStripClusterInfo::SiStripClusterInfo | ( | const SiStripCluster & | cluster, |
const edm::EventSetup & | es, | ||
const int | detid, | ||
const std::string & | qualityLabel = "" |
||
) |
Definition at line 13 of file SiStripClusterInfo.cc.
References chargeLR(), es, gainHandle, edm::EventSetup::get(), noiseHandle, qualityHandle, and qualityLabel.
|
inline |
Definition at line 29 of file SiStripClusterInfo.h.
References SiStripCluster::barycenter(), and cluster().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), and ApeEstimator::fillHitVariables().
|
private |
Definition at line 100 of file SiStripClusterInfo.cc.
References mps_fire::i, IsAnythingBad(), mathSSE::sqrt(), stripCharges(), and width().
Referenced by noise(), noiseRescaledByGain(), signalOverNoise(), and stripQualitiesBad().
|
inline |
Definition at line 39 of file SiStripClusterInfo.h.
References begin, end, and stripCharges().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), ShallowClustersProducer::produce(), and signalOverNoise().
std::pair< uint16_t, uint16_t > SiStripClusterInfo::chargeLR | ( | ) | const |
Definition at line 27 of file SiStripClusterInfo.cc.
References begin, end, SiStripPI::max, stripCharges(), and variance().
Referenced by ApeEstimator::fillHitVariables(), maxIndex(), and SiStripClusterInfo().
|
inline |
Definition at line 24 of file SiStripClusterInfo.h.
References cluster_ptr.
Referenced by baryStrip(), firstStrip(), stripCharges(), and width().
|
inline |
Definition at line 26 of file SiStripClusterInfo.h.
References detId_.
Referenced by SiStripMonitorTrack::clusterInfos(), and ShallowClustersProducer::NearDigis::NearDigis().
|
inline |
Definition at line 28 of file SiStripClusterInfo.h.
References cluster(), and SiStripCluster::firstStrip().
Referenced by SiStripMonitorTrack::clusterInfos(), IsApvBad(), IsFiberBad(), maxStrip(), ShallowClustersProducer::NearDigis::NearDigis(), ShallowClustersProducer::produce(), reclusterize(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), and stripQualitiesBad().
bool SiStripClusterInfo::IsAnythingBad | ( | ) | const |
Definition at line 114 of file SiStripClusterInfo.cc.
References IsApvBad(), IsFiberBad(), IsModuleBad(), and stripQualitiesBad().
Referenced by calculate_noise(), ShallowClustersProducer::produce(), and signalOverNoise().
bool SiStripClusterInfo::IsApvBad | ( | ) | const |
Definition at line 126 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), SiStripQuality::IsApvBad(), IsFiberBad(), qualityHandle, and width().
Referenced by IsAnythingBad(), and signalOverNoise().
bool SiStripClusterInfo::IsFiberBad | ( | ) | const |
Definition at line 133 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), SiStripQuality::IsFiberBad(), IsModuleBad(), qualityHandle, and width().
Referenced by IsAnythingBad(), IsApvBad(), and signalOverNoise().
bool SiStripClusterInfo::IsModuleBad | ( | ) | const |
Definition at line 140 of file SiStripClusterInfo.cc.
References detId_, SiStripQuality::IsModuleBad(), IsModuleUsable(), and qualityHandle.
Referenced by IsAnythingBad(), IsFiberBad(), and signalOverNoise().
bool SiStripClusterInfo::IsModuleUsable | ( | ) | const |
Definition at line 145 of file SiStripClusterInfo.cc.
References detId_, SiStripQuality::IsModuleUsable(), qualityHandle, and reclusterize().
Referenced by ApeEstimator::fillHitVariables(), IsModuleBad(), and signalOverNoise().
|
inline |
Definition at line 40 of file SiStripClusterInfo.h.
References begin, end, and stripCharges().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), ShallowClustersProducer::NearDigis::NearDigis(), and ShallowClustersProducer::produce().
|
inline |
Definition at line 41 of file SiStripClusterInfo.h.
References begin, chargeLR(), end, and stripCharges().
Referenced by SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), maxStrip(), ShallowClustersProducer::NearDigis::NearDigis(), and ShallowClustersProducer::produce().
|
inline |
Definition at line 30 of file SiStripClusterInfo.h.
References firstStrip(), maxIndex(), and variance().
Referenced by ApeEstimator::fillHitVariables(), ShallowClustersProducer::NearDigis::NearDigis(), and ShallowClustersProducer::produce().
|
inline |
Definition at line 44 of file SiStripClusterInfo.h.
References calculate_noise(), and stripNoises().
Referenced by TrackerDpgAnalysis::analyze().
|
inline |
Definition at line 45 of file SiStripClusterInfo.h.
References calculate_noise(), and stripNoisesRescaledByGain().
Referenced by TrackerDpgAnalysis::analyze(), SiStripMonitorTrack::clusterInfos(), ShallowClustersProducer::produce(), and signalOverNoise().
std::vector< SiStripCluster > SiStripClusterInfo::reclusterize | ( | const edm::ParameterSet & | conf | ) | const |
Definition at line 150 of file SiStripClusterInfo.cc.
References electronCleaner_cfi::algorithm, begin, fastPrimaryVertexProducer_cfi::clusters, StripClusterizerAlgorithmFactory::create(), detId_, end, es, firstStrip(), mps_fire::i, stripCharges(), stripGains(), and width().
Referenced by IsModuleUsable(), and signalOverNoise().
|
inline |
Definition at line 47 of file SiStripClusterInfo.h.
References calculate_noise(), charge(), IsAnythingBad(), IsApvBad(), IsFiberBad(), IsModuleBad(), IsModuleUsable(), noiseRescaledByGain(), and reclusterize().
Referenced by TrackerDpgAnalysis::analyze(), reco::modules::TrackerTrackHitFilter::checkStoN(), SiStripMonitorTrack::clusterInfos(), SiStripMonitorTrack::fillControlViewHistos(), ApeEstimator::fillHitVariables(), and ShallowClustersProducer::produce().
|
inline |
Definition at line 33 of file SiStripClusterInfo.h.
References SiStripCluster::amplitudes(), cluster(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), and stripQualitiesBad().
Referenced by calculate_noise(), charge(), chargeLR(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), maxCharge(), maxIndex(), ShallowClustersProducer::NearDigis::NearDigis(), reclusterize(), and variance().
std::vector< float > SiStripClusterInfo::stripGains | ( | ) | const |
Definition at line 77 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), gainHandle, SiStripGain::getRange(), SiStripGain::getStripGain(), mps_fire::i, stripQualitiesBad(), and width().
Referenced by ShallowClustersProducer::produce(), reclusterize(), stripCharges(), and stripNoises().
std::vector< float > SiStripClusterInfo::stripNoises | ( | ) | const |
Definition at line 65 of file SiStripClusterInfo.cc.
References detId_, firstStrip(), SiStripNoises::getNoise(), SiStripNoises::getRange(), mps_fire::i, noiseHandle, stripGains(), and width().
Referenced by noise(), stripCharges(), and stripNoisesRescaledByGain().
std::vector< float > SiStripClusterInfo::stripNoisesRescaledByGain | ( | ) | const |
Definition at line 52 of file SiStripClusterInfo.cc.
References detId_, MillePedeFileConverter_cfg::e, firstStrip(), gainHandle, SiStripNoises::getNoise(), SiStripNoises::getRange(), SiStripGain::getRange(), SiStripGain::getStripGain(), mps_fire::i, noiseHandle, mps_update::results, stripNoises(), and width().
Referenced by noiseRescaledByGain(), ShallowClustersProducer::produce(), stripCharges(), and variance().
std::vector< bool > SiStripClusterInfo::stripQualitiesBad | ( | ) | const |
Definition at line 89 of file SiStripClusterInfo.cc.
References calculate_noise(), detId_, firstStrip(), mps_fire::i, SiStripQuality::IsStripBad(), qualityHandle, and width().
Referenced by IsAnythingBad(), stripCharges(), and stripGains().
float SiStripClusterInfo::variance | ( | ) | const |
Definition at line 38 of file SiStripClusterInfo.cc.
References begin, end, mps_fire::i, lumiQueryAPI::q, stripCharges(), stripNoisesRescaledByGain(), globals_cff::x1, and globals_cff::x2.
Referenced by chargeLR(), maxStrip(), and ShallowClustersProducer::produce().
|
inline |
Definition at line 27 of file SiStripClusterInfo.h.
References SiStripCluster::amplitudes(), and cluster().
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), TrackerDpgAnalysis::analyze(), calculate_noise(), SiStripMonitorTrack::clusterInfos(), ApeEstimator::fillHitVariables(), IsApvBad(), IsFiberBad(), ShallowClustersProducer::NearDigis::NearDigis(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), ShallowClustersProducer::produce(), reclusterize(), Vispa.Views.PropertyView.PropertyView::resizeEvent(), Vispa.Views.PropertyView.PropertyView::sectionResized(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), stripQualitiesBad(), and Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
|
private |
Definition at line 61 of file SiStripClusterInfo.h.
Referenced by cluster().
|
private |
Definition at line 67 of file SiStripClusterInfo.h.
Referenced by detId(), IsApvBad(), IsFiberBad(), IsModuleBad(), IsModuleUsable(), reclusterize(), stripGains(), stripNoises(), stripNoisesRescaledByGain(), and stripQualitiesBad().
|
private |
Definition at line 62 of file SiStripClusterInfo.h.
Referenced by reclusterize(), and SiStripClusterInfo().
|
private |
Definition at line 64 of file SiStripClusterInfo.h.
Referenced by SiStripClusterInfo(), stripGains(), and stripNoisesRescaledByGain().
|
private |
Definition at line 63 of file SiStripClusterInfo.h.
Referenced by SiStripClusterInfo(), stripNoises(), and stripNoisesRescaledByGain().
|
private |
Definition at line 65 of file SiStripClusterInfo.h.
Referenced by IsApvBad(), IsFiberBad(), IsModuleBad(), IsModuleUsable(), SiStripClusterInfo(), and stripQualitiesBad().
|
private |
Definition at line 66 of file SiStripClusterInfo.h.
Referenced by SiStripClusterInfo().