#include <PhiSymmetryCalibration.h>
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 34 of file PhiSymmetryCalibration.h.
PhiSymmetryCalibration::PhiSymmetryCalibration | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 51 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.
|
override |
Destructor.
Definition at line 81 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, mps_fire::i, kBarlRings, and kEndcEtaRings.
|
override |
Called at each event.
Definition at line 232 of file PhiSymmetryCalibration.cc.
References funct::abs(), ap_, b_, barrelHits_, edm::SortedCollection< T, SORT >::begin(), EcalGeomPhiSymHelper::cellPos_, MillePedeFileConverter_cfg::e, e_, e_spectrum_b_histos, e_spectrum_e_histos, DetId::Ecal, EcalBarrel, EcalEndcap, ecalHitsProducer_, eCut_barl_, edm::SortedCollection< T, SORT >::end(), endcapHits_, EcalGeomPhiSymHelper::endcapRing_, EgHLTOffHistBins_cfi::et, et_spectrum_b_histos, et_spectrum_e_histos, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), EcalGeomPhiSymHelper::etaBoundary_, etsum_barl_, etsum_barl_miscal_, etsum_endc_, etsum_endc_miscal_, eventSet_, eventsinlb_, eventsinrun_, HcalObjRepresent::Fill(), edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, EBDetId::ieta(), EBDetId::iphi(), isfirstpass_, edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), kEndcEtaRings, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, nevents_, nhits_barl_, nhits_endc_, EcalGeomPhiSymHelper::nRing_, oldCalibs_, reiteration_, relativeConstraints::ring, setUp(), Validation_hcalonly_cfi::sign, spectra, and EEDetId::zside().
|
overridevirtual |
Called at beginning of job.
Reimplemented from edm::EDAnalyzer.
Definition at line 95 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_, mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, kSides, miscalEB_, miscalEE_, nhits_barl_, nhits_endc_, relativeConstraints::ring, Validation_hcalonly_cfi::sign, spectra, and OrderedSet::t.
|
overridevirtual |
Called at end of job.
Reimplemented from edm::EDAnalyzer.
Definition at line 155 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(), mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, k_barl_, k_endc_, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, nevents_, nhits_barl_, nhits_endc_, MillePedeFileConverter_cfg::out, relativeConstraints::ring, Validation_hcalonly_cfi::sign, and spectra.
Referenced by o2olib.O2ORunMgr::executeJob().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 513 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().
|
override |
Definition at line 382 of file PhiSymmetryCalibration.cc.
References edm::RunBase::beginTime(), gather_cfg::cout, edm::RunBase::endTime(), eventsinrun_, edm::RunBase::run(), and edm::Timestamp::value().
|
private |
Definition at line 395 of file PhiSymmetryCalibration.cc.
References gather_cfg::cout, etsum_barl_miscal_, etsum_endc_miscal_, f, LEDCalibrationChannels::ieta, createfilelist::int, k_barl_, k_endc_, kBarlRings, kEndcEtaRings, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, relativeConstraints::ring, and OrderedSet::t.
Referenced by endJob().
void PhiSymmetryCalibration::setUp | ( | const edm::EventSetup & | setup | ) |
Definition at line 482 of file PhiSymmetryCalibration.cc.
References e_, edm::FileInPath::fullPath(), edm::EventSetup::get(), h, oldcalibfile_, oldCalibs_, EcalFloatCondObjectContainerXMLTranslator::readXML(), reiteration_, runTheMatrix::ret, EcalGeomPhiSymHelper::setup(), and statusThreshold_.
Referenced by analyze().
|
private |
Definition at line 122 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 123 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 93 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 115 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 69 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 143 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 145 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 114 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 119 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 94 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 116 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 105 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 106 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 84 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 85 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 142 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 144 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 72 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 81 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 73 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 82 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 74 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 75 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 76 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 125 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 150 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endLuminosityBlock(), and PhiSymmetryCalibration().
|
private |
Definition at line 149 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endRun(), and PhiSymmetryCalibration().
|
private |
Definition at line 139 of file PhiSymmetryCalibration.h.
Referenced by analyze(), and PhiSymmetryCalibration().
|
private |
Definition at line 88 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
private |
Definition at line 89 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
staticprivate |
Definition at line 129 of file PhiSymmetryCalibration.h.
|
staticprivate |
Definition at line 64 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 67 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 63 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
staticprivate |
Definition at line 66 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 90 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 91 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 148 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endJob(), and PhiSymmetryCalibration().
|
private |
Definition at line 101 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 102 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 78 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 79 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 134 of file PhiSymmetryCalibration.h.
Referenced by setUp().
|
private |
the old calibration constants (when reiterating, the last ones derived)
Definition at line 137 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 97 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 98 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 131 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 109 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 110 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 133 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 147 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 127 of file PhiSymmetryCalibration.h.
Referenced by setUp().