#include <CalibTracker/SiPixelGainCalibrationReadDQMFile/src/SiPixelGainCalibrationReadDQMFile.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) final |
void | fillDatabase (const edm::EventSetup &iSetup, TFile *) |
std::unique_ptr< TFile > | getHistograms () |
Private Attributes | |
const bool | appendMode_ |
const double | badchi2_ |
std::map< uint32_t, std::map < std::string, TString > > | bookkeeper_ |
std::unique_ptr< TH2F > | defaultChi2_ |
std::unique_ptr< TH2F > | defaultFitResult_ |
std::unique_ptr< TH2F > | defaultGain_ |
std::unique_ptr< TH2F > | defaultPed_ |
float | gainhi_ |
float | gainlow_ |
float | gainmax_ |
std::unique_ptr< TH1F > | meanGainHist_ |
std::map< uint32_t, std::map < double, double > > | Meankeeper_ |
std::unique_ptr< TH1F > | meanPedHist_ |
const size_t | nmaxcols |
const size_t | nmaxrows |
std::map< uint32_t, std::vector< std::map< int, int > > > | noisyPixelsKeeper_ |
const edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | pddToken_ |
float | pedhi_ |
float | pedlow_ |
float | pedmax_ |
const std::string | record_ |
const std::string | rootfilestring_ |
SiPixelGainCalibrationService | theGainCalibrationDbInputService_ |
const bool | usemeanwhenempty_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 58 of file SiPixelGainCalibrationReadDQMFile.cc.
|
explicit |
Definition at line 523 of file SiPixelGainCalibrationReadDQMFile.cc.
References defaultChi2_, defaultFitResult_, defaultGain_, defaultPed_, gainmax_, TFileService::kSharedResource, meanGainHist_, meanPedHist_, nmaxcols, nmaxrows, and pedmax_.
|
finalprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 585 of file SiPixelGainCalibrationReadDQMFile.cc.
References fillDatabase(), edm::EventSetup::get(), and getHistograms().
|
private |
Definition at line 96 of file SiPixelGainCalibrationReadDQMFile.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), bookkeeper_, HLT_FULL_cff::chi2, cond::service::PoolDBOutputService::createOneIOV(), cond::service::PoolDBOutputService::currentTime(), defaultChi2_, defaultFitResult_, defaultGain_, defaultPed_, TrackerGeometry::dets(), compareTotals::fs, gainhi_, gainlow_, gainmax_, edm::EventSetup::getData(), SiPixelGainCalibrationForHLT::getNumberOfRowsToAverageOver(), SiPixelGainCalibrationOffline::getNumberOfRowsToAverageOver(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), TFileService::make(), meanGainHist_, meanPedHist_, PixelTopology::ncolumns(), nmaxcols, nmaxrows, PixelTopology::nrows(), pddToken_, pedhi_, pedlow_, pedmax_, SiPixelGainCalibrationOffline::put(), SiPixelGainCalibration::put(), SiPixelGainCalibrationForHLT::put(), sistrip::SpyUtilities::range(), record_, edm::second(), SiPixelGainCalibration::setData(), SiPixelGainCalibrationForHLT::setData(), SiPixelGainCalibrationOffline::setDataGain(), SiPixelGainCalibrationOffline::setDataPedestal(), SiPixelGainCalibrationForHLT::setDeadColumn(), SiPixelGainCalibrationOffline::setDeadColumn(), SiPixelGainCalibration::setDeadPixel(), SiPixelGainCalibrationOffline::setDeadPixel(), PixelGeomDetUnit::specificTopology(), groupFilesInBlocks::temp, MainPageGenerator::tree, and usemeanwhenempty_.
Referenced by analyze().
|
private |
Definition at line 591 of file SiPixelGainCalibrationReadDQMFile.cc.
References bookkeeper_, DeadROC_duringRun::dir, HILowLumiHLTOfflineSource_cfi::dirname, gainhi_, gainlow_, mps_fire::i, meanGainHist_, meanPedHist_, pedhi_, pedlow_, pedmax_, rootfilestring_, and hgcalPerformanceValidation::val.
Referenced by analyze().
|
private |
Definition at line 72 of file SiPixelGainCalibrationReadDQMFile.cc.
|
private |
Definition at line 91 of file SiPixelGainCalibrationReadDQMFile.cc.
|
private |
Definition at line 68 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and getHistograms().
|
private |
Definition at line 77 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 78 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 75 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 76 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 84 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and getHistograms().
|
private |
Definition at line 83 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and getHistograms().
|
private |
Definition at line 89 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 79 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), getHistograms(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 69 of file SiPixelGainCalibrationReadDQMFile.cc.
|
private |
Definition at line 80 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), getHistograms(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 92 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 93 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 70 of file SiPixelGainCalibrationReadDQMFile.cc.
|
private |
Definition at line 73 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase().
|
private |
Definition at line 86 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and getHistograms().
|
private |
Definition at line 85 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), and getHistograms().
|
private |
Definition at line 90 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase(), getHistograms(), and SiPixelGainCalibrationReadDQMFile().
|
private |
Definition at line 81 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase().
|
private |
Definition at line 88 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by getHistograms().
|
private |
Definition at line 74 of file SiPixelGainCalibrationReadDQMFile.cc.
|
private |
Definition at line 87 of file SiPixelGainCalibrationReadDQMFile.cc.
Referenced by fillDatabase().