31 void endJob()
override;
46 readMultiBX_(iConfig.getParameter<
bool>(
"readMultiBX")) {
47 usesResource(
"TFileService");
49 tree_ =
fs->make<TTree>(
"fed",
"fed");
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);
#define DEFINE_FWK_MODULE(type)
GEMPackingTester(const edm::ParameterSet &)
size_t size() const
Lenght of the data buffer in bytes.
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< GEMDigiCollection > gemDigiToken_
edm::EDGetTokenT< FEDRawDataCollection > fedToken_
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
~GEMPackingTester() override
edm::EDGetTokenT< GEMDigiCollection > gemSimDigiToken_
Log< level::Info, false > LogInfo
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::pair< const_iterator, const_iterator > Range
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void analyze(const edm::Event &, const edm::EventSetup &) override