103 :
m_handoff{
p.getUntrackedParameter<
int>(
"workerThreadStackSize", 10 * 1024 * 1024)} {
105 StaticRandomEngineSetUnset random(
nullptr);
110 StaticRandomEngineSetUnset random(
nullptr);
117 produces<edm::SimTrackContainer>().setBranchAlias(
"SimTracks");
118 produces<edm::SimVertexContainer>().setBranchAlias(
"SimVertices");
119 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelLowTof");
120 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelHighTof");
121 produces<edm::PSimHitContainer>(
"TrackerHitsTIBLowTof");
122 produces<edm::PSimHitContainer>(
"TrackerHitsTIBHighTof");
123 produces<edm::PSimHitContainer>(
"TrackerHitsTIDLowTof");
124 produces<edm::PSimHitContainer>(
"TrackerHitsTIDHighTof");
125 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapLowTof");
126 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapHighTof");
127 produces<edm::PSimHitContainer>(
"TrackerHitsTOBLowTof");
128 produces<edm::PSimHitContainer>(
"TrackerHitsTOBHighTof");
129 produces<edm::PSimHitContainer>(
"TrackerHitsTECLowTof");
130 produces<edm::PSimHitContainer>(
"TrackerHitsTECHighTof");
132 produces<edm::PSimHitContainer>(
"TotemHitsT1");
133 produces<edm::PSimHitContainer>(
"TotemHitsT2Gem");
134 produces<edm::PSimHitContainer>(
"TotemHitsRP");
135 produces<edm::PSimHitContainer>(
"CTPPSPixelHits");
136 produces<edm::PSimHitContainer>(
"CTPPSTimingHits");
137 produces<edm::PSimHitContainer>(
"FP420SI");
138 produces<edm::PSimHitContainer>(
"BSCHits");
139 produces<edm::PSimHitContainer>(
"PLTHits");
140 produces<edm::PSimHitContainer>(
"BCM1FHits");
141 produces<edm::PSimHitContainer>(
"BHMHits");
142 produces<edm::PSimHitContainer>(
"FastTimerHitsBarrel");
143 produces<edm::PSimHitContainer>(
"FastTimerHitsEndcap");
145 produces<edm::PCaloHitContainer>(
"EcalHitsEB");
146 produces<edm::PCaloHitContainer>(
"EcalHitsEE");
147 produces<edm::PCaloHitContainer>(
"EcalHitsES");
148 produces<edm::PCaloHitContainer>(
"HcalHits");
149 produces<edm::PCaloHitContainer>(
"CaloHitsTk");
150 produces<edm::PCaloHitContainer>(
"HGCHitsEE");
151 produces<edm::PCaloHitContainer>(
"HGCHitsHEfront");
152 produces<edm::PCaloHitContainer>(
"HGCHitsHEback");
154 produces<edm::PSimHitContainer>(
"MuonDTHits");
155 produces<edm::PSimHitContainer>(
"MuonCSCHits");
156 produces<edm::PSimHitContainer>(
"MuonRPCHits");
157 produces<edm::PSimHitContainer>(
"MuonGEMHits");
158 produces<edm::PSimHitContainer>(
"MuonME0Hits");
159 produces<edm::PCaloHitContainer>(
"CastorPL");
160 produces<edm::PCaloHitContainer>(
"CastorFI");
161 produces<edm::PCaloHitContainer>(
"CastorBU");
162 produces<edm::PCaloHitContainer>(
"CastorTU");
163 produces<edm::PCaloHitContainer>(
"EcalTBH4BeamHits");
164 produces<edm::PCaloHitContainer>(
"HcalTB06BeamHits");
165 produces<edm::PCaloHitContainer>(
"ZDCHITS");
166 produces<edm::PCaloHitContainer>(
"ChamberHits");
167 produces<edm::PCaloHitContainer>(
"FibreHits");
168 produces<edm::PCaloHitContainer>(
"WedgeHits");
169 produces<edm::PCaloHitContainer>(
"HFNoseHits");
170 produces<edm::PCaloHitContainer>(
"TotemHitsT2Scint");
174 for (
auto& ptr : producers) {
175 ptr->registerProducts(producesCollector());
177 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