#include <SiStripGainsPCLHarvester.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | algoComputeMPVandGain (const MonitorElement *Charge_Vs_Index) |
virtual void | checkAndRetrieveTopology (const edm::EventSetup &setup) |
virtual void | checkBookAPVColls (const edm::EventSetup &setup) |
void | dqmEndJob (DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override |
void | gainQualityMonitor (DQMStore::IBooker &ibooker_, const MonitorElement *Charge_Vs_Index) const |
std::unique_ptr< SiStripApvGain > | getNewObject (const MonitorElement *Charge_Vs_Index) |
void | getPeakOfLandau (TH1 *InputHisto, double *FitResults, double LowRange=50, double HighRange=5400) |
bool | IsGoodLandauFit (double *FitResults) |
bool | produceTagFilter (const MonitorElement *Charge_Vs_Index) |
int | statCollectionFromMode (const char *tag) const |
Private Attributes | |
std::unordered_map< unsigned int, std::shared_ptr< stAPVGain > > | APVsColl |
std::vector< std::shared_ptr< stAPVGain > > | APVsCollOrdered |
unsigned int | BAD |
const TrackerGeometry * | bareTkGeomPtr_ |
int | CalibrationLevel |
bool | doChargeMonitorPerPlane |
bool | doStoreOnDB |
std::vector< std::string > | dqm_tag_ |
unsigned int | GOOD |
std::string | m_calibrationMode |
std::string | m_DQMdir |
std::string | m_Record |
unsigned int | MASKED |
double | MinNrEntries |
int | NPixelDets |
int | NStripAPVs |
double | tagCondition_GoodFrac |
double | tagCondition_NClusters |
edm::ESHandle< TrackerGeometry > | tkGeom_ |
const TrackerTopology * | tTopo_ |
std::vector< std::string > | VChargeHisto |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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 ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, 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) |
Protected Attributes inherited from DQMEDHarvester | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Description: Harvests output of SiStripGainsPCLWorker and creates histograms and Gains Payload
Definition at line 45 of file SiStripGainsPCLHarvester.h.
|
explicit |
Definition at line 37 of file SiStripGainsPCLHarvester.cc.
References CalibrationLevel, doChargeMonitorPerPlane, dqm_tag_, edm::ParameterSet::getUntrackedParameter(), m_calibrationMode, m_DQMdir, m_Record, MinNrEntries, AlCaHLTBitMon_QueryRunRegistry::string, tagCondition_GoodFrac, tagCondition_NClusters, and VChargeHisto.
|
private |
Definition at line 338 of file SiStripGainsPCLHarvester.cc.
References sistrip::APV, APVsColl, BAD, CalibrationLevel, getPeakOfLandau(), GOOD, Exhume::I, mps_fire::i, IsGoodLandauFit(), m_calibrationMode, MASKED, and mps_setup::stdout.
Referenced by dqmEndJob().
|
override |
Definition at line 74 of file SiStripGainsPCLHarvester.cc.
References a, sistrip::APV, APVsCollOrdered, checkAndRetrieveTopology(), checkBookAPVColls(), cmsRelvalreport::exit, edm::EventSetup::get(), SiStripGain::getApvGain(), SiStripGain::getNumberOfTags(), SiStripGain::getRange(), SiStripQuality::IsApvBad(), edm::ESHandleBase::isValid(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, and mps_setup::stdout.
|
privatevirtual |
Definition at line 566 of file SiStripGainsPCLHarvester.cc.
References edm::EventSetup::get(), edm::ESHandle< T >::product(), and tTopo_.
Referenced by beginRun().
|
privatevirtual |
Definition at line 456 of file SiStripGainsPCLHarvester.cc.
References sistrip::APV, APVsColl, APVsCollOrdered, bareTkGeomPtr_, TrackerGeometry::dets(), edm::EventSetup::get(), mps_fire::i, PixelTopology::ncolumns(), NPixelDets, PixelTopology::nrows(), NStripAPVs, StripTopology::nstrips(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), ntupleEnum::SubDet, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, tkGeom_, and StripSubdetector::TOB.
Referenced by beginRun().
|
overrideprivatevirtual |
Implements DQMEDHarvester.
Definition at line 112 of file SiStripGainsPCLHarvester.cc.
References algoComputeMPVandGain(), cond::service::PoolDBOutputService::currentTime(), doStoreOnDB, dqm_tag_, spr::find(), gainQualityMonitor(), DQMStore::IGetter::get(), getNewObject(), edm::Service< T >::isAvailable(), m_calibrationMode, m_DQMdir, m_Record, AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::writeOne().
|
override |
Definition at line 661 of file SiStripGainsPCLHarvester.cc.
|
static |
Definition at line 652 of file SiStripGainsPCLHarvester.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 156 of file SiStripGainsPCLHarvester.cc.
References a, sistrip::APV, APVsCollOrdered, stringResolutionProvider_cfi::bin, DQMStore::IBooker::book1DD(), DQMStore::IBooker::book2DD(), DetId::DetId(), doChargeMonitorPerPlane, MillePedeFileConverter_cfg::e, reco::tau::disc::Eta(), APVGain::FetchMonitor(), MonitorElement::Fill(), plotBeamSpotDB::first, g4SimHits_cfi::Gain, h, mps_fire::i, APVGain::monHnames(), colinearityKinematic::Phi, dttmaxenums::R, edm::second(), DQMStore::IBooker::setCurrentFolder(), ntupleEnum::SubDet, APVGain::subdetectorId(), APVGain::subdetectorPlane(), APVGain::subdetectorSide(), tTopo_, VChargeHisto, and z.
Referenced by dqmEndJob().
|
private |
Definition at line 607 of file SiStripGainsPCLHarvester.cc.
References a, sistrip::APV, APVsCollOrdered, doStoreOnDB, LogDebug, GetRecoTauVFromDQM_MC_cff::obj, and produceTagFilter().
Referenced by dqmEndJob().
|
private |
Definition at line 417 of file SiStripGainsPCLHarvester.cc.
References MinNrEntries.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 445 of file SiStripGainsPCLHarvester.cc.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 575 of file SiStripGainsPCLHarvester.cc.
References BAD, GOOD, funct::integral(), m_calibrationMode, NStripAPVs, tagCondition_GoodFrac, and tagCondition_NClusters.
Referenced by getNewObject().
|
private |
|
private |
Definition at line 97 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and checkBookAPVColls().
|
private |
Definition at line 96 of file SiStripGainsPCLHarvester.h.
Referenced by beginRun(), checkBookAPVColls(), gainQualityMonitor(), and getNewObject().
|
private |
Definition at line 72 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and produceTagFilter().
|
private |
Definition at line 93 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls().
|
private |
Definition at line 90 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and SiStripGainsPCLHarvester().
|
private |
Charge monitor per detector plane
Definition at line 70 of file SiStripGainsPCLHarvester.h.
Referenced by gainQualityMonitor(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 69 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and getNewObject().
|
private |
Definition at line 88 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 71 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and produceTagFilter().
|
private |
Type of statistics for the calibration
Definition at line 85 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), dqmEndJob(), produceTagFilter(), and SiStripGainsPCLHarvester().
|
private |
DQM folder hosting the charge statistics and the monitor plots
Definition at line 84 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 82 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 73 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 80 of file SiStripGainsPCLHarvester.h.
Referenced by getPeakOfLandau(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 79 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls().
|
private |
Definition at line 78 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls(), and produceTagFilter().
|
private |
Definition at line 76 of file SiStripGainsPCLHarvester.h.
Referenced by produceTagFilter(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 75 of file SiStripGainsPCLHarvester.h.
Referenced by produceTagFilter(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 92 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls().
|
private |
Definition at line 94 of file SiStripGainsPCLHarvester.h.
Referenced by checkAndRetrieveTopology(), and gainQualityMonitor().
|
private |
Charge monitor plots to be output
Definition at line 86 of file SiStripGainsPCLHarvester.h.
Referenced by gainQualityMonitor(), and SiStripGainsPCLHarvester().