#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 52 of file RPixDetClusterizer.h.
RPixDetClusterizer::RPixDetClusterizer | ( | edm::ParameterSet const & | conf | ) |
Definition at line 14 of file RPixDetClusterizer.cc.
References ADCThreshold_, doSingleCalibration_, ElectronADCGain_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SeedADCThreshold_, VcaltoElectronGain_, VcaltoElectronOffset_, and verbosity_.
RPixDetClusterizer::~RPixDetClusterizer | ( | ) |
Definition at line 27 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 29 of file RPixDetClusterizer.cc.
References ecalMGPA::adc(), CTPPSPixelAnalysisMask::analysisMask, calib_rpix_digi_map_, calibrate(), ElectronADCGain_, nano_cff::electrons, Exception, make_cluster(), RecoTauDiscriminantConfiguration::mask, digitizers_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 119 of file RPixDetClusterizer.cc.
References doSingleCalibration_, ElectronADCGain_, nano_cff::electrons, muonCSCDigis_cfi::gain, CTPPSPixelGainCalibration::getDetId(), CTPPSPixelGainCalibration::getGain(), CTPPSPixelGainCalibrations::getGainCalibration(), CTPPSPixelGainCalibration::getPed(), createfilelist::int, muonCSCDigis_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(), EnergyCorrector::c, calib_rpix_digi_map_, 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 72 of file RPixDetClusterizer.h.
Referenced by RPixDetClusterizer().
|
private |
Definition at line 68 of file RPixDetClusterizer.h.
Referenced by buildClusters(), and make_cluster().
|
private |
Definition at line 77 of file RPixDetClusterizer.h.
|
private |
Definition at line 76 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 73 of file RPixDetClusterizer.h.
Referenced by buildClusters(), calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 69 of file RPixDetClusterizer.h.
|
private |
Definition at line 67 of file RPixDetClusterizer.h.
Referenced by buildClusters().
|
private |
Definition at line 71 of file RPixDetClusterizer.h.
Referenced by buildClusters(), and RPixDetClusterizer().
|
private |
Definition at line 78 of file RPixDetClusterizer.h.
Referenced by buildClusters().
|
private |
Definition at line 74 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 75 of file RPixDetClusterizer.h.
Referenced by calibrate(), and RPixDetClusterizer().
|
private |
Definition at line 70 of file RPixDetClusterizer.h.
Referenced by buildClusters(), calibrate(), and RPixDetClusterizer().