Go to the documentation of this file.
31 void endJob()
override;
46 readMultiBX_(iConfig.getParameter<
bool>(
"readMultiBX")) {
47 usesResource(
"TFileService");
80 for (
auto const& simDigi : gemSimDigis) {
81 const GEMDetId& gemId = simDigi.first;
85 for (
auto digi =
sim.first; digi !=
sim.second; ++digi) {
89 bool foundDigi =
false;
90 for (
auto unpackeddigi = packed.first; unpackeddigi != packed.second; ++unpackeddigi) {
91 if ((digi->strip() == unpackeddigi->strip()) && (digi->bx() == unpackeddigi->bx()))
95 edm::LogInfo(
"GEMPackingTester") <<
"simMuonGEMDigi NOT found " << gemId <<
" " << digi->strip() <<
" "
97 for (
auto unpackeddigi = packed.first; unpackeddigi != packed.second; ++unpackeddigi) {
98 edm::LogInfo(
"GEMPackingTester") <<
"rec " << unpackeddigi->strip() <<
" " << unpackeddigi->bx();
116 desc.add<
bool>(
"readMultiBX",
false);
117 descriptions.
add(
"GEMPackingTester",
desc);
edm::EDGetTokenT< GEMDigiCollection > gemSimDigiToken_
~GEMPackingTester() override
Log< level::Info, false > LogInfo
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void analyze(const edm::Event &, const edm::EventSetup &) override
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
T * make(const Args &...args) const
make new ROOT object
size_t size() const
Lenght of the data buffer in bytes.
GEMPackingTester(const edm::ParameterSet &)
std::pair< const_iterator, const_iterator > Range
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
edm::EDGetTokenT< GEMDigiCollection > gemDigiToken_
edm::EDGetTokenT< FEDRawDataCollection > fedToken_