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()
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
const EventID & eventID() const
#define DEFINE_FWK_MODULE(type)
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
const IOVSyncValue & last() const
ComponentDescription const * providerDescription(DataKey const &aKey) const
virtual void beginRun(Run const &, EventSetup const &)
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)
TimeValue_t value() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::map< eventsetup::EventSetupRecordKey, unsigned long long > cacheIdentifiers_
char data[epos_bytes_allocation]
const Timestamp & time() const
virtual void analyze(Event const &, EventSetup const &)
const IOVSyncValue & first() const
ValidityInterval const & validityInterval() const
void print(EventSetup const &)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
PrintEventSetupContent(ParameterSet const &)