#include <Pi0FixedMassWindowCalibration.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Additional Inherited Members | |
Public Types inherited from edm::EDLooperBase | |
enum | Status { kContinue, kStop } |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducerLooper | |
void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) override |
void | setIntervalFor (const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval) override |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Protected Member Functions inherited from edm::EDLooperBase | |
ModuleChanger * | moduleChanger () |
This only returns a non-zero value during the call to endOfLoop. More... | |
ScheduleInfo const * | scheduleInfo () const |
This returns a non-zero value after the constructor has been called. More... | |
Protected Member Functions inherited from edm::EDConsumerBase | |
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 41 of file Pi0FixedMassWindowCalibration.h.
Pi0FixedMassWindowCalibration::Pi0FixedMassWindowCalibration | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 32 of file Pi0FixedMassWindowCalibration.cc.
References barrelClusterCollection_, barrelClusterShapeAssociation_, clustershapecollectionEB_, gather_cfg::cout, edm::ParameterSet::getParameter(), island_p, IslandClusterAlgo::pDEBUG, IslandClusterAlgo::pERROR, IslandClusterAlgo::pINFO, ecalPiZeroTask_cfi::posCalcParameters, posCalculator_, IslandClusterAlgo::pWARNING, selePi0DetaBelt_, selePi0DRBelt_, selePi0EtBeltIsoRatioMax_, selePi0MinvMeanFixed_, selePi0MinvSigmaFixed_, selePi0PtGammaOneMin_, selePi0PtGammaTwoMin_, selePi0PtPi0Min_, selePi0S4S9GammaOneMin_, selePi0S4S9GammaTwoMin_, selePi0S9S25GammaOneMin_, selePi0S9S25GammaTwoMin_, shapeAlgo_, AlCaHLTBitMon_QueryRunRegistry::string, theParameterSet, and verbosity.
|
override |
Destructor.
Definition at line 117 of file Pi0FixedMassWindowCalibration.cc.
References island_p.
|
overridevirtual |
Called at beginning of job.
Reimplemented from edm::EDLooperBase.
Definition at line 173 of file Pi0FixedMassWindowCalibration.cc.
References isfirstcall_.
|
overridevirtual |
Called at each event.
Implements edm::EDLooper.
Definition at line 268 of file Pi0FixedMassWindowCalibration.cc.
References funct::abs(), IslandClusterAlgo::barrel, barrelCells, edm::SortedCollection< T, SORT >::begin(), ClusterShapeAlgo::Calculate(), l1tEGammaCrystalsEmulatorProducer_cfi::calib, funct::cos(), gather_cfg::cout, DetId::Ecal, EcalBarrel, EcalPreshower, ecalRecHitBarrelCollection, edm::SortedCollection< T, SORT >::end(), JetChargeProducer_cfi::exp, geometryToken_, hfClusterShapes_cfi::hits, mps_fire::i, hcalRecHitTable_cff::ieta, EBDetId::ieta(), createfilelist::int, intercalibConstantsToken_, hcalRecHitTable_cff::iphi, EBDetId::iphi(), isfirstcall_, island_p, dqmiolumiharvest::j, dqmdumpme::k, edm::EDLooperBase::kContinue, GetRecoTauVFromDQM_MC_cff::kk, dqm-mbProfile::log, IslandClusterAlgo::makeClusters(), mwxtals, nevent, newCalibs_barl, oldCalibs_barl, edm::Handle< T >::product(), edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), recalibEcalRecHitCollection, recHitsEB_map, recHitToken_, selePi0DetaBelt_, selePi0DRBelt_, selePi0EtBeltIsoRatioMax_, selePi0MinvMeanFixed_, selePi0MinvSigmaFixed_, selePi0PtGammaOneMin_, selePi0PtPi0Min_, selePi0S4S9GammaOneMin_, selePi0S4S9GammaTwoMin_, selePi0S9S25GammaOneMin_, selePi0S9S25GammaTwoMin_, singleTopDQM_cfi::setup, shapeAlgo_, Validation_hcalonly_cfi::sign, funct::sin(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), wxtals, and EBDetId::zside().
|
overridevirtual |
Called at end of job.
Reimplemented from edm::EDLooperBase.
Definition at line 179 of file Pi0FixedMassWindowCalibration.cc.
References funct::abs(), barrelCells, gather_cfg::cout, EcalBarrel, hcalRecHitTable_cff::ieta, EBDetId::ieta(), hcalRecHitTable_cff::iphi, EBDetId::iphi(), newCalibs_barl, Validation_hcalonly_cfi::sign, Pi0CalibXMLwriter::writeLine(), and EBDetId::zside().
|
overridevirtual |
Called at end of loop.
Implements edm::EDLooperBase.
Definition at line 213 of file Pi0FixedMassWindowCalibration.cc.
References funct::abs(), barrelCells, gather_cfg::cout, EcalBarrel, hcalRecHitTable_cff::ieta, EBDetId::ieta(), hcalRecHitTable_cff::iphi, EBDetId::iphi(), edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, mwxtals, newCalibs_barl, oldCalibs_barl, Validation_hcalonly_cfi::sign, theMaxLoops, Pi0CalibXMLwriter::writeLine(), wxtals, and EBDetId::zside().
|
static |
Definition at line 119 of file Pi0FixedMassWindowCalibration.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ecalPiZeroTask_cfi::posCalcParameters, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Dummy implementation (job done in duringLoop)
Definition at line 52 of file Pi0FixedMassWindowCalibration.h.
|
overridevirtual |
Called at beginning of loop.
Implements edm::EDLooperBase.
Definition at line 198 of file Pi0FixedMassWindowCalibration.cc.
References gather_cfg::cout, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, mwxtals, Validation_hcalonly_cfi::sign, and wxtals.
|
private |
Definition at line 109 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfJob(), and endOfLoop().
|
private |
Definition at line 82 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 84 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 81 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 80 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 76 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 83 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 75 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 124 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 129 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 128 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 131 of file Pi0FixedMassWindowCalibration.h.
Referenced by beginOfJob(), and duringLoop().
|
private |
Definition at line 88 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), Pi0FixedMassWindowCalibration(), and ~Pi0FixedMassWindowCalibration().
|
private |
Definition at line 115 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfLoop(), and startingNewLoop().
|
private |
Definition at line 72 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 113 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfJob(), and endOfLoop().
|
private |
Definition at line 112 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and endOfLoop().
|
private |
Definition at line 86 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 125 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 122 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 127 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 95 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 94 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 104 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 106 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 107 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 91 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 92 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 97 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 99 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 100 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 101 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 102 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 87 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 74 of file Pi0FixedMassWindowCalibration.h.
Referenced by endOfLoop().
|
private |
Definition at line 119 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 78 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 114 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfLoop(), and startingNewLoop().