Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
void | fillDB () |
void | getGainsPedsFromHistos (uint32_t detid, int rocId, int index, std::vector< double > &peds, std::vector< double > &gains, std::map< int, int > &myindxmap, int nrocs) |
void | getHistos () |
void | setDummyFullPlane (std::vector< float > &peds, std::vector< float > &gains, int npixplane) |
Private Attributes | |
std::map< uint32_t, std::vector< std::string > > | detidHistoNameMap |
std::map< uint32_t, std::vector< int > > | detidROCsPresent |
double | gainhigh |
double | gainlow |
std::string | m_inputHistosFileName |
TFile * | m_inputRootFile |
std::string | m_record |
bool | m_usedummy |
int | npfitmin |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 26 of file WriteCTPPSPixGainCalibrations.cc.
|
explicit |
Definition at line 65 of file WriteCTPPSPixGainCalibrations.cc.
|
override |
Definition at line 73 of file WriteCTPPSPixGainCalibrations.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 83 of file WriteCTPPSPixGainCalibrations.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 88 of file WriteCTPPSPixGainCalibrations.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 91 of file WriteCTPPSPixGainCalibrations.cc.
References fillDB(), and getHistos().
|
private |
Definition at line 190 of file WriteCTPPSPixGainCalibrations.cc.
References cond::service::PoolDBOutputService::currentTime(), detidROCsPresent, getGainsPedsFromHistos(), mps_fire::i, edm::Service< T >::isAvailable(), dqmdumpme::k, m_record, genParticles_cff::map, DeadROCCounter::nrocs, CTPPSPixelGainCalibration::putData(), PixelMapPlotter::rocs, setDummyFullPlane(), CTPPSPixelGainCalibrations::setGainCalibration(), and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by endJob().
|
static |
Definition at line 97 of file WriteCTPPSPixGainCalibrations.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 251 of file WriteCTPPSPixGainCalibrations.cc.
References detidHistoNameMap, gainhigh, ecalph2::gains, m_inputRootFile, m_usedummy, hgcalPlots::ncols, npfitmin, DeadROCCounter::nrocs, AlCaHLTBitMon_QueryRunRegistry::string, and CTPPSPixelIndices::transformToModule().
Referenced by fillDB().
|
private |
Definition at line 105 of file WriteCTPPSPixGainCalibrations.cc.
References protons_cff::arm, detidHistoNameMap, detidROCsPresent, mps_fire::i, m_inputHistosFileName, m_inputRootFile, DetId::rawId(), PixelMapPlotter::roc, hgcalTBTopologyTester_cfi::sector, relativeConstraints::station, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by endJob().
|
private |
Definition at line 242 of file WriteCTPPSPixGainCalibrations.cc.
References ecalph2::gains, and mps_fire::i.
Referenced by fillDB().
|
private |
Definition at line 54 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos(), and getHistos().
|
private |
Definition at line 59 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by fillDB(), and getHistos().
|
private |
Definition at line 52 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos().
|
private |
Definition at line 52 of file WriteCTPPSPixGainCalibrations.cc.
|
private |
Definition at line 49 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getHistos().
|
private |
Definition at line 53 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos(), and getHistos().
|
private |
Definition at line 48 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by fillDB().
|
private |
Definition at line 50 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos().
|
private |
Definition at line 51 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos().