1 #ifndef SiStripDigitizer_h
2 #define SiStripDigitizer_h
16 class HepRandomEngine;
20 class ConsumesCollector;
27 template<
typename T>
class Handle;
58 std::vector<int> &bunchCrossingList,
59 std::vector<float> &TrueInteractionList,
60 std::vector<edm::EventID> &eventInfoList,
int bunchSpacing)
override{
72 typedef std::map<unsigned int, std::vector<std::pair<const PSimHit*, int> >,std::less<unsigned int> >
simhit_map;
const vstring trackerContainers
void accumulateStripHits(edm::Handle< std::vector< PSimHit > >, const TrackerTopology *tTopo, size_t globalSimHitIndex, const unsigned int tofBin, CLHEP::HepRandomEngine *)
edm::ESHandle< TrackerGeometry > pDD
const bool zeroSuppression
std::vector< std::pair< int, std::bitset< 6 > > > theAffectedAPVvector
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
const std::string hitsProducer
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c) override
std::map< uint32_t, std::vector< int > > theDetIdList
virtual ~SiStripDigitizer()
virtual void StorePileupInformation(std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventInfoList, int bunchSpacing) override
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. ...
CLHEP::HepRandomEngine * randomEngine(edm::StreamID const &streamID)
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
virtual PileupMixingContent * getEventPileupInfo() override
std::vector< std::string > vstring
SiStripDigitizer(const edm::ParameterSet &conf, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
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
std::map< unsigned int, StripGeomDetUnit const * > detectorUnits
std::vector< CLHEP::HepRandomEngine * > randomEngines_