#include <SiStripQualityHotStripIdentifier.h>
Public Member Functions | |
SiStripQualityHotStripIdentifier (const edm::ParameterSet &) | |
~SiStripQualityHotStripIdentifier () | |
Public Member Functions inherited from ConditionDBWriter< SiStripBadStrip > | |
ConditionDBWriter (const edm::ParameterSet &iConfig) | |
virtual | ~ConditionDBWriter () |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | algoAnalyze (const edm::Event &, const edm::EventSetup &) |
void | algoBeginJob (const edm::EventSetup &) |
void | algoBeginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
void | algoBeginRun (const edm::Run &, const edm::EventSetup &) |
void | algoEndJob () |
void | bookHistos () |
void | fillHisto (uint32_t detid, float value) |
SiStripBadStrip * | getNewObject () |
void | resetHistos () |
Private Attributes | |
edm::InputTag | Cluster_src_ |
SiStrip::QualityHistosMap | ClusterPositionHistoMap |
const edm::ParameterSet | conf_ |
std::string | dataLabel_ |
edm::FileInPath | fp_ |
unsigned long long | m_cacheID_ |
unsigned short | MaxClusterWidth_ |
unsigned short | MinClusterWidth_ |
SiStripDetInfoFileReader * | reader |
edm::ESHandle< SiStripQuality > | SiStripQuality_ |
edm::InputTag | Track_src_ |
bool | tracksCollection_in_EventTree |
const TrackerTopology * | tTopo |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from ConditionDBWriter< SiStripBadStrip > | |
void | setDoStore (const bool doStore) |
When set to false the payload will not be written to the db. More... | |
void | storeOnDbNow () |
cond::Time_t | timeOfLastIOV () |
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) |
Definition at line 22 of file SiStripQualityHotStripIdentifier.h.
|
explicit |
Definition at line 21 of file SiStripQualityHotStripIdentifier.cc.
References bookHistos(), fp_, edm::FileInPath::fullPath(), edm::ParameterSet::getUntrackedParameter(), MaxClusterWidth_, MinClusterWidth_, TrackValidation_cff::pset, reader, and OfflineSiStripConfigDb_cff::SiStripDetInfoFileReader.
SiStripQualityHotStripIdentifier::~SiStripQualityHotStripIdentifier | ( | ) |
Definition at line 40 of file SiStripQualityHotStripIdentifier.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 144 of file SiStripQualityHotStripIdentifier.cc.
References edm::DetSetVector< T >::begin(), SiStripRecHit2D::cluster(), Cluster_src_, edm::DetSetVector< T >::end(), fillHisto(), spr::find(), edm::Event::getByLabel(), i, edm::isDebugEnabled(), edm::HandleBase::isValid(), TrackingRecHit::isValid(), LogTrace, MaxClusterWidth_, SiStripMatchedRecHit2D::monoCluster(), ProjectedSiStripRecHit2D::originalHit(), edm::Handle< T >::product(), edm::DetSet< T >::size(), findQualityFiles::size, contentValuesCheck::ss, SiStripMatchedRecHit2D::stereoCluster(), Track_src_, HLT_FULL_cff::trackCollection, and tracksCollection_in_EventTree.
|
inlineprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 32 of file SiStripQualityHotStripIdentifier.h.
|
inlineprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 36 of file SiStripQualityHotStripIdentifier.h.
References resetHistos().
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 86 of file SiStripQualityHotStripIdentifier.cc.
References dataLabel_, edm::EventSetup::get(), m_cacheID_, edm::ESHandle< class >::product(), resetHistos(), SiStripQuality_, and tTopo.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripBadStrip >.
Definition at line 104 of file SiStripQualityHotStripIdentifier.cc.
References ClusterPositionHistoMap.
|
private |
Definition at line 118 of file SiStripQualityHotStripIdentifier.cc.
References ClusterPositionHistoMap, SiStripDetInfoFileReader::getAllData(), and reader.
Referenced by SiStripQualityHotStripIdentifier().
|
private |
Definition at line 134 of file SiStripQualityHotStripIdentifier.cc.
References ClusterPositionHistoMap.
Referenced by algoAnalyze().
|
privatevirtual |
Implements ConditionDBWriter< SiStripBadStrip >.
Definition at line 43 of file SiStripQualityHotStripIdentifier.cc.
References a, HLT_FULL_cff::AlgoName, ClusterPositionHistoMap, conf_, SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripBadStrip::getDataVectorBegin(), edm::ParameterSet::getParameter(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), edm::ParameterSet::getUntrackedParameter(), getGTfromDQMFile::obj, HLT_FULL_cff::parameters, SiStripBadStrip::put(), SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntries(), SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntriesPerStrip(), SiStripHotStripAlgorithmFromClusterOccupancy::setProbabilityThreshold(), AlCaHarvesting_cff::SiStripQuality, SiStripQuality_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and tTopo.
|
private |
Definition at line 109 of file SiStripQualityHotStripIdentifier.cc.
References ClusterPositionHistoMap.
Referenced by algoBeginLuminosityBlock(), and algoBeginRun().
|
private |
Definition at line 58 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoAnalyze().
|
private |
Definition at line 65 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoEndJob(), bookHistos(), fillHisto(), getNewObject(), and resetHistos().
|
private |
Definition at line 55 of file SiStripQualityHotStripIdentifier.h.
Referenced by getNewObject().
|
private |
Definition at line 53 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoBeginRun().
|
private |
Definition at line 56 of file SiStripQualityHotStripIdentifier.h.
Referenced by SiStripQualityHotStripIdentifier().
|
private |
Definition at line 52 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoBeginRun().
|
private |
Definition at line 63 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoAnalyze(), and SiStripQualityHotStripIdentifier().
|
private |
Definition at line 63 of file SiStripQualityHotStripIdentifier.h.
Referenced by SiStripQualityHotStripIdentifier().
|
private |
Definition at line 57 of file SiStripQualityHotStripIdentifier.h.
Referenced by bookHistos(), and SiStripQualityHotStripIdentifier().
|
private |
Definition at line 54 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoBeginRun(), and getNewObject().
|
private |
Definition at line 59 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoAnalyze().
|
private |
Definition at line 60 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoAnalyze().
|
private |
Definition at line 61 of file SiStripQualityHotStripIdentifier.h.
Referenced by algoBeginRun(), and getNewObject().