47 virtual void endJob()
override;
65 produces<edm::PSimHitContainer>(
"MuonDTHits");
66 produces<edm::PSimHitContainer>(
"MuonCSCHits");
67 produces<edm::PSimHitContainer>(
"MuonRPCHits");
69 produces<edm::SimTrackContainer>().setBranchAlias(
"SimTracks");
70 produces<edm::SimVertexContainer>().setBranchAlias(
"SimVertices");
72 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelLowTof");
73 produces<edm::PSimHitContainer>(
"TrackerHitsPixelBarrelHighTof");
74 produces<edm::PSimHitContainer>(
"TrackerHitsTIBLowTof");
75 produces<edm::PSimHitContainer>(
"TrackerHitsTIBHighTof");
76 produces<edm::PSimHitContainer>(
"TrackerHitsTIDLowTof");
77 produces<edm::PSimHitContainer>(
"TrackerHitsTIDHighTof");
78 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapLowTof");
79 produces<edm::PSimHitContainer>(
"TrackerHitsPixelEndcapHighTof");
80 produces<edm::PSimHitContainer>(
"TrackerHitsTOBLowTof");
81 produces<edm::PSimHitContainer>(
"TrackerHitsTOBHighTof");
82 produces<edm::PSimHitContainer>(
"TrackerHitsTECLowTof");
83 produces<edm::PSimHitContainer>(
"TrackerHitsTECHighTof");
85 produces<edm::PSimHitContainer>(
"TotemHitsT1");
86 produces<edm::PSimHitContainer>(
"TotemHitsT2Gem");
87 produces<edm::PSimHitContainer>(
"TotemHitsRP");
88 produces<edm::PSimHitContainer>(
"FP420SI");
89 produces<edm::PSimHitContainer>(
"BSCHits");
91 produces<edm::PCaloHitContainer>(
"EcalHitsEB");
92 produces<edm::PCaloHitContainer>(
"EcalHitsEE");
93 produces<edm::PCaloHitContainer>(
"EcalHitsES");
94 produces<edm::PCaloHitContainer>(
"HcalHits");
95 produces<edm::PCaloHitContainer>(
"CaloHitsTk");
96 produces<edm::PCaloHitContainer>(
"CastorPL");
97 produces<edm::PCaloHitContainer>(
"CastorFI");
98 produces<edm::PCaloHitContainer>(
"CastorBU");
99 produces<edm::PCaloHitContainer>(
"CastorTU");
100 produces<edm::PCaloHitContainer>(
"EcalTBH4BeamHits");
101 produces<edm::PCaloHitContainer>(
"HcalTB06BeamHits");
102 produces<edm::PCaloHitContainer>(
"ZDCHITS");
112 edm::PSimHitContainer::const_iterator
hit;
121 for (hit = MuonCSCHits->begin(); hit != MuonCSCHits->end(); ++hit) simCSC->push_back(*hit);
123 iEvent.
put(simCSC,
"MuonCSCHits");
132 for (hit = MuonDTHits->begin(); hit != MuonDTHits->end(); ++hit) simDT->push_back(*hit);
134 iEvent.
put(simDT,
"MuonDTHits");
143 for (hit = MuonRPCHits->begin(); hit != MuonRPCHits->end(); ++hit) simRPC->push_back(*hit);
145 iEvent.
put(simRPC,
"MuonRPCHits");
152 iEvent.
put(calout1,
"EcalHitsEB");
154 iEvent.
put(calout2,
"EcalHitsEE");
156 iEvent.
put(calout3,
"EcalHitsES");
158 iEvent.
put(calout4,
"HcalHits");
160 iEvent.
put(calout5,
"CaloHitsTk");
162 iEvent.
put(calout6,
"CastorPL");
164 iEvent.
put(calout7,
"CastorFI");
166 iEvent.
put(calout8,
"CastorBU");
168 iEvent.
put(calout9,
"CastorTU");
170 iEvent.
put(calout10,
"EcalTBH4BeamHits");
172 iEvent.
put(calout11,
"HcalTB06BeamHits");
174 iEvent.
put(calout12,
"ZDCHITS");
185 iEvent.
put(trout1,
"TrackerHitsPixelBarrelLowTof");
187 iEvent.
put(trout2,
"TrackerHitsPixelBarrelHighTof");
189 iEvent.
put(trout3,
"TrackerHitsTIBLowTof");
191 iEvent.
put(trout4,
"TrackerHitsTIBHighTof");
193 iEvent.
put(trout5,
"TrackerHitsTIDLowTof");
195 iEvent.
put(trout6,
"TrackerHitsTIDHighTof");
197 iEvent.
put(trout7,
"TrackerHitsPixelEndcapLowTof");
199 iEvent.
put(trout8,
"TrackerHitsPixelEndcapHighTof");
201 iEvent.
put(trout9,
"TrackerHitsTOBLowTof");
203 iEvent.
put(trout10,
"TrackerHitsTOBHighTof");
205 iEvent.
put(trout11,
"TrackerHitsTECLowTof");
207 iEvent.
put(trout12,
"TrackerHitsTECHighTof");
212 iEvent.
put(fwout1,
"TotemHitsT1");
214 iEvent.
put(fwout2,
"TotemHitsT2Gem");
216 iEvent.
put(fwout3,
"TotemHitsRP");
218 iEvent.
put(fwout4,
"FP420SI");
220 iEvent.
put(fwout5,
"BSCHits");
T getUntrackedParameter(std::string const &, T const &) const
std::vector< PCaloHit > PCaloHitContainer
#define DEFINE_FWK_MODULE(type)
NeutronHitsCollector(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &) override
virtual void beginJob() override
std::vector< SimVertex > SimVertexContainer
std::string neutron_label_dt
virtual void endJob() override
std::vector< PSimHit > PSimHitContainer
std::string neutron_label_rpc
std::vector< SimTrack > SimTrackContainer
std::string neutron_label_csc