|
|
Go to the documentation of this file.
55 cout <<
"INFO: dumping EGamma BX collection:\n";
62 for (
auto it = eg->
begin(ibx); it != eg->
end(ibx); it++) {
65 cout <<
"bx: " << ibx <<
" et: " << it->et() <<
" eta: " << it->eta() <<
" phi: " << it->phi() <<
"\n";
69 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade e-gamma bx collection not found." << std::endl;
72 cout <<
"INFO: dumping Tau BX collection:\n";
76 for (
int ibx =
tau->getFirstBX(); ibx <=
tau->getLastBX(); ++ibx) {
79 for (
auto it =
tau->begin(ibx); it !=
tau->end(ibx); it++) {
82 cout <<
"bx: " << ibx <<
" et: " << it->et() <<
" eta: " << it->eta() <<
" phi: " << it->phi() <<
"\n";
86 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade tau bx collection not found." << std::endl;
89 cout <<
"INFO: dumping Jet BX collection:\n";
93 for (
int ibx =
jet->getFirstBX(); ibx <=
jet->getLastBX(); ++ibx) {
96 for (
auto it =
jet->begin(ibx); it !=
jet->end(ibx); it++) {
99 cout <<
"bx: " << ibx <<
" et: " << it->et() <<
" eta: " << it->eta() <<
" phi: " << it->phi() <<
"\n";
103 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade jet bx collection not found." << std::endl;
106 cout <<
"INFO: dumping EtSum BX collection:\n";
118 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade sum bx collection not found." << std::endl;
121 cout <<
"INFO: dumping Muon BX collection:\n";
124 if (
muon.isValid()) {
125 for (
int ibx =
muon->getFirstBX(); ibx <=
muon->getLastBX(); ++ibx) {
128 for (
auto it =
muon->begin(ibx); it !=
muon->end(ibx); it++) {
131 cout <<
"bx: " << ibx <<
" et: " << it->et() <<
" eta: " << it->eta() <<
" phi: " << it->phi() <<
"\n";
135 edm::LogWarning(
"MissingProduct") <<
"L1Upgrade muon bx collection not found." << std::endl;
edm::EDGetTokenT< l1t::TauBxCollection > tauToken_
double MissingHtPhi() const
edm::EDGetTokenT< l1t::JetBxCollection > jetToken_
double MissingEtPhi() const
Log< level::Warning, false > LogWarning
#define DEFINE_FWK_MODULE(type)
void analyze(edm::Event const &, edm::EventSetup const &) override
const_iterator begin(int bx) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< l1t::EGammaBxCollection > egToken_
const_iterator end(int bx) const
edm::EDGetTokenT< l1t::EtSumBxCollection > sumToken_
L1TBasicDemo(const edm::ParameterSet &)
T getParameter(std::string const &) const
void addDefault(ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< l1t::MuonBxCollection > muonToken_