79 std::vector<edm::EDGetTokenT<l1t::TauBxCollection>>
tauTokens_;
102 tree_ =
fs_->
make<TTree>(
"L1UpgradeTree",
"L1UpgradeTree");
103 tree_->Branch(
"L1Upgrade",
"L1Analysis::L1AnalysisL1UpgradeDataFormat", &
l1UpgradeData, 32000, 3);
129 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Em not found. Branch will not be filled" << std::endl;
134 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Jets not found. Branch will not be filled" << std::endl;
140 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade EtSums not found. Branch will not be filled" << std::endl;
146 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Muons not found. Branch will not be filled" << std::endl;
152 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Muon Showers not found. Branch will not be filled" << std::endl;
161 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade Tau not found. Branch will not be filled" << std::endl;
static const std::string kSharedResource
BXVector< EGamma > EGammaBxCollection
T getUntrackedParameter(std::string const &, T const &) const
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_
const edm::EDGetTokenT< l1t::EtSumBxCollection > sumToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
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)
T * make(const Args &...args) const
make new ROOT object
const edm::EDGetTokenT< l1t::JetBxCollection > jetToken_
void beginJob(void) override
L1UpgradeTreeProducer(const edm::ParameterSet &)
BXVector< EtSum > EtSumBxCollection
L1Analysis::L1AnalysisL1Upgrade * l1Upgrade
L1Analysis::L1AnalysisL1UpgradeDataFormat * l1UpgradeData
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)
T getParameter(std::string const &) const
const edm::EDGetTokenT< l1t::EGammaBxCollection > egToken_
const edm::EDGetTokenT< l1t::MuonBxCollection > muonToken_
Log< level::Warning, false > LogWarning
void SetSum(const edm::Handle< l1t::EtSumBxCollection > sums, unsigned maxL1Upgrade)