1 #ifndef SiStripDigitizer_h 2 #define SiStripDigitizer_h 16 class HepRandomEngine;
20 class ConsumesCollector;
58 std::vector<float>& TrueInteractionList,
59 std::vector<edm::EventID>& eventInfoList,
60 int bunchSpacing)
override {
61 PileupInfo_ = std::make_unique<PileupMixingContent>(
62 numInteractionList,
bunchCrossingList, TrueInteractionList, eventInfoList, bunchSpacing);
68 void accumulateStripHits(
edm::Handle<std::vector<PSimHit>>,
70 size_t globalSimHitIndex,
71 const unsigned int tofBin);
74 typedef std::map<unsigned int, std::vector<std::pair<const PSimHit*, int>>, std::less<unsigned int>>
simhit_map;
107 CLHEP::HepRandomEngine* randomEngine_ =
nullptr;
void StorePileupInformation(std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventInfoList, int bunchSpacing) override
const vstring trackerContainers
edm::ESHandle< TrackerGeometry > pDD
const bool zeroSuppression
const std::string hitsProducer
std::map< unsigned int, StripGeomDetUnit const * > detectorUnits
std::map< uint32_t, std::vector< int > > theDetIdList
std::map< unsigned int, std::vector< std::pair< const PSimHit *, int > >, std::less< unsigned int > > simhit_map
const bool includeAPVSimulation_
simhit_map::iterator simhit_map_iterator
Accumulator to perform digitisation on the strip tracker sim hits.
std::unique_ptr< SiStripDigitizerAlgorithm > theDigiAlgo
edm::ESHandle< MagneticField > pSetup
const std::string geometryType
std::vector< std::pair< int, std::bitset< 6 > > > theAffectedAPVvector
std::vector< std::string > vstring
const double fracOfEventsToSimAPV_
Whether or not to create the association to sim truth collection. Set in configuration.
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. ...
const bool makeDigiSimLinks_
const std::string gainLabel
PileupMixingContent * getEventPileupInfo() override
std::unique_ptr< PileupMixingContent > PileupInfo_