Go to the documentation of this file. 1 #ifndef __SimTracker_SiPhase2Digitizer_Phase2TrackerDigitizer_h
2 #define __SimTracker_SiPhase2Digitizer_Phase2TrackerDigitizer_h
17 #include <unordered_map>
30 class HepRandomEngine;
39 class ConsumesCollector;
51 using ModuleTypeCache = std::unordered_map<uint32_t, TrackerGeometry::ModuleType>;
82 template <
typename DigiType>
96 std::map<AlgorithmType, std::unique_ptr<Phase2TrackerDigitizerAlgorithm> >
algomap_;
std::vector< std::string > vstring
void accumulatePixelHits(edm::Handle< std::vector< PSimHit > >, size_t globalSimHitIndex, const uint32_t tofBin)
AlgorithmType getAlgoType(uint32_t idet)
const bool isOuterTrackerReadoutAnalog_
edm::ESHandle< TrackerTopology > tTopoHand_
ModuleTypeCache moduleTypeCache_
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
const std::string geometryType_
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
void accumulate_local(T const &iEvent, edm::EventSetup const &iSetup)
void loadAccumulator(const std::map< uint32_t, std::map< int, float > > &accumulator)
const bool makeDigiSimLinks_
std::map< uint32_t, const Phase2TrackerGeomDetUnit * > detectorUnits_
edm::ESHandle< TrackerGeometry > pDD_
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &iSetup) override
edm::ESHandle< MagneticField > pSetup_
std::map< AlgorithmType, std::unique_ptr< Phase2TrackerDigitizerAlgorithm > > algomap_
std::unordered_map< uint32_t, TrackerGeometry::ModuleType > ModuleTypeCache
const std::string hitsProducer_
void addOuterTrackerCollection(edm::Event &iEvent, const edm::EventSetup &iSetup)
~Phase2TrackerDigitizer() override
void addPixelCollection(edm::Event &iEvent, const edm::EventSetup &iSetup, const bool ot_analog)
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.
edm::ESWatcher< TrackerDigiGeometryRecord > theTkDigiGeomWatcher_
const vstring trackerContainers_
Phase2TrackerDigitizer(const edm::ParameterSet &iConfig, edm::ProducesCollector, edm::ConsumesCollector &iC)
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
Namespace of DDCMS conversion namespace.