#include <CalibTracker/SiStripQuality/src/SiStripHotStripAlgorithmFromClusterOccupancy.cc>
Classes | |
struct | pHisto |
Public Types | |
typedef SiStrip::QualityHistosMap | HistoMap |
Public Member Functions | |
void | extractBadStrips (SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &) |
void | setMinNumEntries (unsigned short m) |
void | setMinNumEntriesPerStrip (unsigned short m) |
void | setNumberOfEvents (double Nevents) |
void | setOccupancyThreshold (long double occupancy) |
void | setOutputFileName (std::string OutputFileName, bool WriteOutputFile) |
void | setProbabilityThreshold (long double prob) |
void | setTrackerGeometry (const TrackerGeometry *tkgeom) |
SiStripHotStripAlgorithmFromClusterOccupancy (const edm::ParameterSet &, const TrackerTopology *) | |
virtual | ~SiStripHotStripAlgorithmFromClusterOccupancy () |
Private Member Functions | |
void | evaluatePoissonian (std::vector< long double > &, long double &meanVal) |
void | iterativeSearch (pHisto &, std::vector< unsigned int > &, int) |
Private Attributes | |
int | apv_channel |
double | avgapvhits [6] |
double | avgAPVHits |
int | detrawid |
int | disc |
TFile * | f |
float | global_position_x |
float | global_position_y |
float | global_position_z |
int | hotstripsperapv [6] |
int | hotStripsPerAPV |
int | hotStripsPerModule |
int | hotstripspermodule |
int | isback |
int | isexternalstring |
int | ishot [768] |
int | isHot |
int | isstereo |
int | iszminusside |
int | layer_ring |
double | medianapvhits [6] |
double | medianAPVHits |
double | minNevents_ |
unsigned short | MinNumEntries_ |
unsigned short | MinNumEntriesPerStrip_ |
int | module_position |
double | Nevents_ |
int | number_strips |
long double | occupancy_ |
std::string | OutFileName_ |
double | poissonprob [768] |
double | poissonProb |
SiStripQuality * | pQuality |
long double | prob_ |
long double | ratio_ |
int | rodstringpetal |
std::stringstream | ss |
int | strip_number |
int | striphits [768] |
int | stripHits |
double | stripoccupancy [768] |
double | stripOccupancy |
TTree * | striptree |
int | subdetid |
const TrackerGeometry * | TkGeom |
const TrackerTopology * | tTopo |
bool | UseInputDB_ |
bool | WriteOutputFile_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 52 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Definition at line 54 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
SiStripHotStripAlgorithmFromClusterOccupancy::SiStripHotStripAlgorithmFromClusterOccupancy | ( | const edm::ParameterSet & | iConfig, |
const TrackerTopology * | theTopo | ||
) |
Definition at line 5 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References minNevents_, Nevents_, and occupancy_.
|
virtual |
Definition at line 19 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References LogTrace.
|
private |
Definition at line 316 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References mps_fire::i.
Referenced by iterativeSearch().
void SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips | ( | SiStripQuality * | OutSiStripQuality, |
HistoMap & | DM, | ||
edm::ESHandle< SiStripQuality > & | InSiStripQuality | ||
) |
Definition at line 24 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEmptyBins, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_SubdetId, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, apv_channel, avgAPVHits, avgapvhits, SiStripQuality::clear(), SiStripQuality::compact(), gather_cfg::cout, detrawid, disc, f, SiStripQuality::fillBadComponents(), global_position_x, global_position_y, global_position_z, hotStripsPerAPV, hotstripsperapv, hotStripsPerModule, hotstripspermodule, mps_fire::i, TrackerGeometry::idToDet(), createfilelist::int, SiStripQuality::IsApvBad(), isback, edm::isDebugEnabled(), isexternalstring, isHot, ishot, isstereo, iszminusside, iterativeSearch(), layer_ring, StripTopology::localPosition(), LogTrace, medianAPVHits, medianapvhits, module_position, number_strips, OutFileName_, poissonProb, poissonprob, pQuality, SiStripBadStrip::put(), FastTimerService_cff::range, rodstringpetal, StripGeomDetUnit::specificTopology(), ss, digitizers_cfi::strip, strip_number, stripHits, striphits, stripOccupancy, stripoccupancy, striptree, DetId::subdetId(), subdetid, StripSubdetector::TEC, TrackerTopology::tecIsBackPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibIsExternalString(), TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZMinusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibString(), StripSubdetector::TID, TrackerTopology::tidIsBackRing(), TrackerTopology::tidIsStereo(), TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidModule(), TrackerTopology::tidRing(), TrackerTopology::tidWheel(), TkGeom, StripSubdetector::TOB, TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZMinusSide(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), TrackerTopology::tobRod(), tTopo, UseInputDB_, WriteOutputFile_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
private |
Definition at line 250 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References avgapvhits, change_name::diff, SiStripBadStrip::encode(), evaluatePoissonian(), timingPdfMaker::histo, hotstripsperapv, hotstripspermodule, mps_fire::i, createfilelist::int, edm::isDebugEnabled(), ishot, LogTrace, pfParticleNetPreprocessParams_cfi::median, medianapvhits, minNevents_, MinNumEntries_, MinNumEntriesPerStrip_, SiStripMonitorCluster_cfi::Nbins, Nevents_, poissonprob, pQuality, prob_, ratio_, striphits, and stripoccupancy.
Referenced by extractBadStrips().
|
inline |
Definition at line 61 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References visualization-live-secondInstance_cfg::m, and MinNumEntries_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 62 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References visualization-live-secondInstance_cfg::m, and MinNumEntriesPerStrip_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
void SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents | ( | double | Nevents | ) |
Definition at line 323 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References edm::isDebugEnabled(), LogTrace, minNevents_, Nevents_, and occupancy_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 63 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References minNevents_, Nevents_, and occupancy_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 68 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References OutFileName_, OutputFileName, rctMonitor_cfi::WriteOutputFile, and WriteOutputFile_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 60 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References TtFullHadEvtBuilder_cfi::prob, and prob_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 72 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References TkGeom.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
private |
Definition at line 121 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 143 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 133 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 109 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 112 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 106 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), ztail.Decoder::follow(), ztail.Decoder::initial_synchronize(), DQMIO2histo.DQMIO::print_index(), electronCompare.flushfile::write(), electronStore.flushfile::write(), and DQMIO2histo.DQMIO::write_to_file().
|
private |
Definition at line 123 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 124 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 125 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 137 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 128 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 129 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 138 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 113 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 114 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 136 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 127 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 117 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 115 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 111 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 142 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 132 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 97 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 94 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntries().
|
private |
Definition at line 95 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntriesPerStrip().
|
private |
Definition at line 118 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 96 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 119 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 98 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 99 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().
|
private |
Definition at line 141 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 134 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 104 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 92 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setProbabilityThreshold().
|
private |
Definition at line 93 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch().
|
private |
Definition at line 116 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 145 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 120 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 140 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 131 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 139 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 130 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 107 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 110 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 101 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setTrackerGeometry().
|
private |
Definition at line 102 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 108 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 100 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().