53 virtual void endJob()
override ;
106 typedef std::vector<eventsetup::EventSetupRecordKey> Records;
107 typedef std::vector<eventsetup::DataKey>
Data;
114 for(Records::iterator itrecords = records.begin(), itrecordsend = records.end();
115 itrecords != itrecordsend; ++itrecords ) {
122 LogSystem(
"ESContent") <<
"\n" <<
"Changed Record" <<
"\n " <<
"<datatype>" <<
" " <<
"'label' provider: 'provider label' <provider module type>";
125 LogAbsolute(
"ESContent") << itrecords->name() << std::endl;
130 for(Data::iterator itdata = data.begin(), itdataend = data.end(); itdata != itdataend; ++itdata){
132 LogAbsolute(
"ESContent") <<
" " << itdata->type().name() <<
" '" << itdata->name().value() <<
"'" <<
" provider:'" << cd->
label_ <<
"' " << cd->
type_ << std::endl;
162 descriptions.
setComment(
"Print what data is available in each available EventSetup Record in the job.\n"
163 "As part of the data is the C++ class type, label and which module makes that data.");
164 descriptions.
add(
"printEventSetupContent", desc);
unsigned long long cacheIdentifier() const
void fillRegisteredDataKeys(std::vector< DataKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all registered data keys ...
~PrintEventSetupContent()
const EventID & eventID() const
virtual void endJob() override
#define DEFINE_FWK_MODULE(type)
virtual void beginRun(Run const &, EventSetup const &) override
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
const IOVSyncValue & last() const
ComponentDescription const * providerDescription(DataKey const &aKey) const
virtual void beginJob() override
void fillAvailableRecordKeys(std::vector< eventsetup::EventSetupRecordKey > &oToFill) const
clears the oToFill vector and then fills it with the keys for all available records ...
void setComment(std::string const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &) override
std::map< eventsetup::EventSetupRecordKey, unsigned long long > cacheIdentifiers_
char data[epos_bytes_allocation]
const Timestamp & time() const
const IOVSyncValue & first() const
virtual void analyze(Event const &, EventSetup const &) override
ValidityInterval const & validityInterval() const
TimeValue_t value() const
void print(EventSetup const &)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
PrintEventSetupContent(ParameterSet const &)