101 :
m_handoff{
p.getUntrackedParameter<
int>(
"workerThreadStackSize", 10 * 1024 * 1024)} {
103 StaticRandomEngineSetUnset random(
nullptr);
108 StaticRandomEngineSetUnset random(
nullptr);
115 produces<edm::SimTrackContainer>().setBranchAlias(
"SimTracks");
116 produces<edm::SimVertexContainer>().setBranchAlias(
"SimVertices");
117 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelLowTof");
118 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelHighTof");
119 produces<edm::PSimHitContainer>(
"TrackerHitsTIBLowTof");
120 produces<edm::PSimHitContainer>(
"TrackerHitsTIBHighTof");
121 produces<edm::PSimHitContainer>(
"TrackerHitsTIDLowTof");
122 produces<edm::PSimHitContainer>(
"TrackerHitsTIDHighTof");
123 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapLowTof");
124 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapHighTof");
125 produces<edm::PSimHitContainer>(
"TrackerHitsTOBLowTof");
126 produces<edm::PSimHitContainer>(
"TrackerHitsTOBHighTof");
127 produces<edm::PSimHitContainer>(
"TrackerHitsTECLowTof");
128 produces<edm::PSimHitContainer>(
"TrackerHitsTECHighTof");
130 produces<edm::PSimHitContainer>(
"TotemHitsT1");
131 produces<edm::PSimHitContainer>(
"TotemHitsT2Gem");
132 produces<edm::PSimHitContainer>(
"TotemHitsRP");
133 produces<edm::PSimHitContainer>(
"CTPPSPixelHits");
134 produces<edm::PSimHitContainer>(
"CTPPSTimingHits");
135 produces<edm::PSimHitContainer>(
"FP420SI");
136 produces<edm::PSimHitContainer>(
"BSCHits");
137 produces<edm::PSimHitContainer>(
"PLTHits");
138 produces<edm::PSimHitContainer>(
"BCM1FHits");
139 produces<edm::PSimHitContainer>(
"BHMHits");
140 produces<edm::PSimHitContainer>(
"FastTimerHitsBarrel");
141 produces<edm::PSimHitContainer>(
"FastTimerHitsEndcap");
143 produces<edm::PCaloHitContainer>(
"EcalHitsEB");
144 produces<edm::PCaloHitContainer>(
"EcalHitsEE");
145 produces<edm::PCaloHitContainer>(
"EcalHitsES");
146 produces<edm::PCaloHitContainer>(
"HcalHits");
147 produces<edm::PCaloHitContainer>(
"CaloHitsTk");
148 produces<edm::PCaloHitContainer>(
"HGCHitsEE");
149 produces<edm::PCaloHitContainer>(
"HGCHitsHEfront");
150 produces<edm::PCaloHitContainer>(
"HGCHitsHEback");
152 produces<edm::PSimHitContainer>(
"MuonDTHits");
153 produces<edm::PSimHitContainer>(
"MuonCSCHits");
154 produces<edm::PSimHitContainer>(
"MuonRPCHits");
155 produces<edm::PSimHitContainer>(
"MuonGEMHits");
156 produces<edm::PSimHitContainer>(
"MuonME0Hits");
157 produces<edm::PCaloHitContainer>(
"CastorPL");
158 produces<edm::PCaloHitContainer>(
"CastorFI");
159 produces<edm::PCaloHitContainer>(
"CastorBU");
160 produces<edm::PCaloHitContainer>(
"CastorTU");
161 produces<edm::PCaloHitContainer>(
"EcalTBH4BeamHits");
162 produces<edm::PCaloHitContainer>(
"HcalTB06BeamHits");
163 produces<edm::PCaloHitContainer>(
"ZDCHITS");
164 produces<edm::PCaloHitContainer>(
"ChamberHits");
165 produces<edm::PCaloHitContainer>(
"FibreHits");
166 produces<edm::PCaloHitContainer>(
"WedgeHits");
167 produces<edm::PCaloHitContainer>(
"HFNoseHits");
168 produces<edm::PCaloHitContainer>(
"TotemHitsT2Scint");
172 for (
auto& ptr : producers) {
173 ptr->registerProducts(producesCollector());
175 edm::LogVerbatim(
"SimG4CoreApplication") <<
"OscarMTProducer is constructed";
Log< level::Info, true > LogVerbatim
std::unique_ptr< RunManagerMTWorker > m_runManagerWorker
ServiceToken presentToken() const
const OscarMTMasterThread * m_masterThread
static ServiceRegistry & instance()
void callConsumes(edm::ConsumesCollector &&iC) const
omt::ThreadHandoff m_handoff