#include <RPixDetClusterizer.h>
Public Member Functions | |
void | buildClusters (unsigned int detId, const std::vector< CTPPSPixelDigi > &digi, std::vector< CTPPSPixelCluster > &clusters, const CTPPSPixelGainCalibrations *pcalibration, const CTPPSPixelAnalysisMask *mask) |
int | calibrate (unsigned int, int, int, int, const CTPPSPixelGainCalibrations *pcalibration) |
void | make_cluster (RPixCalibDigi const &aSeed, std::vector< CTPPSPixelCluster > &clusters) |
RPixDetClusterizer (edm::ParameterSet const &conf) | |
~RPixDetClusterizer () | |
Private Attributes | |
unsigned short | ADCThreshold_ |
std::map< unsigned int, RPixCalibDigi > | calib_rpix_digi_map_ |
std::string | CalibrationFile_ |
bool | doSingleCalibration_ |
double | ElectronADCGain_ |
std::set< CTPPSPixelDigi > | rpix_digi_set_ |
unsigned short | SeedADCThreshold_ |
std::vector< RPixCalibDigi > | SeedVector_ |
int | VcaltoElectronGain_ |
int | VcaltoElectronOffset_ |
int | verbosity_ |
Definition at line 40 of file RPixDetClusterizer.h.
RPixDetClusterizer::RPixDetClusterizer | ( | edm::ParameterSet const & | conf | ) |
Definition at line 16 of file RPixDetClusterizer.cc.
References ADCThreshold_, doSingleCalibration_, ElectronADCGain_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SeedADCThreshold_, VcaltoElectronGain_, VcaltoElectronOffset_, and verbosity_.
RPixDetClusterizer::~RPixDetClusterizer | ( | ) |
Definition at line 26 of file RPixDetClusterizer.cc.
void RPixDetClusterizer::buildClusters | ( | unsigned int | detId, |
const std::vector< CTPPSPixelDigi > & | digi, | ||
std::vector< CTPPSPixelCluster > & | clusters, | ||
const CTPPSPixelGainCalibrations * | pcalibration, | ||
const CTPPSPixelAnalysisMask * | mask | ||
) |
Definition at line 28 of file RPixDetClusterizer.cc.
References gpuClustering::adc, CTPPSPixelAnalysisMask::analysisMask, calib_rpix_digi_map_, calibrate(), bsc_activity_cfg::clusters, hcalRecHitTable_cff::detId, ElectronADCGain_, pwdgSkimBPark_cfi::electrons, Exception, CTPPSPixelIndices::getROCId(), make_cluster(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, muonClassificationByHits_cfi::pixel, CTPPSPixelDetId::plane(), rpix_digi_set_, SeedADCThreshold_, SeedVector_, CTPPSPixelIndices::transformToModule(), and verbosity_.
Referenced by CTPPSPixelClusterProducer::run().
int RPixDetClusterizer::calibrate | ( | unsigned int | detId, |
int | adc, | ||
int | row, | ||
int | col, | ||
const CTPPSPixelGainCalibrations * | pcalibration | ||
) |
Definition at line 147 of file RPixDetClusterizer.cc.
References gpuClustering::adc, cuy::col, hcalRecHitTable_cff::detId, doSingleCalibration_, ElectronADCGain_, pwdgSkimBPark_cfi::electrons, PedestalClient_cfi::gain, CTPPSPixelGainCalibration::getDetId(), CTPPSPixelGainCalibration::getGain(), CTPPSPixelGainCalibrations::getGainCalibration(), CTPPSPixelGainCalibration::getPed(), createfilelist::int, EcalCondDBWriter_cfi::pedestal, VcaltoElectronGain_, VcaltoElectronOffset_, and verbosity_.
Referenced by buildClusters().
void RPixDetClusterizer::make_cluster | ( | RPixCalibDigi const & | aSeed, |
std::vector< CTPPSPixelCluster > & | clusters | ||
) |
check if seed already used
Definition at line 108 of file RPixDetClusterizer.cc.
References RPixTempCluster::adc, RPixTempCluster::addPixel(), DummyCfis::c, calib_rpix_digi_map_, bsc_activity_cfg::clusters, RPixTempCluster::col, CTPPSPixelDigi::column(), RPixCalibDigi::electrons(), RPixTempCluster::empty(), RPixTempCluster::isize, SiStripPI::max, SiStripPI::min, RPixTempCluster::pop(), alignCSCRings::r, CTPPSPixelDigi::row(), RPixTempCluster::row, and RPixTempCluster::top().
Referenced by buildClusters().
|
private |
Definition at line 59 of file RPixDetClusterizer.h.
Referenced by RPixDetClusterizer().
|
private |
Definition at line 56 of file RPixDetClusterizer.h.
Referenced by buildClusters(), and make_cluster().
|
private |
Definition at line 64 of file RPixDetClusterizer.h.
|
private |
Definition at line 63 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 60 of file RPixDetClusterizer.h.
Referenced by buildClusters(), calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 55 of file RPixDetClusterizer.h.
Referenced by buildClusters().
|
private |
Definition at line 58 of file RPixDetClusterizer.h.
Referenced by buildClusters(), and RPixDetClusterizer().
|
private |
Definition at line 65 of file RPixDetClusterizer.h.
Referenced by buildClusters().
|
private |
Definition at line 61 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 62 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 57 of file RPixDetClusterizer.h.
Referenced by buildClusters(), calibrate(), and RPixDetClusterizer().