|
void | analyze (const edm::Event &evt, const edm::EventSetup &es) override |
|
| EcalSRCondTools (const edm::ParameterSet &) |
|
| ~EcalSRCondTools () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () 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 |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > 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 |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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 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 () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
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 30 of file EcalSRCondTools.cc.
Called by CMSSW event loop
- Parameters
-
evt | the event |
es | events setup |
Implements edm::one::EDAnalyzerBase.
Definition at line 74 of file EcalSRCondTools.cc.
References EcalSRSettings::automaticMasks_, EcalSRSettings::automaticSrpSelect_, EcalSRSettings::bxGlobalOffset_, gather_cfg::cout, dqmiodatasetharvest::db, done_, Exception, f, alignmentValidation::fname, edm::EventSetup::getHandle(), edm::ParameterSet::getParameter(), hSrToken_, ecalsrcondtools::importParameterSet(), ecalsrcondtools::importSrpConfigFile(), iomode_write_, edm::ESHandleBase::isValid(), mode_, edm::ESHandle< T >::product(), ps_, cmsswSequenceInfo::tp, and tpgPhysicsConstToken_.
79 if (
mode_ ==
"online_config" ||
mode_ ==
"combine_config") {
88 if (
mode_ ==
"python_config" ||
mode_ ==
"combine_config") {
92 if (!(
mode_ ==
"python_config" ||
mode_ ==
"online_config" ||
mode_ ==
"combine_config" || (
mode_ ==
"read"))) {
94 <<
"Valid values: online_config, python_config, combine_config, read";
103 if (!
db.isAvailable()) {
104 throw cms::Exception(
"CondDBAccess") <<
"Failed to connect to PoolDBOutputService\n";
109 db->writeOneIOV(sr, firstSinceTime,
"EcalSRSettingsRcd");
114 cout <<
"EcalSRSettings record not found. Check the Cond DB Global tag.\n";
117 cout <<
"ECAL Seletive readout settings:\n";
118 cout << *ssr <<
"\n" << endl;
124 cout <<
"EcalTPGPhysicsConst record not found. Check the Cond DB Global tag.\n";
128 if (mymap.size() != 2) {
129 cout <<
"Error: TPG physics record is of unexpected size: " << mymap.size()
130 <<
" elements instead of two (one for EB, one for EE)\n";
132 EcalTPGPhysicsConstMap::const_iterator it = mymap.begin();
133 cout <<
"----------------------------------------------------------------------\n" 134 "Trigger tower Et thresholds extracted from TPG configuration \n" 135 "(EcalSRCondTools modules supports only read mode for these parameters):\n\n";
137 <<
"LT = " << it->second.ttf_threshold_Low <<
" GeV " 138 <<
"HT = " << it->second.ttf_threshold_High <<
" GeV\n";
141 <<
"LT = " << it->second.ttf_threshold_Low <<
" GeV " 142 <<
"HT = " << it->second.ttf_threshold_High <<
" GeV\n";
T getParameter(std::string const &) const
T const * product() const
unsigned long long Time_t
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap