#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 |
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 | 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_ |
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 8 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References minNevents_, Nevents_, and occupancy_.
|
virtual |
Definition at line 22 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References LogTrace.
|
private |
Definition at line 284 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References 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, SiStripQuality::clear(), SiStripQuality::compact(), gather_cfg::cout, cond::rpcobgas::detid, detrawid, disc, f, SiStripQuality::fillBadComponents(), global_position_x, global_position_y, global_position_z, hotStripsPerAPV, hotstripsperapv, hotStripsPerModule, hotstripspermodule, i, TrackerGeometry::idToDet(), isback, edm::isDebugEnabled(), isexternalstring, isHot, ishot, isstereo, iszminusside, iterativeSearch(), layer_ring, StripTopology::localPosition(), LogTrace, module_position, number_strips, OutFileName_, poissonProb, poissonprob, pQuality, SiStripBadStrip::put(), rodstringpetal, StripGeomDetUnit::specificTopology(), ss, 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 236 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEmptyBins, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_NEntries, SiStripHotStripAlgorithmFromClusterOccupancy::pHisto::_th1f, diffTreeTool::diff, SiStripBadStrip::encode(), python.tagInventory::entries, evaluatePoissonian(), hotstripsperapv, hotstripspermodule, i, edm::isDebugEnabled(), ishot, LogTrace, minNevents_, MinNumEntries_, MinNumEntriesPerStrip_, SiStripMonitorClusterAlca_cfi::Nbins, Nevents_, poissonprob, pQuality, prob_, striphits, and stripoccupancy.
Referenced by extractBadStrips().
|
inline |
Definition at line 63 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References contentValuesFiles::m, and MinNumEntries_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 64 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References contentValuesFiles::m, and MinNumEntriesPerStrip_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
void SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents | ( | double | Nevents | ) |
Definition at line 290 of file SiStripHotStripAlgorithmFromClusterOccupancy.cc.
References edm::isDebugEnabled(), LogTrace, minNevents_, Nevents_, and occupancy_.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 65 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References minNevents_, Nevents_, and occupancy_.
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 prob_.
Referenced by SiStripQualityHotStripIdentifier::getNewObject(), and SiStripQualityHotStripIdentifierRoot::getNewObject().
|
inline |
Definition at line 68 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
References TkGeom.
Referenced by SiStripQualityHotStripIdentifierRoot::getNewObject().
|
private |
Definition at line 118 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 106 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 109 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 103 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), and extractBadStrips().
|
private |
Definition at line 120 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
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 125 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 132 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 126 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 133 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 110 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 111 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 124 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 131 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 114 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 112 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 108 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 91 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntries().
|
private |
Definition at line 92 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), and setMinNumEntriesPerStrip().
|
private |
Definition at line 115 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 93 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by iterativeSearch(), setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 116 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 95 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by setNumberOfEvents(), setOccupancyThreshold(), and SiStripHotStripAlgorithmFromClusterOccupancy().
|
private |
Definition at line 96 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().
|
private |
Definition at line 129 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 101 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 113 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 139 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 117 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 128 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 134 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and iterativeSearch().
|
private |
Definition at line 104 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 107 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 98 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setTrackerGeometry().
|
private |
Definition at line 99 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 105 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips().
|
private |
Definition at line 97 of file SiStripHotStripAlgorithmFromClusterOccupancy.h.
Referenced by extractBadStrips(), and setOutputFileName().