78 std::vector< edm::EDGetTokenT<l1t::TauBxCollection> >
tauTokens_;
108 tree_=
fs_->
make<TTree>(
"L1UpgradeTree",
"L1UpgradeTree");
109 tree_->Branch(
"L1Upgrade",
"L1Analysis::L1AnalysisL1UpgradeDataFormat", &
l1UpgradeData, 32000, 3);
147 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Em not found. Branch will not be filled" << std::endl;
152 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Jets not found. Branch will not be filled" << std::endl;
158 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade EtSums not found. Branch will not be filled" << std::endl;
164 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Muons not found. Branch will not be filled" << std::endl;
173 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Tau not found. Branch will not be filled" << std::endl;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void SetMuon(const edm::Handle< l1t::MuonBxCollection > muon, unsigned maxL1Upgrade)
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::Service< TFileService > fs_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void SetJet(const edm::Handle< l1t::JetBxCollection > jet, unsigned maxL1Upgrade)
void SetEm(const edm::Handle< l1t::EGammaBxCollection > em, unsigned maxL1Upgrade)
std::vector< edm::EDGetTokenT< l1t::TauBxCollection > > tauTokens_
T * make(const Args &...args) const
make new ROOT object
void beginJob(void) override
L1UpgradeTreeProducer(const edm::ParameterSet &)
L1Analysis::L1AnalysisL1Upgrade * l1Upgrade
#define DEFINE_FWK_MODULE(type)
L1Analysis::L1AnalysisL1UpgradeDataFormat * l1UpgradeData
edm::EDGetTokenT< l1t::EGammaBxCollection > egToken_
edm::EDGetTokenT< l1t::EtSumBxCollection > sumToken_
void SetTau(const edm::Handle< l1t::TauBxCollection > tau, unsigned maxL1Upgrade)
edm::EDGetTokenT< l1t::MuonBxCollection > muonToken_
edm::EDGetTokenT< l1t::JetBxCollection > jetToken_
~L1UpgradeTreeProducer() override
void SetSum(const edm::Handle< l1t::EtSumBxCollection > sums, unsigned maxL1Upgrade)