1 #ifndef SiStripDigitizer_h 2 #define SiStripDigitizer_h 16 class HepRandomEngine;
20 class ConsumesCollector;
25 template<
typename T>
class Handle;
57 std::vector<float> &TrueInteractionList,
58 std::vector<edm::EventID> &eventInfoList,
int bunchSpacing)
override{
59 PileupInfo_ =
new PileupMixingContent(numInteractionList, bunchCrossingList, TrueInteractionList, eventInfoList, bunchSpacing);
66 void accumulateStripHits(
edm::Handle<std::vector<PSimHit> >,
const TrackerTopology *tTopo,
size_t globalSimHitIndex,
const unsigned int tofBin);
69 typedef std::map<unsigned int, std::vector<std::pair<const PSimHit*, int> >,std::less<unsigned int> >
simhit_map;
100 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
std::vector< std::pair< int, std::bitset< 6 > > > theAffectedAPVvector
const std::string hitsProducer
std::map< uint32_t, std::vector< int > > theDetIdList
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. ...
simhit_map::iterator simhit_map_iterator
Accumulator to perform digitisation on the strip tracker sim hits.
PileupMixingContent * PileupInfo_
std::unique_ptr< SiStripDigitizerAlgorithm > theDigiAlgo
edm::ESHandle< MagneticField > pSetup
const std::string geometryType
std::vector< std::string > vstring
const bool makeDigiSimLinks_
Whether or not to create the association to sim truth collection. Set in configuration.
std::map< unsigned int, std::vector< std::pair< const PSimHit *, int > >, std::less< unsigned int > > simhit_map
const std::string gainLabel
PileupMixingContent * getEventPileupInfo() override
std::map< unsigned int, StripGeomDetUnit const * > detectorUnits