Go to the documentation of this file. 1 #ifndef __SimTracker_SiPhase2Digitizer_Phase2TrackerDigitizer_h
2 #define __SimTracker_SiPhase2Digitizer_Phase2TrackerDigitizer_h
17 #include <unordered_map>
32 class HepRandomEngine;
41 class ConsumesCollector;
53 using ModuleTypeCache = std::unordered_map<uint32_t, TrackerGeometry::ModuleType>;
83 template <
typename DigiType>
97 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_
const MagneticField * pSetup_
const TrackerTopology * tTopo_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
ModuleTypeCache moduleTypeCache_
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
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_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > pSetupToken_
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)
const TrackerGeometry * pDD_
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)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
Namespace of DDCMS conversion namespace.