#include <PhiSymmetryCalibration.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
Called at each event. More... | |
virtual void | beginJob () |
Called at beginning of job. More... | |
virtual void | endJob () |
Called at end of job. More... | |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run &, const edm::EventSetup &) |
PhiSymmetryCalibration (const edm::ParameterSet &iConfig) | |
Constructor. More... | |
void | setUp (const edm::EventSetup &setup) |
~PhiSymmetryCalibration () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | getKfactors () |
Static Private Attributes | |
static const int | kMaxEndciPhi = 360 |
static const float | kMiscalRangeEB = .05 |
static const float | kMiscalRangeEE = .10 |
static const int | kNMiscalBinsEB = 21 |
static const int | kNMiscalBinsEE = 41 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Definition at line 35 of file PhiSymmetryCalibration.h.
PhiSymmetryCalibration::PhiSymmetryCalibration | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 59 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, eventsinlb_, eventsinrun_, isfirstpass_, kBarlRings, kEndcEtaRings, nevents_, and spectra.
PhiSymmetryCalibration::~PhiSymmetryCalibration | ( | ) |
Destructor.
Definition at line 93 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, i, kBarlRings, and kEndcEtaRings.
|
virtual |
Called at each event.
Implements edm::EDAnalyzer.
Definition at line 273 of file PhiSymmetryCalibration.cc.
References funct::abs(), ap_, b_, barrelHits_, EcalGeomPhiSymHelper::cellPos_, alignCSCRings::e, e_, e_spectrum_b_histos, e_spectrum_e_histos, DetId::Ecal, EcalBarrel, EcalEndcap, ecalHitsProducer_, eCut_barl_, endcapHits_, EcalGeomPhiSymHelper::endcapRing_, et_spectrum_b_histos, et_spectrum_e_histos, PV3DBase< T, PVType, FrameType >::eta(), eta(), EcalGeomPhiSymHelper::etaBoundary_, etsum_barl_, etsum_barl_miscal_, etsum_endc_, etsum_endc_miscal_, eventSet_, eventsinlb_, eventsinrun_, HcalObjRepresent::Fill(), edm::EventSetup::get(), EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, EBDetId::ieta(), EBDetId::iphi(), isfirstpass_, EEDetId::ix(), EEDetId::iy(), kEndcEtaRings, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, nevents_, nhits_barl_, nhits_endc_, EcalGeomPhiSymHelper::nRing_, oldCalibs_, reiteration_, relativeConstraints::ring, setUp(), jetcorrextractor::sign(), spectra, and EEDetId::zside().
|
virtual |
Called at beginning of job.
Reimplemented from edm::EDAnalyzer.
Definition at line 114 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, etsum_barl_, etsum_barl_miscal_, etsum_endc_, etsum_endc_miscal_, eventSet_, i, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, kSides, miscalEB_, miscalEE_, nhits_barl_, nhits_endc_, relativeConstraints::ring, jetcorrextractor::sign(), spectra, and edmStreamStallGrapher::t.
|
virtual |
Called at end of job.
Reimplemented from edm::EDAnalyzer.
Definition at line 185 of file PhiSymmetryCalibration.cc.
References gather_cfg::cout, e_, e_spectrum_b_histos, e_spectrum_e_histos, EcalGeomPhiSymHelper::endcapRing_, et_spectrum_b_histos, et_spectrum_e_histos, etsum_barl_, etsum_endc_, eventSet_, f, getKfactors(), i, k_barl_, k_endc_, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, nevents_, nhits_barl_, nhits_endc_, dbtoconf::out, relativeConstraints::ring, jetcorrextractor::sign(), and spectra.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 590 of file PhiSymmetryCalibration.cc.
References edm::LuminosityBlockBase::beginTime(), gather_cfg::cout, edm::LuminosityBlockBase::endTime(), eventsinlb_, edm::LuminosityBlockBase::id(), edm::LuminosityBlockBase::run(), and edm::Timestamp::value().
|
virtual |
Definition at line 438 of file PhiSymmetryCalibration.cc.
References edm::RunBase::beginTime(), gather_cfg::cout, edm::RunBase::endTime(), eventsinrun_, mathSSE::return(), edm::RunBase::run(), and edm::Timestamp::value().
|
private |
Definition at line 455 of file PhiSymmetryCalibration.cc.
References gather_cfg::cout, etsum_barl_miscal_, etsum_endc_miscal_, f, k_barl_, k_endc_, kBarlRings, kEndcEtaRings, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, relativeConstraints::ring, and edmStreamStallGrapher::t.
Referenced by endJob().
void PhiSymmetryCalibration::setUp | ( | const edm::EventSetup & | setup | ) |
Definition at line 552 of file PhiSymmetryCalibration.cc.
References e_, edm::FileInPath::fullPath(), edm::EventSetup::get(), h, oldcalibfile_, oldCalibs_, EcalFloatCondObjectContainerXMLTranslator::readXML(), reiteration_, run_regression::ret, EcalGeomPhiSymHelper::setup(), and statusThreshold_.
Referenced by analyze().
|
private |
Definition at line 133 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 134 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 102 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 125 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 76 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 156 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 158 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 124 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 129 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 103 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 126 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 114 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 115 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 92 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 93 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 155 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 157 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 79 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 88 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 80 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 89 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 81 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 82 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 83 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 136 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 163 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endLuminosityBlock(), and PhiSymmetryCalibration().
|
private |
Definition at line 162 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endRun(), and PhiSymmetryCalibration().
|
private |
Definition at line 151 of file PhiSymmetryCalibration.h.
Referenced by analyze(), and PhiSymmetryCalibration().
|
private |
Definition at line 97 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
private |
Definition at line 98 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
staticprivate |
Definition at line 140 of file PhiSymmetryCalibration.h.
|
staticprivate |
Definition at line 71 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 74 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 70 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
staticprivate |
Definition at line 73 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 99 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 100 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 161 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endJob(), and PhiSymmetryCalibration().
|
private |
Definition at line 110 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 111 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 85 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 86 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 146 of file PhiSymmetryCalibration.h.
Referenced by setUp().
|
private |
the old calibration constants (when reiterating, the last ones derived)
Definition at line 149 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 106 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 107 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 142 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 118 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 119 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 145 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 160 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), and PhiSymmetryCalibration().
|
private |
threshold in channel status beyond which channel is marked bad
Definition at line 138 of file PhiSymmetryCalibration.h.
Referenced by setUp().