97 tree_=
fs_->
make<TTree>(
"L1UpgradeTfMuonTree",
"L1UpgradeTfMuonTree");
98 tree_->Branch(
"L1UpgradeBmtfMuon",
"L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &l1UpgradeBmtfData, 32000, 3);
99 tree_->Branch(
"L1UpgradeOmtfMuon",
"L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &
l1UpgradeOmtfData, 32000, 3);
100 tree_->Branch(
"L1UpgradeEmtfMuon",
"L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat", &
l1UpgradeEmtfData, 32000, 3);
134 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade BMTF muons not found. Branch will not be filled" << std::endl;
140 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade OMTF muons not found. Branch will not be filled" << std::endl;
146 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade EMTF muons not found. Branch will not be filled" << std::endl;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeEmtf
L1UpgradeTfMuonTreeProducer(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeEmtfData
T * make(const Args &...args) const
make new ROOT object
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeOmtf
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void beginJob(void)
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > bmtfMuonToken_
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > omtfMuonToken_
L1Analysis::L1AnalysisL1UpgradeTfMuon l1UpgradeBmtf
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeBmtfData
L1AnalysisL1UpgradeTfMuonDataFormat * getData()
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > emtfMuonToken_
~L1UpgradeTfMuonTreeProducer()
L1Analysis::L1AnalysisL1UpgradeTfMuonDataFormat * l1UpgradeOmtfData
edm::Service< TFileService > fs_
void SetTfMuon(const l1t::RegionalMuonCandBxCollection &muon, unsigned maxL1UpgradeTfMuon)
unsigned maxL1UpgradeTfMuon_