#include <SiStripCluster.h>
Public Types | |
typedef std::vector < SiStripDigi > ::const_iterator | SiStripDigiIter |
typedef std::pair < SiStripDigiIter, SiStripDigiIter > | SiStripDigiRange |
Public Member Functions | |
const std::vector< uint8_t > & | amplitudes () const |
float | barycenter () const |
uint16_t | firstStrip () const |
uint32_t | geographicalId () const |
SiStripCluster () | |
SiStripCluster (uint32_t detid, const SiStripDigiRange &range) | |
SiStripCluster (const uint32_t &detid, const uint16_t &firstStrip, std::vector< uint16_t >::const_iterator begin, std::vector< uint16_t >::const_iterator end) | |
Private Attributes | |
std::vector< uint8_t > | amplitudes_ |
uint32_t | detId_ |
uint16_t | firstStrip_ |
Definition at line 8 of file SiStripCluster.h.
typedef std::vector<SiStripDigi>::const_iterator SiStripCluster::SiStripDigiIter |
Definition at line 11 of file SiStripCluster.h.
typedef std::pair<SiStripDigiIter,SiStripDigiIter> SiStripCluster::SiStripDigiRange |
Definition at line 12 of file SiStripCluster.h.
|
inline |
Construct from a range of digis that form a cluster and from a DetID. The range is assumed to be non-empty.
Definition at line 18 of file SiStripCluster.h.
SiStripCluster::SiStripCluster | ( | uint32_t | detid, |
const SiStripDigiRange & | range | ||
) |
check if digis consecutive
Definition at line 4 of file SiStripCluster.cc.
References amplitudes_, i, and j.
SiStripCluster::SiStripCluster | ( | const uint32_t & | detid, |
const uint16_t & | firstStrip, | ||
std::vector< uint16_t >::const_iterator | begin, | ||
std::vector< uint16_t >::const_iterator | end | ||
) |
Definition at line 27 of file SiStripCluster.cc.
|
inline |
The amplitudes of the strips forming the cluster. The amplitudes are on consecutive strips; if a strip is missing the amplitude is set to zero. A strip may be missing in the middle of a cluster because of a clusterizer that accepts holes. A strip may also be missing anywhere in the cluster, including the edge, to record a dead/noisy channel.
Definition at line 45 of file SiStripCluster.h.
References amplitudes_.
Referenced by TrackerHitAssociator::associateSimpleRecHitCluster(), SimpleCosmicBONSeeder::checkCharge(), DeDxDiscriminatorProducer::ClusterSaturatingStrip(), SiStripGainFromData::ComputeChargeOverPath(), DeDxEstimatorProducer::getCharge(), DeDxDiscriminatorProducer::GetProbability(), SiStripRecHitConverterAlgorithm::isMasked(), TkStripMeasurementDet::isMasked(), CalibrationTrackSelector::isOkCharge(), DeDxDiscriminatorLearner::Learn(), StripCPEfromTrackAngle::localParameters(), StripCPEgeometric::localParameters(), ShallowClustersProducer::produce(), ShallowGainCalibration::produce(), jptJetAnalysis::StripSignalOverNoiseCalculator::signalOverNoise(), SiStripClusterInfo::stripCharges(), and SiStripClusterInfo::width().
float SiStripCluster::barycenter | ( | ) | const |
The barycenter of the cluster, not corrected for Lorentz shift; should not be used as position estimate for tracking.
Definition at line 37 of file SiStripCluster.cc.
References amplitudes_, firstStrip_, and i.
Referenced by SiStripClusterInfo::baryStrip(), SiStripFineDelayHit::closestCluster(), SiStripRecHitConverterAlgorithm::isMasked(), TkStripMeasurementDet::isMasked(), StripCPEfromTrackAngle::localParameters(), StripCPE::localParameters(), StripClusterAboveU::operator()(), and ShallowClustersProducer::produce().
|
inline |
The number of the first strip in the cluster
Definition at line 29 of file SiStripCluster.h.
References firstStrip_.
Referenced by fireworks::addSiStripClusters(), TrackerHitAssociator::associateSimpleRecHitCluster(), FWSiStripClusterProxyBuilder::build(), SimpleCosmicBONSeeder::checkCharge(), SiStripGainFromData::ComputeChargeOverPath(), SiStripClusterInfo::firstStrip(), SiStripRecHitConverterAlgorithm::isMasked(), TkStripMeasurementDet::isMasked(), DeDxDiscriminatorLearner::Learn(), StripCPEgeometric::localParameters(), FastStripCPE::localParameters(), shallow::make_cluster_map(), operator<(), ShallowTrackClustersProducer::produce(), ShallowGainCalibration::produce(), and jptJetAnalysis::StripSignalOverNoiseCalculator::signalOverNoise().
|
inline |
The geographical ID of the corresponding DetUnit, to be used for transformations to local and to global reference frames etc.
Definition at line 35 of file SiStripCluster.h.
References detId_.
Referenced by TrackerHitAssociator::associateSimpleRecHitCluster(), FWSiStripClusterProxyBuilder::build(), DeDxDiscriminatorProducer::ClusterSaturatingStrip(), SiStripGainFromData::ComputeChargeOverPath(), SiStripClusterInfo::detId(), DeDxEstimatorProducer::getCharge(), DeDxDiscriminatorProducer::GetProbability(), DeDxDiscriminatorLearner::Learn(), StripCPEfromTrackAngle::localParameters(), StripCPEgeometric::localParameters(), StripCPE::localParameters(), FastStripCPE::localParameters(), operator<(), ShallowGainCalibration::produce(), and jptJetAnalysis::StripSignalOverNoiseCalculator::signalOverNoise().
|
private |
Definition at line 56 of file SiStripCluster.h.
Referenced by amplitudes(), barycenter(), and SiStripCluster().
|
private |
Definition at line 54 of file SiStripCluster.h.
Referenced by geographicalId().
|
private |
Definition at line 55 of file SiStripCluster.h.
Referenced by barycenter(), and firstStrip().