39 void printBx(
unsigned bx);
79 : minBx_(iConfig.getUntrackedParameter<unsigned>(
"minBx", 0)),
80 maxBx_(iConfig.getUntrackedParameter<unsigned>(
"maxBx", 3564)),
82 checkMuons_(iConfig.getUntrackedParameter<
bool>(
"checkMuons",
true)),
83 checkJets_(iConfig.getUntrackedParameter<
bool>(
"checkJets",
true)),
84 checkEGammas_(iConfig.getUntrackedParameter<
bool>(
"checkEGammas",
true)),
85 checkTaus_(iConfig.getUntrackedParameter<
bool>(
"checkTaus",
true)),
86 checkEtSums_(iConfig.getUntrackedParameter<
bool>(
"checkEtSums",
true)),
88 searchEvent_(iConfig.getUntrackedParameter<
bool>(
"searchEvent",
false)),
89 orbitNum_(iConfig.getUntrackedParameter<unsigned>(
"orbitNumber", 0)),
90 searchStartBx_(iConfig.getUntrackedParameter<unsigned>(
"searchStartBx", 0)),
91 searchStopBx_(iConfig.getUntrackedParameter<unsigned>(
"searchStopBx", 0)),
93 skipEmptyBx_(iConfig.getUntrackedParameter<
bool>(
"skipEmptyBx",
true)) {
121 unsigned currOrbit =
iEvent.id().event();
135 std::set<unsigned> uniqueBx;
169 for (
const unsigned&
bx : uniqueBx) {
184 std::cout <<
"BX = " <<
bx <<
" ****" << std::endl;
209 for (
const auto&
egamma : eGammas) {
228 for (
const auto& sum : sums) {
std::vector< unsigned > getFilledBxs() const
T getParameter(std::string const &) const
edm::Handle< EGammaOrbitCollection > eGammaHandle_
void printBx(unsigned bx)
edm::EDGetTokenT< MuonOrbitCollection > gmtMuonsToken_
void printMuon(const Muon &muon, std::ostream &outs=std::cout)
void printJet(const Jet &jet, std::ostream &outs=std::cout)
edm::EDGetTokenT< EGammaOrbitCollection > caloEGammasToken_
DumpScObjects(const edm::ParameterSet &)
void printEGamma(const EGamma &eGamma, std::ostream &outs=std::cout)
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
void printBxSums(const BxSums &sums, std::ostream &outs=std::cout)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< TauOrbitCollection > caloTausToken_
~DumpScObjects() override
edm::EDGetTokenT< JetOrbitCollection > caloJetsToken_
#define DEFINE_FWK_MODULE(type)
edm::Span< const_iterator > bxIterator(unsigned bx) const
edm::Handle< JetOrbitCollection > jetHandle_
void printTau(const Tau &tau, std::ostream &outs=std::cout)
edm::EDGetTokenT< BxSumsOrbitCollection > caloEtSumsToken_
edm::Handle< BxSumsOrbitCollection > etSumHandle_
edm::Handle< TauOrbitCollection > tauHandle_
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::Handle< MuonOrbitCollection > muonHandle_