7 #ifndef RecoPPS_Local_RPixDetClusterizer_H 8 #define RecoPPS_Local_RPixDetClusterizer_H 45 const std::vector<CTPPSPixelDigi> &digi,
46 std::vector<CTPPSPixelCluster> &
clusters,
76 static constexpr
unsigned short MAXSIZE = 256;
84 unsigned short top()
const {
return curr; }
88 bool addPixel(
unsigned char myrow,
unsigned char mycol,
unsigned short const iadc) {
void set_electrons(int a)
unsigned short adc[MAXSIZE]
std::map< unsigned int, RPixCalibDigi > calib_rpix_digi_map_
bool doSingleCalibration_
static constexpr unsigned short MAXSIZE
RPixDetClusterizer(edm::ParameterSet const &conf)
std::string CalibrationFile_
std::vector< RPixCalibDigi > SeedVector_
RPixCalibDigi(unsigned char row, unsigned char col, unsigned short adc, unsigned short ele)
void make_cluster(RPixCalibDigi const &aSeed, std::vector< CTPPSPixelCluster > &clusters)
int VcaltoElectronOffset_
std::set< CTPPSPixelDigi > rpix_digi_set_
unsigned short SeedADCThreshold_
unsigned short adc() const
unsigned short ADCThreshold_
bool addPixel(unsigned char myrow, unsigned char mycol, unsigned short const iadc)
int calibrate(unsigned int, int, int, int, const CTPPSPixelGainCalibrations *pcalibration)
void buildClusters(unsigned int detId, const std::vector< CTPPSPixelDigi > &digi, std::vector< CTPPSPixelCluster > &clusters, const CTPPSPixelGainCalibrations *pcalibration, const CTPPSPixelAnalysisMask *mask)
int row() const
Access to digi information.
unsigned short top() const