110 :
m_handoff{
p.getUntrackedParameter<
int>(
"workerThreadStackSize", 10 * 1024 * 1024)},
m_psetID{
p.id()} {
111 m_verbose =
p.getParameter<
int>(
"EventVerbose");
113 StaticRandomEngineSetUnset random(
nullptr);
118 StaticRandomEngineSetUnset random(
nullptr);
126 produces<edm::SimTrackContainer>().setBranchAlias(
"SimTracks");
127 produces<edm::SimVertexContainer>().setBranchAlias(
"SimVertices");
128 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelLowTof");
129 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelHighTof");
130 produces<edm::PSimHitContainer>(
"TrackerHitsTIBLowTof");
131 produces<edm::PSimHitContainer>(
"TrackerHitsTIBHighTof");
132 produces<edm::PSimHitContainer>(
"TrackerHitsTIDLowTof");
133 produces<edm::PSimHitContainer>(
"TrackerHitsTIDHighTof");
134 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapLowTof");
135 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapHighTof");
136 produces<edm::PSimHitContainer>(
"TrackerHitsTOBLowTof");
137 produces<edm::PSimHitContainer>(
"TrackerHitsTOBHighTof");
138 produces<edm::PSimHitContainer>(
"TrackerHitsTECLowTof");
139 produces<edm::PSimHitContainer>(
"TrackerHitsTECHighTof");
141 produces<edm::PSimHitContainer>(
"TotemHitsT1");
142 produces<edm::PSimHitContainer>(
"TotemHitsT2Gem");
143 produces<edm::PSimHitContainer>(
"TotemHitsRP");
144 produces<edm::PSimHitContainer>(
"CTPPSPixelHits");
145 produces<edm::PSimHitContainer>(
"CTPPSTimingHits");
146 produces<edm::PSimHitContainer>(
"FP420SI");
147 produces<edm::PSimHitContainer>(
"BSCHits");
148 produces<edm::PSimHitContainer>(
"PLTHits");
149 produces<edm::PSimHitContainer>(
"BCM1FHits");
150 produces<edm::PSimHitContainer>(
"BHMHits");
151 produces<edm::PSimHitContainer>(
"FastTimerHitsBarrel");
152 produces<edm::PSimHitContainer>(
"FastTimerHitsEndcap");
154 produces<edm::PCaloHitContainer>(
"EcalHitsEB");
155 produces<edm::PCaloHitContainer>(
"EcalHitsEE");
156 produces<edm::PCaloHitContainer>(
"EcalHitsES");
157 produces<edm::PCaloHitContainer>(
"HcalHits");
158 produces<edm::PCaloHitContainer>(
"CaloHitsTk");
159 produces<edm::PCaloHitContainer>(
"HGCHitsEE");
160 produces<edm::PCaloHitContainer>(
"HGCHitsHEfront");
161 produces<edm::PCaloHitContainer>(
"HGCHitsHEback");
163 produces<edm::PSimHitContainer>(
"MuonDTHits");
164 produces<edm::PSimHitContainer>(
"MuonCSCHits");
165 produces<edm::PSimHitContainer>(
"MuonRPCHits");
166 produces<edm::PSimHitContainer>(
"MuonGEMHits");
167 produces<edm::PSimHitContainer>(
"MuonME0Hits");
168 produces<edm::PCaloHitContainer>(
"CastorPL");
169 produces<edm::PCaloHitContainer>(
"CastorFI");
170 produces<edm::PCaloHitContainer>(
"CastorBU");
171 produces<edm::PCaloHitContainer>(
"CastorTU");
172 produces<edm::PCaloHitContainer>(
"EcalTBH4BeamHits");
173 produces<edm::PCaloHitContainer>(
"HcalTB06BeamHits");
174 produces<edm::PCaloHitContainer>(
"ZDCHITS");
175 produces<edm::PCaloHitContainer>(
"ChamberHits");
176 produces<edm::PCaloHitContainer>(
"FibreHits");
177 produces<edm::PCaloHitContainer>(
"WedgeHits");
178 produces<edm::PCaloHitContainer>(
"HFNoseHits");
179 produces<edm::PCaloHitContainer>(
"TotemHitsT2Scint");
184 ptr->registerProducts(producesCollector());
186 edm::LogVerbatim(
"SimG4CoreApplication") <<
"OscarMTProducer is constructed";
Log< level::Info, true > LogVerbatim
std::unique_ptr< RunManagerMTWorker > m_runManagerWorker
static const OscarMTMasterThread * s_masterThread
const OscarMTMasterThread * m_masterThread
const edm::ParameterSetID m_psetID
static ServiceRegistry & instance()
void callConsumes(edm::ConsumesCollector &&iC) const
omt::ThreadHandoff m_handoff
ServiceToken presentToken() const