#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::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Public Types inherited from edm::EDLooperBase | |
enum | Status { kContinue, kStop } |
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 | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
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... | |
Definition at line 59 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, cleanAndMergeSuperClusters_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 109 of file Pi0FixedMassWindowCalibration.cc.
References island_p.
|
overridevirtual |
Called at beginning of job.
Reimplemented from edm::EDLooperBase.
Definition at line 169 of file Pi0FixedMassWindowCalibration.cc.
References isfirstcall_.
Referenced by produce().
|
overridevirtual |
Called at each event.
Implements edm::EDLooper.
Definition at line 280 of file Pi0FixedMassWindowCalibration.cc.
References funct::abs(), IslandClusterAlgo::barrel, barrelCells, barrelHits_, edm::SortedCollection< T, SORT >::begin(), ClusterShapeAlgo::Calculate(), calib, MessageLogger_cfi::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(), edm::EventSetup::get(), EcalCondObjectContainer< T >::getMap(), CaloGeometry::getSubdetectorGeometry(), CaloGeometry::getValidDetIds(), hfClusterShapes_cfi::hits, mps_fire::i, EBDetId::ieta(), createfilelist::int, EBDetId::iphi(), isfirstcall_, island_p, gen::k, edm::EDLooperBase::kContinue, GetRecoTauVFromDQM_MC_cff::kk, cmsBatch::log, IslandClusterAlgo::makeClusters(), mwxtals, nevent, newCalibs_barl, oldCalibs_barl, edm::Handle< T >::product(), edm::ESHandle< T >::product(), DetId::rawId(), recalibEcalRecHitCollection, recHitsEB_map, selePi0DetaBelt_, selePi0DRBelt_, selePi0EtBeltIsoRatioMax_, selePi0MinvMeanFixed_, selePi0MinvSigmaFixed_, selePi0PtGammaOneMin_, selePi0PtPi0Min_, selePi0S4S9GammaOneMin_, selePi0S4S9GammaTwoMin_, selePi0S9S25GammaOneMin_, selePi0S9S25GammaTwoMin_, 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().
Referenced by produce().
|
overridevirtual |
Called at end of job.
Reimplemented from edm::EDLooperBase.
Definition at line 181 of file Pi0FixedMassWindowCalibration.cc.
References funct::abs(), barrelCells, gather_cfg::cout, EcalBarrel, EBDetId::ieta(), EBDetId::iphi(), newCalibs_barl, Validation_hcalonly_cfi::sign, Pi0CalibXMLwriter::writeLine(), and EBDetId::zside().
Referenced by produce().
|
override |
Called at end of loop.
Definition at line 223 of file Pi0FixedMassWindowCalibration.cc.
References funct::abs(), barrelCells, gather_cfg::cout, EcalBarrel, EBDetId::ieta(), EBDetId::iphi(), edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, mwxtals, newCalibs_barl, oldCalibs_barl, Validation_hcalonly_cfi::sign, theMaxLoops, Pi0CalibXMLwriter::writeLine(), wxtals, and EBDetId::zside().
Referenced by produce().
|
static |
Definition at line 114 of file Pi0FixedMassWindowCalibration.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), cleanAndMergeSuperClusters_cfi::posCalcParameters, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Dummy implementation (job done in duringLoop)
Definition at line 73 of file Pi0FixedMassWindowCalibration.h.
References beginOfJob(), duringLoop(), endOfJob(), endOfLoop(), and startingNewLoop().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
overridevirtual |
Called at beginning of loop.
Implements edm::EDLooperBase.
Definition at line 203 of file Pi0FixedMassWindowCalibration.cc.
References gather_cfg::cout, mwxtals, Validation_hcalonly_cfi::sign, and wxtals.
Referenced by produce().
|
private |
Definition at line 134 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfJob(), and endOfLoop().
|
private |
Definition at line 105 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 107 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 104 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 103 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 98 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 106 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 97 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 152 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 159 of file Pi0FixedMassWindowCalibration.h.
Referenced by beginOfJob(), and duringLoop().
|
private |
Definition at line 111 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), Pi0FixedMassWindowCalibration(), and ~Pi0FixedMassWindowCalibration().
|
private |
Definition at line 140 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfLoop(), and startingNewLoop().
|
private |
Definition at line 94 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 138 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfJob(), and endOfLoop().
|
private |
Definition at line 137 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and endOfLoop().
|
private |
Definition at line 109 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 153 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 150 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop().
|
private |
Definition at line 118 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 127 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 129 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 130 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 114 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 115 of file Pi0FixedMassWindowCalibration.h.
Referenced by 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 124 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), and Pi0FixedMassWindowCalibration().
|
private |
Definition at line 125 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 157 of file Pi0FixedMassWindowCalibration.h.
|
private |
Definition at line 96 of file Pi0FixedMassWindowCalibration.h.
Referenced by endOfLoop().
|
private |
Definition at line 144 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 101 of file Pi0FixedMassWindowCalibration.h.
Referenced by Pi0FixedMassWindowCalibration().
|
private |
Definition at line 139 of file Pi0FixedMassWindowCalibration.h.
Referenced by duringLoop(), endOfLoop(), and startingNewLoop().