82 std::vector<edm::EDGetTokenT<l1t::TauBxCollection>>
tauTokens_;
106 tree_ =
fs_->
make<TTree>(
"L1UpgradeTree",
"L1UpgradeTree");
107 tree_->Branch(
"L1Upgrade",
"L1Analysis::L1AnalysisL1UpgradeDataFormat", &
l1UpgradeData, 32000, 3);
135 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Em not found. Branch will not be filled" << std::endl;
140 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Jets not found. Branch will not be filled" << std::endl;
146 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade EtSums not found. Branch will not be filled" << std::endl;
149 if (
muon.isValid()) {
152 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Muons not found. Branch will not be filled" << std::endl;
158 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Muon Showers not found. Branch will not be filled" << std::endl;
164 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade EtZDCSums not found. Branch will not be filled" << std::endl;
173 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Tau not found. Branch will not be filled" << std::endl;
static const std::string kSharedResource
BXVector< EGamma > EGammaBxCollection
std::vector< edm::EDGetTokenT< l1t::TauBxCollection > > tauTokens_
void SetMuon(const edm::Handle< l1t::MuonBxCollection > muon, unsigned maxL1Upgrade)
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::Service< TFileService > fs_
T getParameter(std::string const &) const
const edm::EDGetTokenT< l1t::EtSumBxCollection > sumToken_
void SetSumZDC(const edm::Handle< l1t::EtSumBxCollection > sumsZDC, unsigned maxL1Upgrade)
const edm::EDGetTokenT< l1t::MuonShowerBxCollection > muonShowerToken_
void SetJet(const edm::Handle< l1t::JetBxCollection > jet, unsigned maxL1Upgrade)
void SetEm(const edm::Handle< l1t::EGammaBxCollection > em, unsigned maxL1Upgrade)
const edm::EDGetTokenT< l1t::JetBxCollection > jetToken_
void beginJob(void) override
L1UpgradeTreeProducer(const edm::ParameterSet &)
T getUntrackedParameter(std::string const &, T const &) const
const edm::EDGetTokenT< l1t::EtSumBxCollection > sumZDCToken_
BXVector< EtSum > EtSumBxCollection
L1Analysis::L1AnalysisL1Upgrade * l1Upgrade
L1AnalysisL1UpgradeDataFormat * getData()
L1Analysis::L1AnalysisL1UpgradeDataFormat * l1UpgradeData
#define DEFINE_FWK_MODULE(type)
BXVector< MuonShower > MuonShowerBxCollection
void SetTau(const edm::Handle< l1t::TauBxCollection > tau, unsigned maxL1Upgrade)
BXVector< Muon > MuonBxCollection
~L1UpgradeTreeProducer() override=default
BXVector< Jet > JetBxCollection
void SetMuonShower(const edm::Handle< l1t::MuonShowerBxCollection > muonShower, unsigned maxL1Upgrade)
const edm::EDGetTokenT< l1t::EGammaBxCollection > egToken_
const edm::EDGetTokenT< l1t::MuonBxCollection > muonToken_
T * make(const Args &...args) const
make new ROOT object
Log< level::Warning, false > LogWarning
void SetSum(const edm::Handle< l1t::EtSumBxCollection > sums, unsigned maxL1Upgrade)