|
| L1CaloInputScaleTester (const edm::ParameterSet &) |
|
| ~L1CaloInputScaleTester () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const noexcept |
|
bool | wantsStreamRuns () const noexcept |
|
| ~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) |
|
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 35 of file L1CaloInputScaleTester.h.
Implements edm::one::EDAnalyzerBase.
Definition at line 58 of file L1CaloInputScaleTester.cc.
References EcalBarrel, EcalEndcap, ecalScaleToken_, L1CaloEcalScale::et(), L1CaloHcalScale::et(), edm::EventSetup::get(), edm::EventSetup::getHandle(), EcalTPGScale::getTPGInGeV(), hcalScaleToken_, iEvent, input, tokens_, and transcoderToken_.
61 #ifdef THIS_IS_AN_EVENT_EXAMPLE 63 iEvent.getByLabel(
"example", pIn);
66 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE 68 iSetup.
get<SetupRecord>().
get(pSetup);
77 bool ecalIsConsistent =
true;
78 bool hcalIsConsistent =
true;
92 for (
unsigned short absIeta = 1; absIeta <= 17; absIeta++) {
95 ecal2 = caloEcalScale->
et(
input, absIeta, 1);
97 if (!(ecal1 == ecal2)) {
98 ecalIsConsistent =
false;
108 ecal2 = caloEcalScale->
et(
input, absIeta, -1);
110 if (!(ecal1 == ecal2)) {
111 ecalIsConsistent =
false;
120 for (
unsigned short absIeta = 18; absIeta <= 28; absIeta++) {
123 ecal2 = caloEcalScale->
et(
input, absIeta, 1);
125 if (!(ecal1 == ecal2)) {
126 ecalIsConsistent =
false;
136 ecal2 = caloEcalScale->
et(
input, absIeta, -1);
138 if (!(ecal1 == ecal2)) {
139 ecalIsConsistent =
false;
149 if (!ecalIsConsistent) {
152 LogWarning(
"InconsistentData") <<
"ECAL scales not consistent!";
162 for (
unsigned short absIeta = 1; absIeta <= 32; absIeta++) {
163 hcal1 = caloTPGTranscoder->hcaletValue(absIeta,
input);
164 hcal2 = caloHcalScale->
et(
input, absIeta, 1);
165 hcal3 = caloTPGTranscoder->hcaletValue(-absIeta,
input);
166 hcal4 = caloHcalScale->
et(
input, absIeta, -1);
168 if ((!(hcal1 == hcal2)) || (!(hcal3 == hcal4))) {
169 hcalIsConsistent =
false;
177 if (!hcalIsConsistent) {
180 LogWarning(
"InconsistentData") <<
"HCAL scales not consistent!";
double et(unsigned short rank, unsigned short eta, short etaSign) const
convert from rank to physically meaningful quantity
static std::string const input
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
double et(unsigned short rank, unsigned short eta, short etaSign) const
convert from rank to physically meaningful quantity
Log< level::Warning, false > LogWarning