|
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override |
|
| DQMRivetClient (const edm::ParameterSet &pset) |
|
void | endJob () override |
|
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
| EndRun. More...
|
|
void | normalizeToIntegral (const std::string &startDir, const std::string &histName, const std::string &normHistName) |
|
void | normalizeToLumi (const std::string &startDir, const std::string &histName, const std::string &normHistName, double xsection) |
|
void | scaleByFactor (const std::string &startDir, const std::string &histName, double factor) |
|
| ~DQMRivetClient () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex >
const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector
< ProductResolverIndexAndSkipBit >
const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsInputProcessBlocks () |
|
static bool | wantsProcessBlocks () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Definition at line 12 of file DQMRivetClient.h.
Definition at line 29 of file DQMRivetClient.cc.
References writedatasetfile::args, edm::ParameterSet::getUntrackedParameter(), DQMRivetClient::NormOption::name, DQMRivetClient::LumiOption::name, DQMRivetClient::ScaleFactorOption::name, DQMRivetClient::NormOption::normHistName, DQMRivetClient::LumiOption::normHistName, runTheMatrix::opt, or, DQMRivetClient::ScaleFactorOption::scale, HistogramManager_cfi::VPSet(), and DQMRivetClient::LumiOption::xsection.
30 typedef std::vector<edm::ParameterSet>
VPSet;
31 typedef std::vector<std::string>
vstring;
32 typedef boost::escaped_list_separator<char> elsc;
34 elsc commonEscapes(
"\\",
" \t",
"\'");
38 for (vstring::const_iterator normCmd = normCmds.begin(); normCmd != normCmds.end(); ++normCmd) {
41 boost::tokenizer<elsc> tokens(*normCmd, commonEscapes);
44 for (boost::tokenizer<elsc>::const_iterator iToken = tokens.begin(); iToken != tokens.end(); ++iToken) {
47 args.push_back(*iToken);
50 if (args.empty()
or args.size() > 2) {
51 LogInfo(
"DQMRivetClient") <<
"Wrong input to normCmds\n";
57 opt.normHistName = args.size() == 2 ? args[1] : args[0];
63 for (VPSet::const_iterator normSet = normSets.begin(); normSet != normSets.end(); ++normSet) {
65 opt.name = normSet->getUntrackedParameter<
string>(
"name");
66 opt.normHistName = normSet->getUntrackedParameter<
string>(
"normalizedTo", opt.name);
73 for (vstring::const_iterator lumiCmd = lumiCmds.begin(); lumiCmd != lumiCmds.end(); ++lumiCmd) {
76 boost::tokenizer<elsc> tokens(*lumiCmd, commonEscapes);
79 for (boost::tokenizer<elsc>::const_iterator iToken = tokens.begin(); iToken != tokens.end(); ++iToken) {
82 args.push_back(*iToken);
85 if (args.size() != 2) {
86 LogInfo(
"DQMRivetClient") <<
"Wrong input to lumiCmds\n";
102 for (vstring::const_iterator scaleCmd = scaleCmds.begin(); scaleCmd != scaleCmds.end(); ++scaleCmd) {
103 if (scaleCmd->empty())
105 boost::tokenizer<elsc> tokens(*scaleCmd, commonEscapes);
108 for (boost::tokenizer<elsc>::const_iterator iToken = tokens.begin(); iToken != tokens.end(); ++iToken) {
111 args.push_back(*iToken);
114 if (args.empty()
or args.size() > 2) {
115 LogInfo(
"DQMRivetClient") <<
"Wrong input to normCmds\n";
119 ScaleFactorOption
opt;
121 opt.scale = atof(args[1].c_str());
std::vector< ScaleFactorOption > scaleOptions_
T getUntrackedParameter(std::string const &, T const &) const
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
std::vector< NormOption > normOptions_
std::string outputFileName_
Log< level::Info, false > LogInfo
std::vector< LumiOption > lumiOptions_
std::vector< std::string > subDirs_