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