Go to the documentation of this file. 1 #ifndef SiStripDigitizer_h
2 #define SiStripDigitizer_h
17 class HepRandomEngine;
21 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);
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;
std::vector< std::string > vstring
const std::string geometryType
const bool makeDigiSimLinks_
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.
PileupMixingContent * getEventPileupInfo() override
simhit_map::iterator simhit_map_iterator
void StorePileupInformation(std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventInfoList, int bunchSpacing) override
SiStripDigitizer(const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC)
const std::string gainLabel
edm::ESHandle< MagneticField > pSetup
edm::ESHandle< TrackerGeometry > pDD
std::vector< std::pair< int, std::bitset< 6 > > > theAffectedAPVvector
~SiStripDigitizer() override
std::unique_ptr< SiStripDigitizerAlgorithm > theDigiAlgo
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
const std::string hitsProducer
const double fracOfEventsToSimAPV_
Whether or not to create the association to sim truth collection. Set in configuration.
Accumulator to perform digitisation on the strip tracker sim hits.
std::map< unsigned int, std::vector< std::pair< const PSimHit *, int > >, std::less< unsigned int > > simhit_map
CLHEP::HepRandomEngine * randomEngine_
const vstring trackerContainers
std::unique_ptr< PileupMixingContent > PileupInfo_
void accumulateStripHits(edm::Handle< std::vector< PSimHit >>, const TrackerTopology *tTopo, size_t globalSimHitIndex, const unsigned int tofBin)
const bool includeAPVSimulation_
const bool zeroSuppression
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
std::map< unsigned int, StripGeomDetUnit const * > detectorUnits
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
std::map< uint32_t, std::vector< int > > theDetIdList