1 #ifndef SiPixelDigitizer_h
2 #define SiPixelDigitizer_h
40 class HepRandomEngine;
58 std::vector<int>& bunchCrossingList,
59 std::vector<float>& TrueInteractionList,
60 std::vector<edm::EventID>& eventInfoList,
61 int bunchSpacing)
override {
62 PileupInfo_ = std::make_unique<PileupMixingContent>(
63 numInteractionList, bunchCrossingList, TrueInteractionList, eventInfoList, bunchSpacing);
70 size_t globalSimHitIndex,
71 const unsigned int tofBin,
~SiPixelDigitizer() override
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
const edm::EventSetup & c
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
const TrackerGeometry * pDD
const int NumberOfEndcapDisks
const MagneticField * pSetup
std::vector< std::string > vstring
std::unique_ptr< PileupMixingContent > PileupInfo_
const std::string hitsProducer
SiPixelDigitizer(const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC)
std::map< unsigned int, PixelGeomDetUnit const * > detectorUnits
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
void accumulatePixelHits(edm::Handle< std::vector< PSimHit > >, size_t globalSimHitIndex, const unsigned int tofBin, edm::EventSetup const &c)
std::unique_ptr< SiPixelDigitizerAlgorithm > _pixeldigialgo
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
CLHEP::HepRandomEngine * randomEngine_
void StorePileupInformation(std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventInfoList, int bunchSpacing) override
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > pSetupToken_
const vstring trackerContainers
PileupMixingContent * getEventPileupInfo() override
bool firstInitializeEvent_
std::map< std::string, size_t > crossingSimHitIndexOffset_
Offset to add to the index of each sim hit to account for which crossing it's in. ...