CMS 3D CMS Logo

RPixChargeShare.h
Go to the documentation of this file.
1 #ifndef SimPPS_PPSPixelDigiProducer_RPix_Charge_Share_H
2 #define SimPPS_PPSPixelDigiProducer_RPix_Charge_Share_H
3 
5 #include <vector>
8 
10 public:
11  RPixChargeShare(const edm::ParameterSet &params, uint32_t det_id);
12  std::map<unsigned short, double> Share(const std::vector<RPixSignalPoint> &charge_map);
13 
14 private:
15  uint32_t det_id_;
16  std::vector<double> signalCoupling_;
19  const int pxlRowSize_ = pxlInd.getDefaultRowDetSize();
20  const int pxlColSize_ = pxlInd.getDefaultColDetSize();
22 
24 
26  double chargeMap2E_[4][60][40];
27  const int xBinMax_[4] = {29, 59, 29, 59}; // X upper bins of the charge maps [0:3]
28  const int yBinMax_[4] = {19, 19, 39, 39}; // Y upper bins of the charge maps [0:3]
29 };
30 
31 #endif
const int xBinMax_[4]
CTPPSPixelSimTopology theRPixDetTopology_
int getDefaultRowDetSize() const
const int yBinMax_[4]
CTPPSPixelIndices pxlInd
RPixChargeShare(const edm::ParameterSet &params, uint32_t det_id)
int getDefaultColDetSize() const
double chargeMap2E_[4][60][40]
const int pxlColSize_
const int pxlRowSize_
std::vector< double > signalCoupling_
std::string ChargeMapFile2E_[4]
std::map< unsigned short, double > Share(const std::vector< RPixSignalPoint > &charge_map)