#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 |
float | getSplitClusterError () const |
void | setSplitClusterError (float errx) |
SiStripCluster () | |
SiStripCluster (const SiStripDigiRange &range) | |
template<typename Iter > | |
SiStripCluster (const uint16_t &firstStrip, Iter begin, Iter end) | |
Private Attributes | |
std::vector< uint8_t > | amplitudes_ |
float | error_x |
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.
|
explicit |
check if digis consecutive
Definition at line 4 of file SiStripCluster.cc.
References amplitudes_, i, and j.
|
inline |
Definition at line 23 of file SiStripCluster.h.
|
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.
You can find the special meanings of values { 0, 254, 255} in section 3.4.1 of http://www.te.rl.ac.uk/esdg/cms-fed/firmware/Documents/FE_FPGA_Technical_Description.pdf
Definition at line 48 of file SiStripCluster.h.
References amplitudes_.
Referenced by SiStripGainFromCalibTree::algoAnalyze(), TrackerHitAssociator::associateSimpleRecHitCluster(), SimpleCosmicBONSeeder::checkCharge(), ClusterShapeHitFilter::checkClusterCharge(), DeDxDiscriminatorProducer::ClusterSaturatingStrip(), ClusterVariables::clusterSize(), SiStripGainFromData::ComputeChargeOverPath(), DeDxEstimatorProducer::getCharge(), DeDxDiscriminatorProducer::GetProbability(), ClusterShapeHitFilter::getSizes(), SiStripRecHitConverterAlgorithm::isMasked(), StMeasurementConditionSet::isMasked(), CalibrationTrackSelector::isOkCharge(), DeDxDiscriminatorLearner::Learn(), StripCPEfromTrackAngle::localParameters(), StripCPEgeometric::localParameters(), StripCPEfromTemplate::localParameters(), PrintRecoObjects::print(), ClusterTPAssociationProducer::produce(), ShallowGainCalibration::produce(), TrackClusterSplitter::splitCluster(), ClusterVariables::stripCharges(), 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 29 of file SiStripCluster.cc.
References amplitudes_, f, firstStrip_, and i.
Referenced by SiStripClusterInfo::baryStrip(), SiStripFineDelayHit::closestCluster(), SiStripRecHitConverterAlgorithm::isMasked(), StMeasurementConditionSet::isMasked(), StripCPEfromTrackAngle::localParameters(), StripCPEfromTemplate::localParameters(), StripCPE::localParameters(), PrintRecoObjects::print(), and TrackClusterSplitter::splitCluster().
|
inline |
The number of the first strip in the cluster
Definition at line 35 of file SiStripCluster.h.
References firstStrip_.
Referenced by fireworks::addSiStripClusters(), SiStripGainFromCalibTree::algoAnalyze(), TrackerHitAssociator::associateSimpleRecHitCluster(), SimpleCosmicBONSeeder::checkCharge(), SiStripGainFromData::ComputeChargeOverPath(), SiStripClusterInfo::firstStrip(), ClusterShapeHitFilter::getSizes(), SiStripRecHitConverterAlgorithm::isMasked(), StMeasurementConditionSet::isMasked(), DeDxDiscriminatorLearner::Learn(), StripCPEgeometric::localParameters(), StripCPEfromTemplate::localParameters(), shallow::make_cluster_map(), operator<(), PrintRecoObjects::print(), ShallowTrackClustersProducer::produce(), ClusterTPAssociationProducer::produce(), ShallowGainCalibration::produce(), and TrackClusterSplitter::splitCluster().
|
inline |
Definition at line 55 of file SiStripCluster.h.
References error_x.
Referenced by StripCPEfromTemplate::localParameters().
|
inline |
Definition at line 56 of file SiStripCluster.h.
References error_x.
Referenced by TrackClusterSplitter::splitCluster().
|
private |
Definition at line 61 of file SiStripCluster.h.
Referenced by amplitudes(), barycenter(), and SiStripCluster().
|
private |
Definition at line 73 of file SiStripCluster.h.
Referenced by getSplitClusterError(), and setSplitClusterError().
|
private |
Definition at line 63 of file SiStripCluster.h.
Referenced by barycenter(), and firstStrip().