1 #ifndef SimTracker_SiPixelDigitizer_SiPixelChargeReweightingAlgorithm_h 2 #define SimTracker_SiPixelDigitizer_SiPixelChargeReweightingAlgorithm_h 25 typedef std::map<int, SiPixelDigitizerAlgorithm::Amplitude, std::less<int> >
signal_map_type;
30 std::map<
int,
float, std::less<int> >& hit_signal,
31 const size_t hitIndex,
32 const size_t hitIndex4CR,
33 const unsigned int tofBin,
37 unsigned short int processType,
38 const bool& boolmakeDigiSimLinks);
41 std::vector<PixelDigi>& digis,
45 CLHEP::HepRandomEngine* engine);
boost::multi_array< float, 2 > array_2d
const bool PrintTemplates
edm::ESGetToken< SiPixel2DTemplateDBObject, SiPixel2DTemplateDBObjectRcd > SiPixel2DTemp_num_token_
bool lateSignalReweight(const PixelGeomDetUnit *pixdet, std::vector< PixelDigi > &digis, PixelSimHitExtraInfo &loopTempSH, signal_map_type &theNewDigiSignal, const TrackerTopology *tTopo, CLHEP::HepRandomEngine *engine)
std::vector< bool > xdouble
std::map< int, SiPixelDigitizerAlgorithm::Amplitude, std::less< int > > signal_map_type
const bool UseReweighting
signal_map_type::iterator signal_map_iterator
const SiPixel2DTemplateDBObject * dbobject_den
std::map< uint32_t, signal_map_type > signalMaps
bool applyLateReweighting_
SiPixelTemplate2D templ2D
void init(const edm::EventSetup &es)
GloballyPositioned< double > Frame
std::vector< edm::ParameterSet > Parameters
signal_map_type::const_iterator signal_map_const_iterator
const SiPixel2DTemplateDBObject * dbobject_num
void printCluster(array_2d &cluster)
int PixelTempRewgt2D(int id_gen, int id_rewgt, array_2d &cluster)
SiPixelChargeReweightingAlgorithm(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
~SiPixelChargeReweightingAlgorithm()
std::vector< bool > ydouble
edm::ESGetToken< SiPixel2DTemplateDBObject, SiPixel2DTemplateDBObjectRcd > SiPixel2DTemp_den_token_
std::vector< SiPixelTemplateStore2D > templateStores_
bool hitSignalReweight(const PSimHit &hit, std::map< int, float, std::less< int > > &hit_signal, const size_t hitIndex, const size_t hitIndex4CR, const unsigned int tofBin, const PixelTopology *topol, uint32_t detID, signal_map_type &theSignal, unsigned short int processType, const bool &boolmakeDigiSimLinks)
std::vector< float > track
static constexpr float cmToMicrons