94 isoEmToken_ = consumes<l1extra::L1EmParticleCollection>(
96 tauJetToken_ = consumes<l1extra::L1JetParticleCollection>(
100 cenJetToken_ = consumes<l1extra::L1JetParticleCollection>(
102 fwdJetToken_ = consumes<l1extra::L1JetParticleCollection>(
104 muonToken_ = consumes<l1extra::L1MuonParticleCollection>(
106 metToken_ = consumes<l1extra::L1EtMissParticleCollection>(
108 mhtToken_ = consumes<l1extra::L1EtMissParticleCollection>(
121 tree_->Branch(
"L1Extra",
"L1Analysis::L1AnalysisL1ExtraDataFormat", &
l1ExtraData, 32000, 3);
163 edm::LogWarning(
"MissingProduct") <<
"L1Extra Iso Em not found. Branch will not be filled" << std::endl;
169 edm::LogWarning(
"MissingProduct") <<
"L1Extra Non Iso Em not found. Branch will not be filled" << std::endl;
175 edm::LogWarning(
"MissingProduct") <<
"L1Extra Central Jets not found. Branch will not be filled" << std::endl;
181 edm::LogWarning(
"MissingProduct") <<
"L1Extra Tau Jets not found. Branch will not be filled" << std::endl;
187 edm::LogWarning(
"MissingProduct") <<
"L1Extra Iso Tau Jets not found. Branch will not be filled" << std::endl;
193 edm::LogWarning(
"MissingProduct") <<
"L1Extra Forward Jets not found. Branch will not be filled" << std::endl;
196 if (
muon.isValid()) {
199 edm::LogWarning(
"MissingProduct") <<
"L1Extra Muons not found. Branch will not be filled" << std::endl;
202 if (
mets.isValid()) {
205 edm::LogWarning(
"MissingProduct") <<
"L1Extra MET not found. Branch will not be filled" << std::endl;
211 edm::LogWarning(
"MissingProduct") <<
"L1Extra MHT not found. Branch will not be filled" << std::endl;
217 edm::LogWarning(
"MissingProduct") <<
"L1Extra HF Rings not found. Branch will not be filled" << std::endl;
static const std::string kSharedResource
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
T * make(const Args &...args) const
make new ROOT object
Log< level::Warning, false > LogWarning