|
| FTSLuminosityFromScalers (edm::ParameterSet const &) |
|
| ~FTSLuminosityFromScalers () |
|
| EDAnalyzer ()=default |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Definition at line 19 of file FTSLuminosityFromScalers.cc.
FTSLuminosityFromScalers::FTSLuminosityFromScalers |
( |
edm::ParameterSet const & |
config | ) |
|
|
explicit |
FTSLuminosityFromScalers::~FTSLuminosityFromScalers |
( |
| ) |
|
Implements edm::global::EDAnalyzerBase.
Definition at line 71 of file FTSLuminosityFromScalers.cc.
References edm::Event::getByToken(), InstantaneousLuminosity, Invalid, m_lumi_id, m_token, m_type, Pileup, and relativeConstraints::value.
78 if (
event.getByToken(
m_token, h_luminosity) and not h_luminosity->empty()) {
81 value = h_luminosity->front().instantLumi() * 1.e30;
84 value = h_luminosity->front().pileup();
edm::EDGetTokenT< LumiScalersCollection > m_token
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
Definition at line 96 of file FTSLuminosityFromScalers.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_25ns14e33_v1_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
104 desc.
add<
std::string>(
"label",
"instantaneous luminosity [cm^{-2}s^{-1}]");
105 desc.
add<
double>(
"range", 8.e33);
106 desc.
add<
double>(
"resolution", 1.e31);
107 descriptions.
add(
"ftsLuminosityFromScalers", desc);
117 desc.
add<
double>(
"range", 40);
118 desc.
add<
double>(
"resolution", 1);
119 descriptions.
add(
"ftsPileupFromScalers", desc);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static Type FTSLuminosityFromScalers::parse |
( |
std::string const & |
type | ) |
|
|
inlinestaticprivate |
unsigned int FTSLuminosityFromScalers::m_lumi_id |
|
private |
Type FTSLuminosityFromScalers::m_type |
|
private |