#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_ |
const edm::ParameterSet & | params_ |
std::set< CTPPSPixelDigi > | rpix_digi_set_ |
unsigned short | SeedADCThreshold_ |
std::vector< RPixCalibDigi > | SeedVector_ |
int | VcaltoElectronGain_ |
int | VcaltoElectronOffset_ |
int | verbosity_ |
Definition at line 41 of file RPixDetClusterizer.h.
RPixDetClusterizer::RPixDetClusterizer | ( | edm::ParameterSet const & | conf | ) |
Definition at line 13 of file RPixDetClusterizer.cc.
References ADCThreshold_, doSingleCalibration_, ElectronADCGain_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SeedADCThreshold_, VcaltoElectronGain_, VcaltoElectronOffset_, and verbosity_.
RPixDetClusterizer::~RPixDetClusterizer | ( | ) |
Definition at line 23 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 25 of file RPixDetClusterizer.cc.
References ecalLiteDTU::adc(), CTPPSPixelAnalysisMask::analysisMask, calib_rpix_digi_map_, calibrate(), bsc_activity_cfg::clusters, ElectronADCGain_, pwdgSkimBPark_cfi::electrons, Exception, make_cluster(), muonClassificationByHits_cfi::pixel, rpix_digi_set_, SeedADCThreshold_, SeedVector_, and verbosity_.
Referenced by CTPPSPixelClusterProducer::run().
int RPixDetClusterizer::calibrate | ( | unsigned int | detId, |
int | adc, | ||
int | row, | ||
int | col, | ||
const CTPPSPixelGainCalibrations * | pcalibration | ||
) |
Definition at line 121 of file RPixDetClusterizer.cc.
References ecalLiteDTU::adc(), cuy::col, 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 80 of file RPixDetClusterizer.cc.
References RPixTempCluster::adc, RPixTempCluster::addPixel(), HltBtagPostValidation_cff::c, calib_rpix_digi_map_, bsc_activity_cfg::clusters, RPixTempCluster::col, CTPPSPixelDigi::column(), RPixCalibDigi::electrons(), RPixTempCluster::empty(), RPixTempCluster::isize, SiStripPI::max, min(), RPixTempCluster::pop(), alignCSCRings::r, CTPPSPixelDigi::row(), RPixTempCluster::row, and RPixTempCluster::top().
Referenced by buildClusters().
|
private |
Definition at line 61 of file RPixDetClusterizer.h.
Referenced by RPixDetClusterizer().
|
private |
Definition at line 57 of file RPixDetClusterizer.h.
Referenced by buildClusters(), and make_cluster().
|
private |
Definition at line 66 of file RPixDetClusterizer.h.
|
private |
Definition at line 65 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 62 of file RPixDetClusterizer.h.
Referenced by buildClusters(), calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 58 of file RPixDetClusterizer.h.
|
private |
Definition at line 56 of file RPixDetClusterizer.h.
Referenced by buildClusters().
|
private |
Definition at line 60 of file RPixDetClusterizer.h.
Referenced by buildClusters(), and RPixDetClusterizer().
|
private |
Definition at line 67 of file RPixDetClusterizer.h.
Referenced by buildClusters().
|
private |
Definition at line 63 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 64 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 59 of file RPixDetClusterizer.h.
Referenced by buildClusters(), calibrate(), and RPixDetClusterizer().