Definition at line 114 of file AlCaHBHEMuonProducer.cc.
References accept(), reco::BeamSpot::BeamWidthX(), edm::SortedCollection< T, SORT >::begin(), edm::EventBase::bunchCrossing(), reco::BeamSpot::covariance(), reco::BeamSpot::dxdz(), reco::BeamSpot::dydz(), edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), edm::Event::getByToken(), photonIsolationHIProducer_cfi::hbhe, edm::EventBase::id(), edm::InputTag::instance(), edm::HandleBase::isValid(), edm::InputTag::label(), labelBS_, labelEB_, labelEE_, labelHBHE_, labelMuon_, labelVtx_, edm::EventBase::luminosityBlock(), eostools::move(), metsig::muon, extraflags_cff::muons, nAll_, nGood_, reco::BeamSpot::position(), edm::Handle< T >::product(), edm::Event::put(), edm::EventID::run(), select(), reco::BeamSpot::sigmaZ(), tok_BS_, tok_EB_, tok_EE_, tok_HBHE_, tok_Muon_, tok_Vtx_, reco::BeamSpot::type(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
118 edm::LogInfo(
"HcalHBHEMuon") <<
"AlCaHBHEMuonProducer::Run " <<
iEvent.id().run() <<
" Event " <<
iEvent.id().event()
119 <<
" Luminosity " <<
iEvent.luminosityBlock() <<
" Bunch " <<
iEvent.bunchCrossing();
139 if (!barrelRecHitsHandle.
isValid()) {
146 if (!endcapRecHitsHandle.
isValid()) {
166 edm::LogInfo(
"HcalHBHEMuon") <<
"AlCaHBHEMuonProducer::obtained the collections with validity flag " << valid;
170 auto outputBeamSpot = std::make_unique<reco::BeamSpot>();
171 auto outputVColl = std::make_unique<reco::VertexCollection>();
172 auto outputEBColl = std::make_unique<EBRecHitCollection>();
173 auto outputEEColl = std::make_unique<EERecHitCollection>();
174 auto outputHBHEColl = std::make_unique<HBHERecHitCollection>();
175 auto outputMColl = std::make_unique<reco::MuonCollection>();
179 outputBeamSpot = std::make_unique<reco::BeamSpot>(
192 for (reco::VertexCollection::const_iterator vtr = vtx.begin(); vtr != vtx.end(); ++vtr)
193 outputVColl->push_back(*vtr);
196 outputEBColl->push_back(*ehit);
199 outputEEColl->push_back(*ehit);
201 for (std::vector<HBHERecHit>::const_iterator hhit = hbhecoll.
begin(); hhit != hbhecoll.
end(); ++hhit)
202 outputHBHEColl->push_back(*hhit);
204 for (reco::MuonCollection::const_iterator
muon = muons.begin();
muon != muons.end(); ++
muon)
205 outputMColl->push_back(*
muon);
bool select(const reco::MuonCollection &)
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
std::vector< T >::const_iterator const_iterator
std::vector< Vertex > VertexCollection
collection of Vertex objects
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
std::vector< Muon > MuonCollection
collection of Muon objects
double dydz() const
dydz slope
edm::EDGetTokenT< HBHERecHitCollection > tok_HBHE_
double BeamWidthX() const
beam width X
double dxdz() const
dxdz slope
const_iterator end() const
T const * product() const
double sigmaZ() const
sigma z
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
edm::EDGetTokenT< reco::BeamSpot > tok_BS_
double covariance(int i, int j) const
(i,j)-th element of error matrix
edm::EDGetTokenT< reco::VertexCollection > tok_Vtx_
const Point & position() const
position
edm::EDGetTokenT< reco::MuonCollection > tok_Muon_
const_iterator begin() const
BeamType type() const
return beam type