Go to the documentation of this file.
74 std::vector<edm::EDGetTokenT<l1t::TauBxCollection>>
tauTokens_;
98 tree_ =
fs_->
make<TTree>(
"L1UpgradeTree",
"L1UpgradeTree");
99 tree_->Branch(
"L1Upgrade",
"L1Analysis::L1AnalysisL1UpgradeDataFormat", &
l1UpgradeData, 32000, 3);
128 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Em not found. Branch will not be filled" << std::endl;
133 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Jets not found. Branch will not be filled" << std::endl;
139 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade EtSums not found. Branch will not be filled" << std::endl;
142 if (
muon.isValid()) {
145 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Muons not found. Branch will not be filled" << std::endl;
154 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Tau not found. Branch will not be filled" << std::endl;
void SetJet(const edm::Handle< l1t::JetBxCollection > jet, unsigned maxL1Upgrade)
L1AnalysisL1UpgradeDataFormat * getData()
edm::EDGetTokenT< l1t::MuonBxCollection > muonToken_
edm::Service< TFileService > fs_
T getUntrackedParameter(std::string const &, T const &) const
L1Analysis::L1AnalysisL1UpgradeDataFormat * l1UpgradeData
Log< level::Warning, false > LogWarning
#define DEFINE_FWK_MODULE(type)
~L1UpgradeTreeProducer() override
void SetMuon(const edm::Handle< l1t::MuonBxCollection > muon, unsigned maxL1Upgrade)
void beginJob(void) override
L1Analysis::L1AnalysisL1Upgrade * l1Upgrade
edm::EDGetTokenT< l1t::EGammaBxCollection > egToken_
void SetSum(const edm::Handle< l1t::EtSumBxCollection > sums, unsigned maxL1Upgrade)
L1UpgradeTreeProducer(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< edm::EDGetTokenT< l1t::TauBxCollection > > tauTokens_
void SetEm(const edm::Handle< l1t::EGammaBxCollection > em, unsigned maxL1Upgrade)
T getParameter(std::string const &) const
edm::EDGetTokenT< l1t::JetBxCollection > jetToken_
void SetTau(const edm::Handle< l1t::TauBxCollection > tau, unsigned maxL1Upgrade)
T * make(const Args &... args) const
make new ROOT object
edm::EDGetTokenT< l1t::EtSumBxCollection > sumToken_