#include <Pi0FixedMassWindowCalibration.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
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::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
Protected Member Functions inherited from edm::ESProducerLooper | |
void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > 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 | |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &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 TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 57 of file Pi0FixedMassWindowCalibration.h.
Pi0FixedMassWindowCalibration::Pi0FixedMassWindowCalibration | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 35 of file Pi0FixedMassWindowCalibration.cc.
References barrelClusterCollection_, barrelClusterShapeAssociation_, clustershapecollectionEB_, gather_cfg::cout, edm::ParameterSet::getParameter(), island_p, IslandClusterAlgo::pDEBUG, IslandClusterAlgo::pERROR, IslandClusterAlgo::pINFO, MonitorAlCaEcalPi0_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 |
|
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, barrelHits_, edm::SortedCollection< T, SORT >::begin(), ClusterShapeAlgo::Calculate(), L1EGammaCrystalsEmulatorProducer_cfi::calib, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, funct::cos(), gather_cfg::cout, DetId::Ecal, EcalBarrel, ecalHitsProducer_, EcalPreshower, ecalRecHitBarrelCollection, EcalCondObjectContainer< T >::end(), edm::SortedCollection< T, SORT >::end(), cppFunctionSkipper::exception, JetChargeProducer_cfi::exp, EcalCondObjectContainer< T >::find(), get, EcalCondObjectContainer< T >::getMap(), CaloGeometry::getSubdetectorGeometry(), hfClusterShapes_cfi::hits, mps_fire::i, EBDetId::ieta(), LEDCalibrationChannels::ieta, createfilelist::int, EBDetId::iphi(), LEDCalibrationChannels::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::ESHandle< T >::product(), edm::SortedCollection< T, SORT >::push_back(), DetId::rawId(), recalibEcalRecHitCollection, recHitsEB_map, selePi0DetaBelt_, selePi0DRBelt_, selePi0EtBeltIsoRatioMax_, selePi0MinvMeanFixed_, selePi0MinvSigmaFixed_, selePi0PtGammaOneMin_, selePi0PtPi0Min_, selePi0S4S9GammaOneMin_, selePi0S4S9GammaTwoMin_, selePi0S9S25GammaOneMin_, selePi0S9S25GammaTwoMin_, singleTopDQM_cfi::setup, shapeAlgo_, Validation_hcalonly_cfi::sign, funct::sin(), EcalCondObjectContainer< T >::size(), 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, EBDetId::ieta(), LEDCalibrationChannels::ieta, EBDetId::iphi(), LEDCalibrationChannels::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, EBDetId::ieta(), LEDCalibrationChannels::ieta, EBDetId::iphi(), LEDCalibrationChannels::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, MonitorAlCaEcalPi0_cfi::posCalcParameters, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Dummy implementation (job done in duringLoop)
Definition at line 68 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, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, mwxtals, Validation_hcalonly_cfi::sign, and wxtals.
|
private |
Definition at line 125 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfJob(), and endOfLoop().
|
private |
Definition at line 98 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 100 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 97 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 96 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 92 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 99 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 91 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 140 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 146 of file Pi0FixedMassWindowCalibration.h.
Referenced by beginOfJob(), and duringLoop().
|
private |
Definition at line 104 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), Pi0FixedMassWindowCalibration(), and ~Pi0FixedMassWindowCalibration().
|
private |
Definition at line 131 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfLoop(), and startingNewLoop().
|
private |
Definition at line 88 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 129 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfJob(), and endOfLoop().
|
private |
Definition at line 128 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and endOfLoop().
|
private |
Definition at line 102 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 141 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 138 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 111 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 110 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 120 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 122 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 123 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 108 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 113 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 115 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 116 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 117 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 118 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 103 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 144 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 90 of file Pi0FixedMassWindowCalibration.h.
Referenced by endOfLoop().
|
private |
Definition at line 135 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 94 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 130 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfLoop(), and startingNewLoop().