#include <SiStripGainsPCLHarvester.h>
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 | algoComputeMPVandGain (const MonitorElement *Charge_Vs_Index) |
virtual void | checkBookAPVColls (const edm::EventSetup &setup) |
virtual void | dqmEndJob (DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) |
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 | 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_ |
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 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) |
Description: Harvests output of SiStripGainsPCLWorker and creates histograms and Gains Payload
Definition at line 44 of file SiStripGainsPCLHarvester.h.
|
explicit |
Definition at line 36 of file SiStripGainsPCLHarvester.cc.
References CalibrationLevel, dqm_tag_, edm::ParameterSet::getUntrackedParameter(), m_calibrationMode, m_DQMdir, m_Record, MinNrEntries, AlCaHLTBitMon_QueryRunRegistry::string, tagCondition_GoodFrac, and tagCondition_NClusters.
|
private |
Definition at line 146 of file SiStripGainsPCLHarvester.cc.
References sistrip::APV, APVsColl, BAD, CalibrationLevel, getPeakOfLandau(), GOOD, Exhume::I, mps_fire::i, IsGoodLandauFit(), m_calibrationMode, MASKED, and NULL.
Referenced by dqmEndJob().
|
virtual |
Reimplemented from DQMEDHarvester.
Definition at line 70 of file SiStripGainsPCLHarvester.cc.
References a, sistrip::APV, APVsCollOrdered, checkBookAPVColls(), cmsRelvalreport::exit, edm::EventSetup::get(), SiStripGain::getApvGain(), SiStripGain::getNumberOfTags(), SiStripGain::getRange(), SiStripQuality::IsApvBad(), edm::ESHandleBase::isValid(), PixelSubdetector::PixelBarrel, and PixelSubdetector::PixelEndcap.
|
privatevirtual |
Definition at line 264 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().
|
privatevirtual |
Implements DQMEDHarvester.
Definition at line 107 of file SiStripGainsPCLHarvester.cc.
References algoComputeMPVandGain(), cond::service::PoolDBOutputService::currentTime(), doStoreOnDB, dqm_tag_, spr::find(), DQMStore::IGetter::get(), getNewObject(), edm::Service< T >::isAvailable(), m_calibrationMode, m_DQMdir, m_Record, AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::writeOne().
|
virtual |
Reimplemented from DQMEDHarvester.
Definition at line 460 of file SiStripGainsPCLHarvester.cc.
|
static |
Definition at line 451 of file SiStripGainsPCLHarvester.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 406 of file SiStripGainsPCLHarvester.cc.
References a, sistrip::APV, APVsCollOrdered, doStoreOnDB, LogDebug, NULL, MuonAssociatorByHits_cfi::obj, and produceTagFilter().
Referenced by dqmEndJob().
|
private |
Definition at line 225 of file SiStripGainsPCLHarvester.cc.
References MinNrEntries.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 253 of file SiStripGainsPCLHarvester.cc.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 374 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 88 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and checkBookAPVColls().
|
private |
Definition at line 87 of file SiStripGainsPCLHarvester.h.
Referenced by beginRun(), checkBookAPVColls(), and getNewObject().
|
private |
Definition at line 67 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and produceTagFilter().
|
private |
Definition at line 85 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls().
|
private |
Definition at line 82 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 65 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and getNewObject().
|
private |
Definition at line 80 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 66 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), and produceTagFilter().
|
private |
Definition at line 79 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain(), dqmEndJob(), produceTagFilter(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 78 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 77 of file SiStripGainsPCLHarvester.h.
Referenced by dqmEndJob(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 68 of file SiStripGainsPCLHarvester.h.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 75 of file SiStripGainsPCLHarvester.h.
Referenced by getPeakOfLandau(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 74 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls().
|
private |
Definition at line 73 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls(), and produceTagFilter().
|
private |
Definition at line 71 of file SiStripGainsPCLHarvester.h.
Referenced by produceTagFilter(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 70 of file SiStripGainsPCLHarvester.h.
Referenced by produceTagFilter(), and SiStripGainsPCLHarvester().
|
private |
Definition at line 84 of file SiStripGainsPCLHarvester.h.
Referenced by checkBookAPVColls().