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) |
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 27 of file WriteCTPPSPixGainCalibrations.cc.
|
explicit |
Definition at line 63 of file WriteCTPPSPixGainCalibrations.cc.
|
override |
Definition at line 75 of file WriteCTPPSPixGainCalibrations.cc.
|
overrideprivate |
Definition at line 89 of file WriteCTPPSPixGainCalibrations.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 98 of file WriteCTPPSPixGainCalibrations.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 105 of file WriteCTPPSPixGainCalibrations.cc.
References fillDB(), and getHistos().
|
private |
Definition at line 186 of file WriteCTPPSPixGainCalibrations.cc.
References cond::service::PoolDBOutputService::currentTime(), detidROCsPresent, getGainsPedsFromHistos(), mps_fire::i, edm::Service< T >::isAvailable(), gen::k, m_record, genParticles_cff::map, CTPPSPixelGainCalibration::putData(), setDummyFullPlane(), CTPPSPixelGainCalibrations::setGainCalibration(), and cond::service::PoolDBOutputService::writeOne().
Referenced by endJob().
|
static |
Definition at line 113 of file WriteCTPPSPixGainCalibrations.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 252 of file WriteCTPPSPixGainCalibrations.cc.
References DEFINE_FWK_MODULE, detidHistoNameMap, gainhigh, m_inputRootFile, m_usedummy, hgcalPlots::ncols, npfitmin, AlCaHLTBitMon_QueryRunRegistry::string, and CTPPSPixelIndices::transformToModule().
Referenced by fillDB().
|
private |
Definition at line 123 of file WriteCTPPSPixGainCalibrations.cc.
References detidHistoNameMap, detidROCsPresent, mps_fire::i, m_inputHistosFileName, m_inputRootFile, DetId::rawId(), relativeConstraints::station, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by endJob().
|
private |
Definition at line 242 of file WriteCTPPSPixGainCalibrations.cc.
References mps_fire::i.
Referenced by fillDB().
|
private |
Definition at line 51 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos(), and getHistos().
|
private |
Definition at line 56 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by fillDB(), and getHistos().
|
private |
Definition at line 49 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos().
|
private |
Definition at line 49 of file WriteCTPPSPixGainCalibrations.cc.
|
private |
Definition at line 46 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getHistos().
|
private |
Definition at line 50 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos(), and getHistos().
|
private |
Definition at line 45 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by fillDB().
|
private |
Definition at line 47 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos().
|
private |
Definition at line 48 of file WriteCTPPSPixGainCalibrations.cc.
Referenced by getGainsPedsFromHistos().