#include <EcalRingCalibrationTools.h>
Public Member Functions | |
EcalRingCalibrationTools () | |
~EcalRingCalibrationTools () | |
Static Public Member Functions | |
static std::vector< DetId > | getDetIdsInECAL () |
static std::vector< DetId > | getDetIdsInModule (short int) |
static std::vector< DetId > | getDetIdsInRing (short aRingIndex) |
Retrieve the DetIds in a phi-ring. More... | |
static short | getModuleIndex (DetId aDetId) |
static short | getRingIndex (DetId aDetId) |
Retrieve the phi-ring index corresponding to a DetId. More... | |
static void | setCaloGeometry (const CaloGeometry *geometry) |
Static Public Attributes | |
static constexpr short | N_MODULES_BARREL = 144 |
static constexpr short | N_RING_BARREL = 170 |
static constexpr short | N_RING_ENDCAP = 78 |
static constexpr short | N_RING_TOTAL = 248 |
Static Private Member Functions | |
static void | initializeFromGeometry (CaloGeometry const *geometry) |
Static Private Attributes | |
static short | endcapRingIndex_ [EEDetId::IX_MAX][EEDetId::IY_MAX] |
static std::atomic< bool > | isInitializedFromGeometry_ |
static std::once_flag | once_ |
Definition at line 23 of file EcalRingCalibrationTools.h.
|
inline |
Definition at line 25 of file EcalRingCalibrationTools.h.
|
inline |
Definition at line 26 of file EcalRingCalibrationTools.h.
|
static |
Definition at line 102 of file EcalRingCalibrationTools.cc.
References hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, isInitializedFromGeometry_, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::IX_MAX, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), EEDetId::IY_MAX, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EBDetId::validDetId(), EEDetId::validDetId(), and ecaldqm::zside().
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Definition at line 125 of file EcalRingCalibrationTools.cc.
References gather_cfg::cout, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, N_MODULES_BARREL, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm().
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Retrieve the DetIds in a phi-ring.
Definition at line 66 of file EcalRingCalibrationTools.cc.
References endcapRingIndex_, hcalRecHitTable_cff::iphi, isInitializedFromGeometry_, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::IX_MAX, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), EEDetId::IY_MAX, isotrackApplyRegressor::k, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, N_RING_BARREL, N_RING_ENDCAP, N_RING_TOTAL, EBDetId::validDetId(), and ecaldqm::zside().
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Definition at line 49 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EBDetId::im(), EBDetId::ism(), and callgraph::module.
Referenced by calib::CalibElectron::getCalibModulesWeights().
|
static |
Retrieve the phi-ring index corresponding to a DetId.
Definition at line 24 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, runTauDisplay::eid, endcapRingIndex_, hcalRecHitTable_cff::ieta, EBDetId::ieta(), isInitializedFromGeometry_, N_RING_BARREL, and N_RING_ENDCAP.
Referenced by calib::CalibElectron::getCalibModulesWeights(), EcalPhiSymRecHitProducerBase::initializeConfigCache(), EcalPhiSymRecHitProducerBase::initializePhiSymCache(), PFRecHitQTestECALMultiThreshold::pass(), and EcalPhiSymRecHitProducerBase::processEvent().
|
staticprivate |
Definition at line 185 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, endcapRingIndex_, unpacker2007h4_cff::ics, isInitializedFromGeometry_, EEDetId::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::IX_MAX, EEDetId::iy(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), EEDetId::IY_MAX, N_RING_ENDCAP, relativeConstraints::ring, and EEDetId::zside().
Referenced by setCaloGeometry().
|
static |
Definition at line 181 of file EcalRingCalibrationTools.cc.
References initializeFromGeometry(), and once_.
Referenced by PFRecHitQTestECALMultiThreshold::beginEvent(), ZeeCalibration::duringLoop(), HLTEcalPhiSymFilter::filter(), and EcalPhiSymRecHitProducerBase::initializeConfigCache().
|
staticprivate |
Definition at line 52 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
staticprivate |
Definition at line 49 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInECAL(), getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
static |
Definition at line 42 of file EcalRingCalibrationTools.h.
Referenced by calib::CalibElectron::getCalibModulesWeights(), getDetIdsInModule(), and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFit().
|
static |
Definition at line 39 of file EcalRingCalibrationTools.h.
Referenced by HLTEcalPhiSymFilter::filter(), getDetIdsInRing(), and getRingIndex().
|
static |
Definition at line 40 of file EcalRingCalibrationTools.h.
Referenced by HLTEcalPhiSymFilter::filter(), getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
static |
Definition at line 38 of file EcalRingCalibrationTools.h.
Referenced by calib::CalibElectron::getCalibModulesWeights(), getDetIdsInRing(), PFRecHitQTestECALMultiThreshold::PFRecHitQTestECALMultiThreshold(), and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFit().
|
staticprivate |
Definition at line 54 of file EcalRingCalibrationTools.h.
Referenced by setCaloGeometry().