#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 |
double | avgapvhits [6] |
int | detrawid |
int | disc |
TFile * | f |
float | global_position_x |
float | global_position_y |
float | global_position_z |
int | hotStripsPerAPV |
int | hotstripsperapv [6] |
int | hotStripsPerModule |
int | hotstripspermodule |
int | isback |
int | isexternalstring |
int | isHot |
int | ishot [768] |
int | isstereo |
int | iszminusside |
int | layer_ring |
double | medianAPVHits |
double | medianapvhits [6] |
double | minNevents_ |
unsigned short | MinNumEntries_ |
unsigned short | MinNumEntriesPerStrip_ |
int | module_position |
double | Nevents_ |
int | number_strips |
long double | occupancy_ |
std::string | OutFileName_ |
double | poissonProb |
double | poissonprob [768] |
SiStripQuality * | pQuality |
long double | prob_ |
long double | ratio_ |
int | rodstringpetal |
std::stringstream | ss |
int | strip_number |
int | stripHits |
int | striphits [768] |
double | stripOccupancy |
double | stripoccupancy [768] |
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 55 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
SiStripHotStripAlgorithmFromClusterOccupancy::SiStripHotStripAlgorithmFromClusterOccupancy | ( | const edm::ParameterSet & | iConfig, |
const TrackerTopology * | theTopo | ||
) |
Definition at line 7 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References minNevents_, Nevents_, and occupancy_.
|
virtual |
Definition at line 22 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References LogTrace.
|
private |
Definition at line 299 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 26 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(), 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(), SiStripQualityHotStripIdentifierRoot::getNewObject(), and setTrackerGeometry().
|
private |
Definition at line 240 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEmptyBins, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, avgapvhits, diffTreeTool::diff, SiStripBadStrip::encode(), evaluatePoissonian(), hotstripsperapv, hotstripspermodule, mps_fire::i, createfilelist::int, edm::isDebugEnabled(), ishot, LogTrace, pfParticleNetPreprocessParams_cfi::median, medianapvhits, minNevents_, MinNumEntries_, MinNumEntriesPerStrip_, writelibraryfile_cfg::Nbins, Nevents_, poissonprob, pQuality, prob_, ratio_, striphits, and stripoccupancy.
Referenced by extractBadStrips().
|
inline |
Definition at line 63 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References funct::m, and MinNumEntries_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 64 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References funct::m, and MinNumEntriesPerStrip_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
void SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents | ( | double | Nevents | ) |
Definition at line 305 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References edm::isDebugEnabled(), LogTrace, minNevents_, Nevents_, and occupancy_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject(), and setOccupancyThreshold().
|
inline |
Definition at line 65 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References minNevents_, Nevents_, occupancy_, and setNumberOfEvents().
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 67 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References OutFileName_, OutputFileName, and WriteOutputFile_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 62 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References TtFullHadEvtBuilder_cfi::prob, and prob_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 68 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References extractBadStrips(), and TkGeom.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
private |
Definition at line 119 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 131 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 141 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
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 104 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), extractBadStrips(), and ztail.Decoder::initial_synchronize().
|
private |
Definition at line 121 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 122 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 123 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 126 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 135 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 136 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 111 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 112 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 125 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 134 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 115 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 113 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 109 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 130 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 95 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 92 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntries().
|
private |
Definition at line 93 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntriesPerStrip().
|
private |
Definition at line 116 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 94 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 117 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 96 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 97 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().
|
private |
Definition at line 132 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 102 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 90 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setProbabilityThreshold().
|
private |
Definition at line 91 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch().
|
private |
Definition at line 114 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 144 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 118 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 128 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 105 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 108 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 99 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setTrackerGeometry().
|
private |
Definition at line 100 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 106 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 98 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().